SPECS: libdsk.spec, libds.spec, libdts.spec, libdvdnav.spec, libdv...

witekfl witekfl at pld-linux.org
Wed Jun 15 21:59:59 CEST 2005


Author: witekfl                      Date: Wed Jun 15 19:59:59 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added bcond_without static_libs

---- Files affected:
SPECS:
   libdsk.spec (1.12 -> 1.13) , libds.spec (1.14 -> 1.15) , libdts.spec (1.3 -> 1.4) , libdvdnav.spec (1.22 -> 1.23) , libdvdread.spec (1.23 -> 1.24) , libdv.spec (1.33 -> 1.34) 

---- Diffs:

================================================================
Index: SPECS/libdsk.spec
diff -u SPECS/libdsk.spec:1.12 SPECS/libdsk.spec:1.13
--- SPECS/libdsk.spec:1.12	Sun Mar 20 21:31:51 2005
+++ SPECS/libdsk.spec	Wed Jun 15 21:59:53 2005
@@ -1,4 +1,5 @@
 # $Revision$, $Date$
+%bcond_without	static_libs	# don't build static library
 Summary:	libdsk library
 Summary(pl):	Biblioteka libdsk
 Name:		libdsk
@@ -68,7 +69,8 @@
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-%configure
+%configure \
+	%{!?with_static_libs:--disable-static}
 %{__make}
 
 %install
@@ -98,9 +100,11 @@
 %{_libdir}/libdsk.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
@@ -108,6 +112,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.13  2005/06/15 19:59:53  witekfl
+- added bcond_without static_libs
+
 Revision 1.12  2005/03/20 20:31:51  qboosh
 - updated to 1.1.4
 

================================================================
Index: SPECS/libds.spec
diff -u SPECS/libds.spec:1.14 SPECS/libds.spec:1.15
--- SPECS/libds.spec:1.14	Wed Sep 29 14:31:46 2004
+++ SPECS/libds.spec	Wed Jun 15 21:59:53 2005
@@ -1,4 +1,5 @@
 # $Revision$, $Date$
+%bcond_without	static_libs	# don't build static library
 Summary:	Shared Library for Data Structures
 Summary(pl):	Współdzielona biblioteka struktur danych
 Name:		libds
@@ -63,7 +64,8 @@
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
-%configure
+%configure \
+	%{!?with_static_libs:--disable-static}
 %{__make}
 
 %install
@@ -91,9 +93,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
@@ -101,6 +105,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.15  2005/06/15 19:59:53  witekfl
+- added bcond_without static_libs
+
 Revision 1.14  2004/09/29 12:31:46  areq
 - 1.5.3
 

================================================================
Index: SPECS/libdts.spec
diff -u SPECS/libdts.spec:1.3 SPECS/libdts.spec:1.4
--- SPECS/libdts.spec:1.3	Sat Mar  5 15:36:08 2005
+++ SPECS/libdts.spec	Wed Jun 15 21:59:53 2005
@@ -2,6 +2,7 @@
 # NOTE:
 # - it has been renamed to libdca
 # - distribution is temporarily suspended due to DTS Inc. patent clains (see URL)
+%bcond_without	static_libs	# don't build static library
 Summary:	DTS Coherent Acoustics decoder
 Summary(pl):	Dekoder DTS Coherent Acoustics
 Name:		libdts
@@ -67,7 +68,8 @@
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-%configure
+%configure \
+	%{!?with_static_libs:--disable-static}
 %{__make}
 
 %install
