SPECS: libavc1394.spec, libax25.spec, libbinio.spec, glibmm.spec, ...

witekfl witekfl at pld-linux.org
Wed Jun 15 17:42:42 CEST 2005


Author: witekfl                      Date: Wed Jun 15 15:42:41 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added bcond_without static

---- Files affected:
SPECS:
   libavc1394.spec (1.8 -> 1.9) , libax25.spec (1.21 -> 1.22) , libbinio.spec (1.5 -> 1.6) , glibmm.spec (1.26 -> 1.27) , libsigc++.spec (1.61 -> 1.62) , orbitcpp.spec (1.14 -> 1.15) , libbonobomm.spec (1.17 -> 1.18) , libbonobo.spec (1.88 -> 1.89) , libbonoboui.spec (1.76 -> 1.77) , libbonobouimm.spec (1.18 -> 1.19) , gtkmm.spec (1.90 -> 1.91) 

---- Diffs:

================================================================
Index: SPECS/libavc1394.spec
diff -u SPECS/libavc1394.spec:1.8 SPECS/libavc1394.spec:1.9
--- SPECS/libavc1394.spec:1.8	Sat Feb 19 18:24:58 2005
+++ SPECS/libavc1394.spec	Wed Jun 15 17:42:35 2005
@@ -1,4 +1,5 @@
 # $Revision$, $Date$
+%bcond_without	static	# don't build static library
 Summary:	Programming interface to the 1394 AV/C specification
 Summary(pl):	Interfejs programistyczny do specyfikacji 1394 AV/C
 Name:		libavc1394
@@ -70,7 +71,8 @@
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-%configure
+%configure \
+	%{!?with_static:--disable-static}
 %{__make}
 
 %install
@@ -99,9 +101,11 @@
 %{_includedir}/libavc1394
 %{_pkgconfigdir}/libavc1394.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
@@ -109,6 +113,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2005/06/15 15:42:35  witekfl
+- added bcond_without static
+
 Revision 1.8  2005/02/19 17:24:58  qboosh
 - updated to 0.5.0, removed obsolete link patch
 

================================================================
Index: SPECS/libax25.spec
diff -u SPECS/libax25.spec:1.21 SPECS/libax25.spec:1.22
--- SPECS/libax25.spec:1.21	Mon Apr 26 18:36:57 2004
+++ SPECS/libax25.spec	Wed Jun 15 17:42:35 2005
@@ -1,4 +1,5 @@
 # $Revision$, $Date$
+%bcond_without	static	# don't build static library
 Summary:	ax25 libraries for hamradio applications
 Summary(pl):	Biblioteki ax25 dla aplikacji hamradio
 Name:		libax25
@@ -56,7 +57,8 @@
 %{__aclocal}
 %{__autoconf}
 %{__automake}
-%configure
+%configure \
+	%{!?with_static:--disable-static}
 %{__make}
 
 %install
