SPECS: flac.spec - added without static_libs bcond

charles charles at pld-linux.org
Mon May 1 02:05:44 CEST 2006


Author: charles                      Date: Mon May  1 00:05:44 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added without static_libs bcond

---- Files affected:
SPECS:
   flac.spec (1.45 -> 1.46) 

---- Diffs:

================================================================
Index: SPECS/flac.spec
diff -u SPECS/flac.spec:1.45 SPECS/flac.spec:1.46
--- SPECS/flac.spec:1.45	Sun May 15 21:17:22 2005
+++ SPECS/flac.spec	Mon May  1 02:05:39 2006
@@ -2,7 +2,8 @@
 # maybe TODO: split (c++, ogg?)
 #
 # Conditional build:
-%bcond_without	xmms	# don't build XMMS plugin
+%bcond_without	static_libs	# don't build static library
+%bcond_without	xmms		# don't build XMMS plugin
 #
 Summary:	Free Lossless Audio Codec
 Summary(pl):	Free Lossless Audio Codec - Wolnodostępny bezstratny kodek audio
@@ -82,7 +83,8 @@
 %{__aclocal}
 %{__autoconf}
 %{__automake}
-%configure
+%configure \
+	%{!?with_static_libs:--disable-static}
 
 %{__make}
 
@@ -117,9 +119,11 @@
 %{_includedir}/*
 %{_aclocaldir}/*
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/lib*.a
+%endif
 
 %if %{with xmms}
 %files -n xmms-input-flac
@@ -133,6 +137,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.46  2006/05/01 00:05:39  charles
+- added without static_libs bcond
+
 Revision 1.45  2005/05/15 19:17:22  adamg
 - release 4 for Th
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/flac.spec?r1=1.45&r2=1.46&f=u



More information about the pld-cvs-commit mailing list