@@ -97,9 +99,11 @@
 %{_includedir}/*.h
 %{_pkgconfigdir}/*.pc
 
+%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
@@ -107,6 +111,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2005/06/15 19:59:53  witekfl
+- added bcond_without static_libs
+
 Revision 1.3  2005/03/05 14:36:08  qboosh
 - updated URL, added notes
 

================================================================
Index: SPECS/libdvdnav.spec
diff -u SPECS/libdvdnav.spec:1.22 SPECS/libdvdnav.spec:1.23
--- SPECS/libdvdnav.spec:1.22	Sun Jun 20 16:29:33 2004
+++ SPECS/libdvdnav.spec	Wed Jun 15 21:59:53 2005
@@ -1,4 +1,5 @@
 # $Revision$, $Date$
+%bcond_without	static_libs	# don't build static library
 Summary:	DVD menu support library
 Summary(pl):	Biblioteka obsługi menu DVD
 Name:		libdvdnav
@@ -58,7 +59,8 @@
 %{__autoconf}
 %{__automake}
 %configure \
-	--enable-static
+	--enable-static \
+	%{!?with_static_libs:--disable-static}
 %{__make}
 
 %install
@@ -86,9 +88,11 @@
 %{_includedir}/dvdnav
 %{_aclocaldir}/*.m4
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/lib*.a
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -96,6 +100,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.23  2005/06/15 19:59:53  witekfl
+- added bcond_without static_libs
+
 Revision 1.22  2004/06/20 14:29:33  grzegol
 - updated to 0.1.10
 - strict internal deps

================================================================
Index: SPECS/libdvdread.spec
diff -u SPECS/libdvdread.spec:1.23 SPECS/libdvdread.spec:1.24
--- SPECS/libdvdread.spec:1.23	Sat Sep 25 13:20:52 2004
+++ SPECS/libdvdread.spec	Wed Jun 15 21:59:53 2005
@@ -1,4 +1,5 @@
 # $Revision$, $Date$
+%bcond_without	static_libs	# don't build static library
 Summary:	Library to read DVD images
 Summary(pl):	Biblioteka do odczytu obrazów DVD-Video
 Name:		libdvdread
@@ -63,7 +64,8 @@
 %{__aclocal}
 %{__autoconf}
 %{__automake}
-%configure
+%configure \
+	%{!?with_static_libs:--disable-static}
 
 %{__make}
 
@@ -90,9 +92,11 @@
 %{_libdir}/lib*.la
 %{_includedir}/dvdread
 
+%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
@@ -100,6 +104,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.24  2005/06/15 19:59:53  witekfl
+- added bcond_without static_libs
+
 Revision 1.23  2004/09/25 11:20:52  radek
 - cosmetics (spaces -> tabs)
 

================================================================
Index: SPECS/libdv.spec
diff -u SPECS/libdv.spec:1.33 SPECS/libdv.spec:1.34
--- SPECS/libdv.spec:1.33	Wed May 11 17:27:01 2005
+++ SPECS/libdv.spec	Wed Jun 15 21:59:53 2005
@@ -3,6 +3,7 @@
 # Conditional build:
 %bcond_without	gui	# don't build gui stuff
 %bcond_with	mmx	# use MMX asm (won't run on non-MMX CPU!)
+%bcond_without	static_libs	# don't build static library
 #
 %ifarch athlon pentium3 pentium4 %{x8664}
 %define		with_mmx	1
@@ -94,7 +95,8 @@
 	--disable-gtk \
 %endif
 	--without-debug \
-	%{!?with_mmx:--disable-asm}
+	%{!?with_mmx:--disable-asm} \
+	%{!?with_static_libs:--disable-static}
 
 %{__make}
 
@@ -130,9 +132,11 @@
 %{_includedir}/libdv
 %{_pkgconfigdir}/*
 
+%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
@@ -140,6 +144,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.34  2005/06/15 19:59:53  witekfl
+- added bcond_without static_libs
+
 Revision 1.33  2005/05/11 15:27:01  qboosh
 - use x8664 macro
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libdsk.spec?r1=1.12&r2=1.13&f=u
    http://cvs.pld-linux.org/SPECS/libds.spec?r1=1.14&r2=1.15&f=u
    http://cvs.pld-linux.org/SPECS/libdts.spec?r1=1.3&r2=1.4&f=u
    http://cvs.pld-linux.org/SPECS/libdvdnav.spec?r1=1.22&r2=1.23&f=u
    http://cvs.pld-linux.org/SPECS/libdvdread.spec?r1=1.23&r2=1.24&f=u
    http://cvs.pld-linux.org/SPECS/libdv.spec?r1=1.33&r2=1.34&f=u




More information about the pld-cvs-commit mailing list