SPECS: libPropList.spec, libEMF.spec, libIDL.spec - added bcond_wi...

witekfl witekfl at pld-linux.org
Sun Jul 22 10:43:38 CEST 2007


Author: witekfl                      Date: Sun Jul 22 08:43:38 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added bcond_without static_libs

---- Files affected:
SPECS:
   libPropList.spec (1.52 -> 1.53) , libEMF.spec (1.10 -> 1.11) , libIDL.spec (1.42 -> 1.43) 

---- Diffs:

================================================================
Index: SPECS/libPropList.spec
diff -u SPECS/libPropList.spec:1.52 SPECS/libPropList.spec:1.53
--- SPECS/libPropList.spec:1.52	Tue Feb 13 07:46:50 2007
+++ SPECS/libPropList.spec	Sun Jul 22 10:43:33 2007
@@ -1,4 +1,7 @@
 # $Revision$, $Date$
+# Conditional build:
+%bcond_without	static_libs	# don't build static library
+#
 Summary:	Library for reading/writing GNUstep-style defaults databases
 Summary(pl.UTF-8):	Biblioteka do odczytu i zapisu bazy danych ustawień w stylu GNUstepa
 Summary(ru.UTF-8):	Библиотека для чтения/записи баз умолчаний в стиле GNUstep
@@ -140,7 +143,8 @@
 %{__aclocal}
 %{__autoconf}
 %{__automake}
-%configure
+%configure \
+	%{!?with_static_libs:--disable-static}
 %{__make}
 
 %install
@@ -166,9 +170,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
@@ -176,6 +182,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.53  2007/07/22 08:43:33  witekfl
+- added bcond_without static_libs
+
 Revision 1.52  2007/02/13 06:46:50  glen
 - tabs in preamble
 

================================================================
Index: SPECS/libEMF.spec
diff -u SPECS/libEMF.spec:1.10 SPECS/libEMF.spec:1.11
--- SPECS/libEMF.spec:1.10	Tue Feb 13 07:46:50 2007
+++ SPECS/libEMF.spec	Sun Jul 22 10:43:33 2007
@@ -1,4 +1,7 @@
 # $Revision$, $Date$
+# Conditional build:
+%bcond_without	static_libs	# don't build static library
+#
 Summary:	A library for generating Enhanced Metafiles
 Summary(pl.UTF-8):	Biblioteka do generowania plików w formacie Enhanced Metafile
 Name:		libEMF
@@ -67,7 +70,8 @@
 %{__autoconf}
 %{__automake}
 %configure \
-	--enable-editing
+	--enable-editing \
+	%{!?with_static_libs:--disable-static}
 
 %{__make}
 
@@ -96,9 +100,11 @@
 %{_libdir}/lib*.la
 %{_includedir}/libEMF
 
+%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
@@ -106,6 +112,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2007/07/22 08:43:33  witekfl
+- added bcond_without static_libs
+
 Revision 1.10  2007/02/13 06:46:50  glen
 - tabs in preamble
 

================================================================
Index: SPECS/libIDL.spec
diff -u SPECS/libIDL.spec:1.42 SPECS/libIDL.spec:1.43
--- SPECS/libIDL.spec:1.42	Tue Feb 27 16:47:37 2007
+++ SPECS/libIDL.spec	Sun Jul 22 10:43:33 2007
@@ -1,4 +1,7 @@
 # $Revision$, $Date$
+# Conditional build:
+%bcond_without	static_libs	# don't build static library
+#
 Summary:	Library for parsing IDL (Interface Definition Language)
 Summary(pl.UTF-8):	Biblioteka do parsowania IDL (języka definicji interfejsu)
 Name:		libIDL
@@ -67,7 +70,8 @@
 %{__aclocal}
 %{__autoconf}
 %{__automake}
-%configure
+%configure \
+	%{!?with_static_libs:--disable-static}
 %{__make}
 
 %install
@@ -104,9 +108,11 @@
 %{_pkgconfigdir}/*
 %{_infodir}/*info*
 
+%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
@@ -114,6 +120,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.43  2007/07/22 08:43:33  witekfl
+- added bcond_without static_libs
+
 Revision 1.42  2007/02/27 15:47:37  megabajt
 - updated to 0.8.8
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libPropList.spec?r1=1.52&r2=1.53&f=u
    http://cvs.pld-linux.org/SPECS/libEMF.spec?r1=1.10&r2=1.11&f=u
    http://cvs.pld-linux.org/SPECS/libIDL.spec?r1=1.42&r2=1.43&f=u



More information about the pld-cvs-commit mailing list