SPECS: GConf2.spec - added bcond_without static_libs

witekfl witekfl at pld-linux.org
Mon Jun 13 21:38:29 CEST 2005


Author: witekfl                      Date: Mon Jun 13 19:38:29 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added bcond_without static_libs

---- Files affected:
SPECS:
   GConf2.spec (1.84 -> 1.85) 

---- Diffs:

================================================================
Index: SPECS/GConf2.spec
diff -u SPECS/GConf2.spec:1.84 SPECS/GConf2.spec:1.85
--- SPECS/GConf2.spec:1.84	Mon Jun 13 18:39:34 2005
+++ SPECS/GConf2.spec	Mon Jun 13 21:38:22 2005
@@ -1,4 +1,5 @@
 # $Revision$, $Date$
+%bcond_without	static_libs	# don't build static libraries
 Summary:	GNOME2 configuration database system
 Summary(pl):	System konfiguracyjnej bazy danych dla GNOME 2
 Summary(pt_BR):	Sistema de Configuraçăo do GNOME 2
@@ -96,6 +97,7 @@
 %{__automake}
 %configure \
 	--with-html-dir=%{_gtkdocdir} \
+	%{!?with_static_libs:--disable-static} \
 %ifarch ppc
 	--disable-gtk-doc
 %else
@@ -147,9 +149,11 @@
 %{_pkgconfigdir}/*.pc
 %{_gtkdocdir}/gconf
 
+%if %{with_static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/lib*.a
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -157,6 +161,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.85  2005/06/13 19:38:22  witekfl
+- added bcond_without static_libs
+
 Revision 1.84  2005/06/13 16:39:34  freetz
 - rel.5 for rebuild with corrected shutdown patch
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/GConf2.spec?r1=1.84&r2=1.85&f=u




More information about the pld-cvs-commit mailing list