- Split static library into libbsd-ctor-static package.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libbsd?expand=0&rev=18
This commit is contained in:
Ismail Dönmez 2015-12-28 14:13:51 +00:00 committed by Git OBS Bridge
parent 11ffb50c4a
commit 77ad1c24de
2 changed files with 22 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Dec 28 14:13:16 UTC 2015 - idonmez@suse.com
- Split static library into libbsd-ctor-static package.
-------------------------------------------------------------------
Sat Dec 26 16:57:51 UTC 2015 - mpluskal@suse.com

View File

@ -62,6 +62,17 @@ lacking on others like GNU systems, thus making it easier to port projects
with strong BSD origins, without needing to embed the same code over and
over again on each project.
%package ctor-static
Summary: Development headers and files for libbsd
Group: Development/Libraries
Requires: libbsd = %{version}-%{release}
Requires: pkgconfig
%description ctor-static
The libbsd-ctor static library is required if setproctitle() is to be used
when libbsd is loaded via dlopen() from a threaded program. This can be
configured using "pkg-config --libs libbsd-ctor".
%prep
%setup -q
@ -89,8 +100,12 @@ find %{buildroot}%{_libdir} -type f -name "*.la" -delete -print
%defattr(-,root,root)
%{_includedir}/bsd
%{_libdir}/libbsd.so
%{_libdir}/libbsd-ctor.a
%{_mandir}/man3/*
%{_libdir}/pkgconfig/*.pc
%{_libdir}/pkgconfig/libbsd.pc
%{_libdir}/pkgconfig/libbsd-overlay.pc
%files ctor-static
%{_libdir}/%{name}-ctor.a
%{_libdir}/pkgconfig/%{name}-ctor.pc
%changelog