SPECS: xosd.spec, gdk-pixbuf.spec - added bcond_without static_libs

witekfl witekfl at pld-linux.org
Wed Aug 22 21:15:57 CEST 2007


Author: witekfl                      Date: Wed Aug 22 19:15:57 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added bcond_without static_libs

---- Files affected:
SPECS:
   xosd.spec (1.66 -> 1.67) , gdk-pixbuf.spec (1.96 -> 1.97) 

---- Diffs:

================================================================
Index: SPECS/xosd.spec
diff -u SPECS/xosd.spec:1.66 SPECS/xosd.spec:1.67
--- SPECS/xosd.spec:1.66	Mon Feb 12 23:09:25 2007
+++ SPECS/xosd.spec	Wed Aug 22 21:15:52 2007
@@ -1,7 +1,8 @@
 # $Revision$, $Date$
 #
 # Conditional build:
-%bcond_without	xmms	# without XMMS plugin
+%bcond_without	static_libs	# don't build static libraries
+%bcond_without	xmms		# without XMMS plugin
 #
 Summary:	On Screen Display (like in TV) for X11
 Summary(es.UTF-8):	Subtítulos (como en la tele) para X11
@@ -117,7 +118,8 @@
 %{__automake}
 %configure \
 	%{?with_xmms:--with-plugindir=%{xmms_general_plugindir}} \
-	%{!?with_xmms:--disable-new-plugin}
+	%{!?with_xmms:--disable-new-plugin} \
+	%{!?with_static_libs:--disable-static}
 
 %{__make}
 
@@ -155,9 +157,11 @@
 %{_mandir}/man3/*.3*
 %{_mandir}/man1/xosd-config.1*
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libxosd.a
+%endif
 
 %if %{with xmms}
 %files -n xmms-general-xosd
@@ -173,6 +177,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.67  2007/08/22 19:15:52  witekfl
+- added bcond_without static_libs
+
 Revision 1.66  2007/02/12 22:09:25  glen
 - tabs in preamble
 

================================================================
Index: SPECS/gdk-pixbuf.spec
diff -u SPECS/gdk-pixbuf.spec:1.96 SPECS/gdk-pixbuf.spec:1.97
--- SPECS/gdk-pixbuf.spec:1.96	Tue Feb 13 08:16:45 2007
+++ SPECS/gdk-pixbuf.spec	Wed Aug 22 21:15:52 2007
@@ -1,7 +1,8 @@
 # $Revision$, $Date$
 #
 # Conditional build:
-%bcond_without	gnome1	# build without libgnomecanvaspixbuf (which requires GNOME)
+%bcond_without	gnome1		# build without libgnomecanvaspixbuf (which requires GNOME)
+%bcond_without	static_libs	# don't build static libraries
 #
 Summary:	Image loading library used with GNOME
 Summary(ko.UTF-8):	그놈에서 사용되는 그림 읽기 라이브러리
@@ -190,7 +191,8 @@
 %configure \
 	--disable-gtk-doc \
 	--with-html-dir=%{_gtkdocdir} \
-	%{!?with_gnome1:--without-gnome}
+	%{!?with_gnome1:--without-gnome} \
+	%{!?with_static_libs:--disable-static}
 
 %{__make} \
 	AS="%{__cc}"
@@ -240,9 +242,11 @@
 %{_gtkdocdir}/gdk-pixbuf-1.0/[!g]*
 %{_gtkdocdir}/gdk-pixbuf-1.0/g[!n]*
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libgdk*.a
+%endif
 
 %if %{with gnome1}
 %files gnome
@@ -257,10 +261,12 @@
 %{_includedir}/gdk-pixbuf-1.0/gdk-pixbuf/gnome*.h
 %{_gtkdocdir}/gdk-pixbuf-1.0/gnome*
 
+%if %{with static_libs}
 %files gnome-static
 %defattr(644,root,root,755)
 %{_libdir}/libgnome*.a
 %endif
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -268,6 +274,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.97  2007/08/22 19:15:52  witekfl
+- added bcond_without static_libs
+
 Revision 1.96  2007/02/13 07:16:45  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/xosd.spec?r1=1.66&r2=1.67&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/gdk-pixbuf.spec?r1=1.96&r2=1.97&f=u



More information about the pld-cvs-commit mailing list