SPECS: fsplib.spec - added bcond without static_libs

witekfl witekfl at pld-linux.org
Tue Jun 14 16:15:01 CEST 2005


Author: witekfl                      Date: Tue Jun 14 14:15:01 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added bcond without static_libs

---- Files affected:
SPECS:
   fsplib.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/fsplib.spec
diff -u SPECS/fsplib.spec:1.4 SPECS/fsplib.spec:1.5
--- SPECS/fsplib.spec:1.4	Sun May  1 20:02:05 2005
+++ SPECS/fsplib.spec	Tue Jun 14 16:14:56 2005
@@ -1,4 +1,5 @@
 # $Revision$, $Date$
+%bcond_without	static_libs	# don't build static library
 Summary:	fsp library
 Summary(pl):	Biblioteka fsp
 Name:		fsplib
@@ -67,7 +68,8 @@
 %{__autoconf}
 %{__automake}
 %configure \
-	--enable-shared
+	--enable-shared \
+	%{!?with_static_libs:--disable-static}
 %{__make}
 
 %install
@@ -93,9 +95,11 @@
 %{_libdir}/lib*.la
 %{_includedir}/*
 
+%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
@@ -103,6 +107,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2005/06/14 14:14:56  witekfl
+- added bcond without static_libs
+
 Revision 1.4  2005/05/01 18:02:05  glen
 - %description url unification
   find -name '*.spec' | xargs -l1024 sed -i -e 's#\(http://.\+/\) \.#<\1>.#g'
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/fsplib.spec?r1=1.4&r2=1.5&f=u




More information about the pld-cvs-commit mailing list