SPECS: libdvdcss.spec - run automake - added bcond_without static_...

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


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

---- Files affected:
SPECS:
   libdvdcss.spec (1.27 -> 1.28) 

---- Diffs:

================================================================
Index: SPECS/libdvdcss.spec
diff -u SPECS/libdvdcss.spec:1.27 SPECS/libdvdcss.spec:1.28
--- SPECS/libdvdcss.spec:1.27	Wed Aug 20 17:33:34 2003
+++ SPECS/libdvdcss.spec	Wed Jun 15 21:42:29 2005
@@ -1,4 +1,5 @@
 # $Revision$, $Date$
+%bcond_without	static_libs	# don't build static library
 Summary:	Library to decrypt CSS-encoded DVD
 Summary(pl):	Biblioteka do dekodowania DVD zakodowanych CSS
 Name:		libdvdcss
@@ -55,7 +56,9 @@
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
-%configure
+%{__automake}
+%configure \
+	%{!?with_static_libs:--disable-static}
 
 %{__make}
 
@@ -84,9 +87,11 @@
 %{_libdir}/lib*.la
 %{_includedir}/dvdcss
 
+%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
@@ -94,6 +99,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.28  2005/06/15 19:42:29  witekfl
+- run automake
+- added bcond_without static_libs
+
 Revision 1.27  2003/08/20 15:33:34  qboosh
 - no // in paths, other cosmetics
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libdvdcss.spec?r1=1.27&r2=1.28&f=u




More information about the pld-cvs-commit mailing list