SPECS: libao.spec - added bcond_without static

witekfl witekfl at pld-linux.org
Tue Jun 14 21:39:58 CEST 2005


Author: witekfl                      Date: Tue Jun 14 19:39:58 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added bcond_without static

---- Files affected:
SPECS:
   libao.spec (1.53 -> 1.54) 

---- Diffs:

================================================================
Index: SPECS/libao.spec
diff -u SPECS/libao.spec:1.53 SPECS/libao.spec:1.54
--- SPECS/libao.spec:1.53	Sat Jan 22 11:15:25 2005
+++ SPECS/libao.spec	Tue Jun 14 21:39:53 2005
@@ -5,6 +5,7 @@
 %bcond_without	arts		# don't build aRts plugin
 %bcond_without	nas 		# don't build NAS plugin
 %bcond_without	polypaudio	# don't build Polypaudio plugin
+%bcond_without	static	# don't build static library
 #
 Summary:	Cross Platform Audio Output Library
 Summary(es):	Biblioteca libao
@@ -185,7 +186,8 @@
 %if %{without polypaudio}
 	--disable-polyp \
 %endif
-	--enable-static
+	--enable-static \
+	%{!?with_static:--disable-static}
 
 %{__make}
 
@@ -222,9 +224,11 @@
 %{_aclocaldir}/ao.m4
 %{_pkgconfigdir}/*.pc
 
+%if %{with static}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/lib*.a
+%endif
 
 %if %{with alsa}
 %files alsa
@@ -260,6 +264,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.54  2005/06/14 19:39:53  witekfl
+- added bcond_without static
+
 Revision 1.53  2005/01/22 10:15:25  qboosh
 - updated to 0.8.6, updated URLs, removed obsolete am18 patch
 - added polyp subpackage (with Polypaudio plugin)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libao.spec?r1=1.53&r2=1.54&f=u




More information about the pld-cvs-commit mailing list