SPECS (AC-branch): poldek.spec - added BR for statically linked po...

pzurowski pzurowski at pld-linux.org
Tue Oct 18 00:08:49 CEST 2005


Author: pzurowski                    Date: Mon Oct 17 22:08:49 2005 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- added BR for statically linked poldek
- bcoded out libs subpackage in statically linked poldek
- bcoded out *so in devel subpackage in statically linked poldek (maybe bcond out whole devel subpackage)

---- Files affected:
SPECS:
   poldek.spec (1.197.2.46 -> 1.197.2.47) 

---- Diffs:

================================================================
Index: SPECS/poldek.spec
diff -u SPECS/poldek.spec:1.197.2.46 SPECS/poldek.spec:1.197.2.47
--- SPECS/poldek.spec:1.197.2.46	Mon Oct 10 19:10:40 2005
+++ SPECS/poldek.spec	Tue Oct 18 00:08:44 2005
@@ -42,6 +42,7 @@
 BuildRequires:	db-static >= %{ver_db}
 BuildRequires:	glibc-static
 BuildRequires:	libselinux-static
+BuildRequires:	libxml2-static
 BuildRequires:	ncurses-static
 BuildRequires:	openssl-static
 BuildRequires:	pcre-static
@@ -89,6 +90,7 @@
 
 %{!?with_imode:Ta wersja nie posiada trybu interaktywnego.}
 
+%if %{without static}
 %package libs
 Summary:        poldek libraries
 Summary(pl):    Biblioteki poldka
@@ -99,6 +101,7 @@
 
 %description libs -l pl
 Biblioteki poldka.
+%endif
 
 %package devel
 Summary:        Header files for poldek libraries
@@ -209,8 +212,10 @@
 %postun
 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
+%if %{without static}
 %post	libs -p /sbin/ldconfig
 %postun	libs -p /sbin/ldconfig
+%endif
 
 %triggerpostun -- poldek <= 0.18.3-5
 if [ -f /etc/poldek.conf ]; then
@@ -276,13 +281,15 @@
 %lang(pl) %{_mandir}/pl/man1/%{name}*
 %{_infodir}/poldek.info*
 
+%if %{without static}
 %files libs
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+%endif
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib*.so
+%{!?with_static:%attr(755,root,root) %{_libdir}/lib*.so}
 %{_libdir}/lib*.la
 %{_includedir}/*
 
@@ -296,6 +303,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.197.2.47  2005/10/17 22:08:44  pzurowski
+- added BR for statically linked poldek
+- bcoded out libs subpackage in statically linked poldek
+- bcoded out *so in devel subpackage in statically linked poldek (maybe bcond out whole devel subpackage)
+
 Revision 1.197.2.46  2005/10/10 17:10:40  arekm
 - team is alive again
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/poldek.spec?r1=1.197.2.46&r2=1.197.2.47&f=u




More information about the pld-cvs-commit mailing list