- 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:
parent
11ffb50c4a
commit
77ad1c24de
@ -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
|
||||
|
||||
|
19
libbsd.spec
19
libbsd.spec
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user