SPECS: libfame.spec, libffi.spec, libfpx.spec - added bcond_withou...

witekfl witekfl at pld-linux.org
Wed Jun 15 23:39:31 CEST 2005


Author: witekfl                      Date: Wed Jun 15 21:39:31 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added bcond_without static_libs

---- Files affected:
SPECS:
   libfame.spec (1.27 -> 1.28) , libffi.spec (1.10 -> 1.11) , libfpx.spec (1.35 -> 1.36) 

---- Diffs:

================================================================
Index: SPECS/libfame.spec
diff -u SPECS/libfame.spec:1.27 SPECS/libfame.spec:1.28
--- SPECS/libfame.spec:1.27	Thu May  5 16:34:34 2005
+++ SPECS/libfame.spec	Wed Jun 15 23:39:26 2005
@@ -5,6 +5,9 @@
 # - http://sourceforge.net/tracker/index.php?func=detail&aid=977600&group_id=19741&atid=119741
 # - fix -march forcing in configure.in
 #
+# Conditional build:
+%bcond_without	static_libs	# don't build static library
+#
 Summary:	Fast Assembly Mpeg Encoding library
 Summary(pl):	Szybka biblioteka kodująca MPEG
 Name:		libfame
@@ -70,7 +73,8 @@
 %{__aclocal}
 %{__autoconf}
 %{__automake}
-%configure
+%configure \
+	%{!?with_static_libs:--disable-static}
 %{__make}
 
 %install
@@ -99,9 +103,11 @@
 %{_aclocaldir}/*
 %{_mandir}/man3/*
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/*.a
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -109,6 +115,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.28  2005/06/15 21:39:26  witekfl
+- added bcond_without static_libs
+
 Revision 1.27  2005/05/05 14:34:34  speedy
 - release 2
 - new patch: gcc (fix _mmx_one issue using gcc >3.4)

================================================================
Index: SPECS/libffi.spec
diff -u SPECS/libffi.spec:1.10 SPECS/libffi.spec:1.11
--- SPECS/libffi.spec:1.10	Mon Aug 18 10:08:17 2003
+++ SPECS/libffi.spec	Wed Jun 15 23:39:26 2005
@@ -1,4 +1,7 @@
 # $Revision$, $Date$
+# Conditional build:
+%bcond_without	static_libs	# don't build static library
+#
 Summary:	Foreign Function Interface library
 Summary(pl):	Biblioteka Foreign Function Interface
 Name:		libffi
@@ -92,7 +95,8 @@
 %{__aclocal}
 %{__autoconf}
 %{__automake}
-%configure
+%configure \
+	%{!?with_static_libs:--disable-static}
 
 %{__make}
 
@@ -118,9 +122,11 @@
 %{_libdir}/*.la
 %{_includedir}/*
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/*.a
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -128,6 +134,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2005/06/15 21:39:26  witekfl
+- added bcond_without static_libs
+
 Revision 1.10  2003/08/18 08:08:17  gotar
 - mass commit: cosmetics (removed trailing white spaces)
 

================================================================
Index: SPECS/libfpx.spec
diff -u SPECS/libfpx.spec:1.35 SPECS/libfpx.spec:1.36
--- SPECS/libfpx.spec:1.35	Sun Feb 27 19:53:46 2005
+++ SPECS/libfpx.spec	Wed Jun 15 23:39:26 2005
@@ -1,4 +1,7 @@
 # $Revision$, $Date$
+# Conditional build:
+%bcond_without	static_libs	# don't build static library
+#
 Summary:	FlashPIX OpenSource Toolkit
 Summary(pl):	Biblioteka do obróbki obrazków FlashPIX
 Name:		libfpx
@@ -67,7 +70,8 @@
 %{__autoconf}
 %{__automake}
 %configure \
-	--enable-fast-install
+	--enable-fast-install \
+	%{!?with_static_libs:--disable-static}
 %{__make}
 
 %install
@@ -94,9 +98,11 @@
 %{_libdir}/libfpx.la
 %{_includedir}/fpxlib.h
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libfpx.a
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -104,6 +110,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.36  2005/06/15 21:39:26  witekfl
+- added bcond_without static_libs
+
 Revision 1.35  2005/02/27 18:53:46  qboosh
 - updated to 1.2.0.12
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libfame.spec?r1=1.27&r2=1.28&f=u
    http://cvs.pld-linux.org/SPECS/libffi.spec?r1=1.10&r2=1.11&f=u
    http://cvs.pld-linux.org/SPECS/libfpx.spec?r1=1.35&r2=1.36&f=u




More information about the pld-cvs-commit mailing list