SPECS: libbtctl.spec, libcapsinetwork.spec, libcdaudio.spec, libcd...

witekfl witekfl at pld-linux.org
Wed Jun 15 18:39:26 CEST 2005


Author: witekfl                      Date: Wed Jun 15 16:39:26 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added bcond_without static

---- Files affected:
SPECS:
   libbtctl.spec (1.18 -> 1.19) , libcapsinetwork.spec (1.13 -> 1.14) , libcdaudio.spec (1.8 -> 1.9) , libcdio.spec (1.16 -> 1.17) , vcdimager.spec (1.28 -> 1.29) 

---- Diffs:

================================================================
Index: SPECS/libbtctl.spec
diff -u SPECS/libbtctl.spec:1.18 SPECS/libbtctl.spec:1.19
--- SPECS/libbtctl.spec:1.18	Sat Mar 12 13:32:37 2005
+++ SPECS/libbtctl.spec	Wed Jun 15 18:39:21 2005
@@ -3,7 +3,7 @@
 # todo:
 # - mono bindings (build crashes on ppc)
 #
-
+%bcond_without	static	# don't build static library
 Summary:	Bluetooth GObject based library
 Summary(pl):	Biblioteka do programowania urządzeń Bluetooth
 Name:		libbtctl
@@ -85,7 +85,8 @@
 %configure \
 	--disable-mono \
 	--enable-gtk-doc \
-	--with-html-path=%{_gtkdocdir}
+	--with-html-path=%{_gtkdocdir} \
+	%{!?with_static:--disable-static}
 %{__make} \
 	pydir=%{py_sitedir}
 