@@ -89,9 +91,11 @@
 %{_mandir}/man3/*
 %{_includedir}/netax25/*
 
+%if %{with static}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libax25*.a
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -99,6 +103,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.22  2005/06/15 15:42:35  witekfl
+- added bcond_without static
+
 Revision 1.21  2004/04/26 16:36:57  adamg
 - release 2 for Ac (1 is for Ra)
 

================================================================
Index: SPECS/libbinio.spec
diff -u SPECS/libbinio.spec:1.5 SPECS/libbinio.spec:1.6
--- SPECS/libbinio.spec:1.5	Sun Jun 12 09:02:55 2005
+++ SPECS/libbinio.spec	Wed Jun 15 17:42:35 2005
@@ -1,4 +1,5 @@
 # $Revision$, $Date$
+%bcond_without	static	# don't build static library
 Summary:	Binary I/O stream class library
 Summary(pl):	Biblioteka klas C++ dla strumieniowych binarnych operacji I/O
 Name:		libbinio
@@ -68,7 +69,8 @@
 %{__aclocal}
 %{__autoconf}
 %{__automake}
-%configure
+%configure \
+	%{!?with_static:--disable-static}
 %{__make}
 
 %install
@@ -101,9 +103,11 @@
 %{_includedir}/*
 %{_infodir}/*.info*
 
+%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
@@ -111,6 +115,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2005/06/15 15:42:35  witekfl
+- added bcond_without static
+
 Revision 1.5  2005/06/12 07:02:55  koorek
 - reverted stupid commit
 

================================================================
Index: SPECS/glibmm.spec
diff -u SPECS/glibmm.spec:1.26 SPECS/glibmm.spec:1.27
--- SPECS/glibmm.spec:1.26	Sun May 15 21:48:16 2005
+++ SPECS/glibmm.spec	Wed Jun 15 17:42:35 2005
@@ -1,4 +1,5 @@
 # $Revision$, $Date$
+%bcond_without	static	# don't build static library
 Summary:	A C++ interface for glib library
 Summary(pl):	Interfejs C++ dla biblioteki glib
 Name:		glibmm
@@ -76,7 +77,8 @@
 %{__automake}
 %configure \
 	--enable-fulldocs \
-	--enable-static
+	--enable-static \
+	%{!?with_static:--disable-static}
 %{__make}
 
 %install
@@ -118,9 +120,11 @@
 %{_gtkdocdir}/%{name}-2.4
 %{_examplesdir}/%{name}-%{version}
 
+%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.27  2005/06/15 15:42:35  witekfl
+- added bcond_without static
+
 Revision 1.26  2005/05/15 19:48:16  adamg
 - release 2 for Th
 

================================================================
Index: SPECS/libsigc++.spec
diff -u SPECS/libsigc++.spec:1.61 SPECS/libsigc++.spec:1.62
--- SPECS/libsigc++.spec:1.61	Sat Jun 11 20:56:47 2005
+++ SPECS/libsigc++.spec	Wed Jun 15 17:42:35 2005
@@ -1,4 +1,5 @@
 # $Revision$, $Date$
+%bcond_without	static	# don't build static library
 Summary:	The Typesafe Signal Framework for C++
 Summary(pl):	Środowisko sygnałów z kontrolą typów dla C++
 Name:		libsigc++
@@ -86,7 +87,8 @@
 %{__aclocal} -I scripts
 %{__autoconf}
 %{__automake}
-%configure
+%configure \
+	%{!?with_static:--disable-static}
 %{__make}
 
 %install
@@ -120,9 +122,11 @@
 %defattr(644,root,root,755)
 %doc devel-docs/*
 
+%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
@@ -130,6 +134,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.62  2005/06/15 15:42:35  witekfl
+- added bcond_without static
+
 Revision 1.61  2005/06/11 18:56:47  freetz
  - 2.0.14
 

================================================================
Index: SPECS/orbitcpp.spec
diff -u SPECS/orbitcpp.spec:1.14 SPECS/orbitcpp.spec:1.15
--- SPECS/orbitcpp.spec:1.14	Sun Jun 12 00:29:54 2005
+++ SPECS/orbitcpp.spec	Wed Jun 15 17:42:35 2005
@@ -1,4 +1,5 @@
 # $Revision$, $Date$
+%bcond_without	static	# don't build static library
 Summary:	C++ bindings for the ORBit Corba ORB
 Summary(pl):	Powiązania C++ dla ORBit Corba ORB
 Name:		orbitcpp
@@ -76,7 +77,8 @@
 %{__autoheader}
 # -i is workaround for am problems in tests
 %{__automake} -i
-%configure
+%configure \
+	%{!?with_static:--disable-static}
 %{__make}
 
 %install
@@ -106,9 +108,11 @@
 %{_includedir}/orbitcpp-*
 %{_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
@@ -116,6 +120,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.15  2005/06/15 15:42:35  witekfl
+- added bcond_without static
+
 Revision 1.14  2005/06/11 22:29:54  zbyniu
 - BR: libstdc++-devel, R: libstdc++-devel in -devel
 

================================================================
Index: SPECS/libbonobomm.spec
diff -u SPECS/libbonobomm.spec:1.17 SPECS/libbonobomm.spec:1.18
--- SPECS/libbonobomm.spec:1.17	Sat Jul  3 20:29:12 2004
+++ SPECS/libbonobomm.spec	Wed Jun 15 17:42:35 2005
@@ -1,4 +1,5 @@
 # $Revision$, $Date$
+%bcond_without	static	# don't build static library
 Summary:	A C++ interface for the libbonobo
 Summary(pl):	Interfejs C++ dla libbonobo
 Name:		libbonobomm
@@ -66,7 +67,8 @@
 %{__autoconf}
 %{__automake}
 %configure \
-	--enable-static
+	--enable-static \
+	%{!?with_static:--disable-static}
 %{__make}
 
 %install
@@ -96,9 +98,11 @@
 %{_includedir}/libbonobomm-2.0
 %{_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
@@ -106,6 +110,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.18  2005/06/15 15:42:35  witekfl
+- added bcond_without static
+
 Revision 1.17  2004/07/03 18:29:12  grzegol
 - added gcc34 patch (fix building with gcc-3.4)
 

================================================================
Index: SPECS/libbonobo.spec
diff -u SPECS/libbonobo.spec:1.88 SPECS/libbonobo.spec:1.89
--- SPECS/libbonobo.spec:1.88	Thu Jun  9 00:11:23 2005
+++ SPECS/libbonobo.spec	Wed Jun 15 17:42:35 2005
@@ -1,4 +1,5 @@
 # $Revision$, $Date$
+%bcond_without	static	# don't build static library
 Summary:	Library for compound documents in GNOME
 Summary(pl):	Biblioteka do łączenia dokumentów w GNOME
 Summary(pt_BR):	Biblioteca para documentos compostos no GNOME
@@ -93,7 +94,8 @@
 %{__automake}
 %configure \
 	--enable-gtk-doc \
-	--with-html-dir=%{_gtkdocdir}
+	--with-html-dir=%{_gtkdocdir} \
+	%{!?with_static:--disable-static}
 %{__make}
 
 
@@ -154,9 +156,11 @@
 %{_gtkdocdir}/%{name}
 %{_gtkdocdir}/bonobo-activation
 
+%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
@@ -164,6 +168,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.89  2005/06/15 15:42:35  witekfl
+- added bcond_without static
+
 Revision 1.88  2005/06/08 22:11:23  zbyniu
 - R: popt-devel in -devel; BR: pkgconfig
 - rel. 4, STBR

================================================================
Index: SPECS/libbonoboui.spec
diff -u SPECS/libbonoboui.spec:1.76 SPECS/libbonoboui.spec:1.77
--- SPECS/libbonoboui.spec:1.76	Wed May 11 19:00:50 2005
+++ SPECS/libbonoboui.spec	Wed Jun 15 17:42:35 2005
@@ -2,6 +2,7 @@
 #
 # Conditional build:
 %bcond_with	xlibs	# with xlibs
+%bcond_without	static	# don't build static library
 #
 Summary:	Bonobo user interface components
 Summary(pl):	Komponenty interfejsu użytkownika do Bonobo
@@ -109,7 +110,8 @@
 %{__automake}
 %configure \
 	--enable-gtk-doc \
-	--with-html-dir=%{_gtkdocdir}
+	--with-html-dir=%{_gtkdocdir} \
+	%{!?with_static:--disable-static}
 
 %{__make}
 
@@ -151,9 +153,11 @@
 %{_includedir}/libbonoboui-2.0
 %{_gtkdocdir}/%{name}
 
+%if %{with static}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/lib*.a
+%endif
 
 %files -n gnome-bonobo-browser
 %defattr(644,root,root,755)
@@ -166,6 +170,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.77  2005/06/15 15:42:35  witekfl
+- added bcond_without static
+
 Revision 1.76  2005/05/11 17:00:50  pluto
 - release 5 for Th.
 

================================================================
Index: SPECS/libbonobouimm.spec
diff -u SPECS/libbonobouimm.spec:1.18 SPECS/libbonobouimm.spec:1.19
--- SPECS/libbonobouimm.spec:1.18	Wed Aug 18 03:00:04 2004
+++ SPECS/libbonobouimm.spec	Wed Jun 15 17:42:35 2005
@@ -1,4 +1,5 @@
 # $Revision$, $Date$
+%bcond_without	static	# don't build static library
 Summary:	A C++ interface for the libbonoboui
 Summary(pl):	Interfejs C++ dla libbonoboui
 Name:		libbonobouimm
@@ -73,7 +74,8 @@
 %{__automake}
 %configure \
 	--enable-maintainer-mode \
-	--enable-static 
+	--enable-static \
+	%{!?with_static:--disable-static}
 # examples/creating_control/Makefile.am contains hardcoded "$(prefix)/lib/bonobo-2.0"
 %{__make} \
 	samplesdir=%{_libdir}/bonobo-2.0/samples
@@ -113,9 +115,11 @@
 %{_pkgconfigdir}/*.pc
 %{_examplesdir}/%{name}-%{version}
 
+%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
@@ -123,6 +127,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.19  2005/06/15 15:42:35  witekfl
+- added bcond_without static
+
 Revision 1.18  2004/08/18 01:00:04  ankry
 - rel. 3 to rebuild
 

================================================================
Index: SPECS/gtkmm.spec
diff -u SPECS/gtkmm.spec:1.90 SPECS/gtkmm.spec:1.91
--- SPECS/gtkmm.spec:1.90	Sat Jun 11 21:00:30 2005
+++ SPECS/gtkmm.spec	Wed Jun 15 17:42:35 2005
@@ -1,4 +1,5 @@
 # $Revision$, $Date$
+%bcond_without	static	# don't build static libraries
 %include	/usr/lib/rpm/macros.perl
 Summary:	A C++ interface for the GTK+ (a GUI library for X)
 Summary(pl):	Wrapper C++ dla GTK+
@@ -173,7 +174,8 @@
 # exceptions and rtti are used in this package --misiek
 %configure \
 	--enable-static=yes \
-	--enable-demos=no
+	--enable-demos=no \
+	%{!?with_static:--disable-static}
 %{__make}
 
 %install
@@ -218,9 +220,11 @@
 %{_examplesdir}/%{name}-%{version}
 %doc %{_datadir}/devhelp/books/gtkmm-2.4
 
+%if %{with static}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libg[dt]kmm*.a
+%endif
 
 %files atk
 %defattr(644,root,root,755)
@@ -233,9 +237,11 @@
 %{_pkgconfigdir}/atkmm*.pc
 %{_includedir}/atkmm-1.6
 
+%if %{with static}
 %files atk-static
 %defattr(644,root,root,755)
 %{_libdir}/libatkmm*.a
+%endif
 
 %files pango
 %defattr(644,root,root,755)
@@ -248,9 +254,11 @@
 %{_pkgconfigdir}/pangomm*.pc
 %{_includedir}/pangomm-1.4
 
+%if %{with static}
 %files pango-static
 %defattr(644,root,root,755)
 %{_libdir}/libpangomm*.a
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -258,6 +266,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.91  2005/06/15 15:42:35  witekfl
+- added bcond_without static
+
 Revision 1.90  2005/06/11 19:00:30  freetz
 - 2.6.3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libavc1394.spec?r1=1.8&r2=1.9&f=u
    http://cvs.pld-linux.org/SPECS/libax25.spec?r1=1.21&r2=1.22&f=u
    http://cvs.pld-linux.org/SPECS/libbinio.spec?r1=1.5&r2=1.6&f=u
    http://cvs.pld-linux.org/SPECS/glibmm.spec?r1=1.26&r2=1.27&f=u
    http://cvs.pld-linux.org/SPECS/libsigc++.spec?r1=1.61&r2=1.62&f=u
    http://cvs.pld-linux.org/SPECS/orbitcpp.spec?r1=1.14&r2=1.15&f=u
    http://cvs.pld-linux.org/SPECS/libbonobomm.spec?r1=1.17&r2=1.18&f=u
    http://cvs.pld-linux.org/SPECS/libbonobo.spec?r1=1.88&r2=1.89&f=u
    http://cvs.pld-linux.org/SPECS/libbonoboui.spec?r1=1.76&r2=1.77&f=u
    http://cvs.pld-linux.org/SPECS/libbonobouimm.spec?r1=1.18&r2=1.19&f=u
    http://cvs.pld-linux.org/SPECS/gtkmm.spec?r1=1.90&r2=1.91&f=u




More information about the pld-cvs-commit mailing list