SPECS: pulseaudio.spec, SDL.spec - added bcond_without static_libs

witekfl witekfl at pld-linux.org
Sat Aug 18 07:45:57 CEST 2007


Author: witekfl                      Date: Sat Aug 18 05:45:57 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added bcond_without static_libs

---- Files affected:
SPECS:
   pulseaudio.spec (1.27 -> 1.28) , SDL.spec (1.161 -> 1.162) 

---- Diffs:

================================================================
Index: SPECS/pulseaudio.spec
diff -u SPECS/pulseaudio.spec:1.27 SPECS/pulseaudio.spec:1.28
--- SPECS/pulseaudio.spec:1.27	Thu May 31 08:33:44 2007
+++ SPECS/pulseaudio.spec	Sat Aug 18 07:45:52 2007
@@ -13,7 +13,8 @@
 #make[3]: Leaving directory `/home/users/builder/rpm/BUILD/pulseaudio-0.9.6/src'
 #
 # Conditional build:
-%bcond_without	lirc	# without lirc module
+%bcond_without	lirc		# without lirc module
+%bcond_without	static_libs	# don't build static libraries
 #
 Summary:	Modular sound server
 Summary(pl.UTF-8):	Modularny serwer dźwięku
@@ -209,7 +210,8 @@
 %{__autoheader}
 %{__automake}
 %configure \
-	%{!?with_lirc:--disable-lirc}
+	%{!?with_lirc:--disable-lirc} \
+	%{!?with_static_libs:--disable-static}
 %{__make}
 
 %install
@@ -343,6 +345,7 @@
 %{_pkgconfigdir}/libpulse-mainloop-glib.pc
 %{_pkgconfigdir}/libpulse-simple.pc
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libpulse.a
@@ -350,6 +353,7 @@
 %{_libdir}/libpulse-mainloop-glib.a
 %{_libdir}/libpulse-simple.a
 %{_libdir}/libpulsecore.a
+%endif
 
 %files alsa
 %defattr(644,root,root,755)
@@ -384,6 +388,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.28  2007/08/18 05:45:52  witekfl
+- added bcond_without static_libs
+
 Revision 1.27  2007/05/31 06:33:44  glen
 - ac-ppc fails to build :/
 

================================================================
Index: SPECS/SDL.spec
diff -u SPECS/SDL.spec:1.161 SPECS/SDL.spec:1.162
--- SPECS/SDL.spec:1.161	Mon Aug 13 00:06:27 2007
+++ SPECS/SDL.spec	Sat Aug 18 07:45:52 2007
@@ -10,6 +10,7 @@
 %bcond_without	alsa		# without ALSA audio support
 %bcond_without	arts		# without aRts audio support
 %bcond_without	esd		# without EsounD audio support
+%bcond_without	static_libs	# don't build static libraries
 #
 # NOTE: the following libraries are dlopened by soname detected at build time:
 # libasound.so.2
@@ -199,7 +200,8 @@
 	--enable-video-x11-xme \
 	--enable-video-x11-xrandr \
 	--enable-video-x11-xv \
-	--with-x
+	--with-x \
+	%{!?with_static_libs:--disable-static}
 
 %{__make}
 
@@ -239,9 +241,11 @@
 %{_pkgconfigdir}/sdl.pc
 %{_mandir}/man3/*
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libSDL.a
+%endif
 
 %files examples
 %defattr(644,root,root,755)
@@ -253,6 +257,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.162  2007/08/18 05:45:52  witekfl
+- added bcond_without static_libs
+
 Revision 1.161  2007/08/12 22:06:27  qboosh
 - added README-SDL.txt to doc
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/pulseaudio.spec?r1=1.27&r2=1.28&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/SDL.spec?r1=1.161&r2=1.162&f=u



More information about the pld-cvs-commit mailing list