Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:AndreasStieger
libUseful
libUseful.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libUseful.spec of Package libUseful
# # spec file for package libUseful # # Copyright (c) 2024 Andreas Stieger <Andreas.Stieger@gmx.de> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define sosuffix 5 Name: libUseful Version: 5.16 Release: 0 Summary: C library of useful functions License: GPL-3.0-or-later URL: https://github.com/ColumPaget/libUseful/ Source: %{url}archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: fdupes BuildRequires: pkgconfig %description libUseful provides a range of functions that simplify common programming tasks in 'C', particularly networking and communications. It hides the complexities of sockets, openssl, zlib, pseudoterminals, http, etc and provides commonly needed functionality like resizeable strings, linked lists and maps. %package -n %{name}%{sosuffix} Summary: C library of useful functions %description -n %{name}%{sosuffix} libUseful provides a range of functions that simplify common programming tasks in 'C', particularly networking and communications. It hides the complexities of sockets, openssl, zlib, pseudoterminals, http, etc and provides commonly needed functionality like resizeable strings, linked lists and maps. This package contains the share library. %package devel Summary: Development files for libUseful Requires: %{name}%{sosuffix} = %{version} BuildArch: noarch %description devel libUseful provides a range of functions that simplify common programming tasks in 'C', particularly networking and communications. It hides the complexities of sockets, openssl, zlib, pseudoterminals, http, etc and provides commonly needed functionality like resizeable strings, linked lists and maps. This package contains the files required to build programs with libUseful. %prep %autosetup -p1 %build %configure \ --enable-wall \ --enable-harden \ %{nil} %make_build %install %make_install find %{buildroot} -type f,l -name "*.a" -print -delete chmod -x %{buildroot}%{_includedir}/libUseful-%{version}/*.h chmod -x %{buildroot}%{_includedir}/libUseful-5/*.h %fdupes %{buildroot}/%{_prefix} %ldconfig_scriptlets -n %{name}%{sosuffix} %files -n %{name}%{sosuffix} %license LICENCE %doc README.md %{_prefix}%{_sysconfdir}/unicode-names.conf %{_prefix}/lib/libUseful.so.%{sosuffix} %{_prefix}/lib/libUseful.so.%{sosuffix}.* %files devel %license LICENCE %doc examples %{_includedir}/libUseful-%{sosuffix} %{_includedir}/libUseful-%{version} %{_prefix}/lib/libUseful.so %{_prefix}/lib/libUseful-%{sosuffix}.so %{_prefix}/lib/libUseful-%{sosuffix}.*.so %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor