SPECS: gtk+2.spec - added bcond_without static_libs

witekfl witekfl at pld-linux.org
Thu Jun 16 19:35:49 CEST 2005


Author: witekfl                      Date: Thu Jun 16 17:35:49 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added bcond_without static_libs

---- Files affected:
SPECS:
   gtk+2.spec (1.177 -> 1.178) 

---- Diffs:

================================================================
Index: SPECS/gtk+2.spec
diff -u SPECS/gtk+2.spec:1.177 SPECS/gtk+2.spec:1.178
--- SPECS/gtk+2.spec:1.177	Thu Jun 16 12:23:57 2005
+++ SPECS/gtk+2.spec	Thu Jun 16 19:35:44 2005
@@ -3,6 +3,7 @@
 # Conditional build:
 %bcond_without	doc		# disable gtk-doc
 %bcond_without	menushadow	# disable menu shadow feature
+%bcond_without	static_libs	# don't build static libarary
 %bcond_with	xlibs		# use pkgconfig to find libX11
 #
 Summary:	The Gimp Toolkit
@@ -160,7 +161,8 @@
 	--enable-static \
 	--with-gdktarget=x11 \
 	--with-html-dir=%{_gtkdocdir} \
-	--with-xinput=yes
+	--with-xinput=yes \
+	%{!?with_static_libs:--disable-static}
 %{__make}
 
 %install
@@ -258,9 +260,11 @@
 %{?with_doc:%{_gtkdocdir}/*}
 %{_examplesdir}/%{name}-%{version}
 
+%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
@@ -268,6 +272,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.178  2005/06/16 17:35:44  witekfl
+- added bcond_without static_libs
+
 Revision 1.177  2005/06/16 10:23:57  freetz
 - 2.6.8
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gtk+2.spec?r1=1.177&r2=1.178&f=u




More information about the pld-cvs-commit mailing list