@@ -120,9 +121,11 @@
 %{_pkgconfigdir}/*.pc
 %{_gtkdocdir}/*
 
+%if %{with static}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/lib*.a
+%endif
 
 %files -n python-btctl
 %defattr(644,root,root,755)
@@ -134,6 +137,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.19  2005/06/15 16:39:21  witekfl
+- added bcond_without static
+
 Revision 1.18  2005/03/12 12:32:37  troll
 - mass commit: remove obsolete BR: rpm-pythonprov
 

================================================================
Index: SPECS/libcapsinetwork.spec
diff -u SPECS/libcapsinetwork.spec:1.13 SPECS/libcapsinetwork.spec:1.14
--- SPECS/libcapsinetwork.spec:1.13	Sun Nov 14 20:50:03 2004
+++ SPECS/libcapsinetwork.spec	Wed Jun 15 18:39:21 2005
@@ -1,4 +1,5 @@
 # $Revision$, $Date$
+%bcond_without	static	# don't build static library
 Summary:	A network library for C++ server daemons
 Summary(pl):	Sieciowa biblioteka C++ dla demonów
 Name:		libcapsinetwork
@@ -56,7 +57,8 @@
 %{__aclocal}
 %{__autoconf}
 %{__automake}
-%configure
+%configure \
+	%{!?with_static:--disable-static}
 
 %{__make}
 
@@ -83,9 +85,11 @@
 %{_libdir}/lib*.la
 %{_includedir}/libcapsinetwork
 
+%if %{with static}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/lib*.a
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -93,6 +97,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.14  2005/06/15 16:39:21  witekfl
+- added bcond_without static
+
 Revision 1.13  2004/11/14 19:50:03  undefine
 - run libtoolize to fix problems on amd64, release 3
 

================================================================
Index: SPECS/libcdaudio.spec
diff -u SPECS/libcdaudio.spec:1.8 SPECS/libcdaudio.spec:1.9
--- SPECS/libcdaudio.spec:1.8	Fri Feb 13 09:53:36 2004
+++ SPECS/libcdaudio.spec	Wed Jun 15 18:39:21 2005
@@ -1,4 +1,5 @@
 # $Revision$, $Date$
+%bcond_without	static	# don't build static library
 Summary:	A library of functions for controlling audio CD-ROM players
 Summary(fr):	Une bibliothčque pour le contrôle des lecteurs de CD-ROMS audio
 Summary(it):	Una libreria di funzioni per controllare i lettori di CD-AUDIO
@@ -111,7 +112,8 @@
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-%configure
+%configure \
+	%{!?with_static:--disable-static}
 %{__make}
 
 %install
@@ -138,9 +140,11 @@
 %{_includedir}/*.h
 %{_aclocaldir}/libcdaudio.m4
 
+%if %{with static}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/lib*.a
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -148,6 +152,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2005/06/15 16:39:21  witekfl
+- added bcond_without static
+
 Revision 1.8  2004/02/13 08:53:36  qboosh
 - oops, this time really added am18 patch; release 4
 

================================================================
Index: SPECS/libcdio.spec
diff -u SPECS/libcdio.spec:1.16 SPECS/libcdio.spec:1.17
--- SPECS/libcdio.spec:1.16	Sat May 21 10:57:15 2005
+++ SPECS/libcdio.spec	Wed Jun 15 18:39:21 2005
@@ -2,6 +2,7 @@
 #
 # Conditional build:
 %bcond_without	cddb	# build cd-info without CDDB lookups (for bootstrap)
+%bcond_without	static	# don't build static library
 %bcond_without	vcd	# build cd-info without VCD support (for bootstrap)
 #			  (affects only -utils, not libraries)
 #
@@ -109,7 +110,8 @@
 	--enable-cd-info-linux \
 	--enable-maintainer-mode \
 	%{!?with_cddb:--disable-cddb} \
-	%{!?with_vcd:--disable-vcd-info}
+	%{!?with_vcd:--disable-vcd-info} \
+	%{!?with_static:--disable-static}
 
 %{__make}
 
@@ -145,9 +147,11 @@
 %{_pkgconfigdir}/lib*.pc
 %{_infodir}/libcdio.info*
 
+%if %{with static}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/lib*.a
+%endif
 
 %files utils
 %defattr(644,root,root,755)
@@ -161,6 +165,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.17  2005/06/15 16:39:21  witekfl
+- added bcond_without static
+
 Revision 1.16  2005/05/21 08:57:15  pluto
 - release 2 for rebuild utils with all features.
 

================================================================
Index: SPECS/vcdimager.spec
diff -u SPECS/vcdimager.spec:1.28 SPECS/vcdimager.spec:1.29
--- SPECS/vcdimager.spec:1.28	Sat May 21 10:03:41 2005
+++ SPECS/vcdimager.spec	Wed Jun 15 18:39:21 2005
@@ -1,4 +1,5 @@
 # $Revision$, $Date$
+%bcond_without	static	# don't build static library
 Summary:	VideoCD (pre-)mastering and ripping tools
 Summary(pl):	Narzędzia do tworzenia i odczytu VideoCD
 Name:		vcdimager
@@ -83,7 +84,8 @@
 %{__autoheader}
 %{__automake}
 %configure \
-	--enable-maintainer-mode
+	--enable-maintainer-mode \
+	%{!?with_static:--disable-static}
 %{__make}
 
 %install
@@ -118,9 +120,11 @@
 %{_includedir}/libvcd
 %{_pkgconfigdir}/*.pc
 
+%if %{with static}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/lib*.a
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -128,6 +132,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.29  2005/06/15 16:39:21  witekfl
+- added bcond_without static
+
 Revision 1.28  2005/05/21 08:03:41  qboosh
 - updated to 0.7.22, updated info patch
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libbtctl.spec?r1=1.18&r2=1.19&f=u
    http://cvs.pld-linux.org/SPECS/libcapsinetwork.spec?r1=1.13&r2=1.14&f=u
    http://cvs.pld-linux.org/SPECS/libcdaudio.spec?r1=1.8&r2=1.9&f=u
    http://cvs.pld-linux.org/SPECS/libcdio.spec?r1=1.16&r2=1.17&f=u
    http://cvs.pld-linux.org/SPECS/vcdimager.spec?r1=1.28&r2=1.29&f=u




More information about the pld-cvs-commit mailing list