SPECS: faac.spec - without static_libs bcond

charles charles at pld-linux.org
Thu Aug 24 17:57:41 CEST 2006


Author: charles                      Date: Thu Aug 24 15:57:41 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- without static_libs bcond

---- Files affected:
SPECS:
   faac.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SPECS/faac.spec
diff -u SPECS/faac.spec:1.8 SPECS/faac.spec:1.9
--- SPECS/faac.spec:1.8	Wed Aug 23 23:31:56 2006
+++ SPECS/faac.spec	Thu Aug 24 17:57:36 2006
@@ -1,7 +1,8 @@
 # $Revision$, $Date$
 #
 # Conditional build:
-%bcond_without	mpeg4ip	# without MPEG4 support in frontend (which requires mpeg4ip)
+%bcond_without	mpeg4ip		# without MPEG4 support in frontend (which requires mpeg4ip)
+%bcond_without	static_libs	# don't build static libraries
 #
 Summary:	Freeware Advanced Audio Codec
 Summary(pl):	Freeware Advanced Audio Codec - darmowy zaawansowany kodek dźwięku
@@ -83,7 +84,8 @@
 %{__autoheader}
 %{__automake}
 %configure \
-	%{!?with_mpeg4ip:--without-mp4v2}
+	%{!?with_mpeg4ip:--without-mp4v2} \
+	%{!?with_static_libs:--disable-static}
 %{__make}
 
 %install
@@ -114,9 +116,11 @@
 %{_libdir}/lib*.la
 %{_includedir}/*.h
 
+%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
@@ -124,6 +128,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2006/08/24 15:57:36  charles
+- without static_libs bcond
+
 Revision 1.8  2006/08/23 21:31:56  qboosh
 - updated to 1.25, updated link patch, removed obsolete force_to_use_without-mp4v2 patch
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/faac.spec?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list