SPECS: libdvbpsi.spec - added BR: libtool - regenerated configure ...

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


Author: witekfl                      Date: Wed Jun 15 19:37:35 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added BR: libtool
- regenerated configure
- added bcond_without static_libs

---- Files affected:
SPECS:
   libdvbpsi.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/libdvbpsi.spec
diff -u SPECS/libdvbpsi.spec:1.5 SPECS/libdvbpsi.spec:1.6
--- SPECS/libdvbpsi.spec:1.5	Wed Apr 13 22:22:39 2005
+++ SPECS/libdvbpsi.spec	Wed Jun 15 21:37:30 2005
@@ -1,4 +1,5 @@
 # $Revision$, $Date$
+%bcond_without	static_libs	# don't build static library
 Summary:	Library for decoding and generation of MPEG TS and DVB PSI tables
 Summary(pl):	Biblioteka do dekodowania i generowania tablic MPEG TS i DVB PSI
 Name:		libdvbpsi
@@ -11,6 +12,7 @@
 URL:		http://developers.videolan.org/libdvbpsi/
 BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake
+BuildRequires:	libtool
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -49,9 +51,12 @@
 %setup -q -n %{name}3-%{version}
 
 %build
-cp -f /usr/share/automake/config.sub autotools
+%{__libtoolize}
+%{__aclocal}
 %{__autoconf}
-%configure
+%{__automake}
+%configure \
+	%{!?with_static_libs:--disable-static}
 %{__make}
 
 %install
@@ -77,9 +82,11 @@
 %{_libdir}/libdvbpsi.la
 %{_includedir}/dvbpsi
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libdvbpsi.a
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -87,6 +94,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2005/06/15 19:37:30  witekfl
+- added BR: libtool
+- regenerated configure
+- added bcond_without static_libs
+
 Revision 1.5  2005/04/13 20:22:39  qboosh
 - BR: ac,am
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libdvbpsi.spec?r1=1.5&r2=1.6&f=u




More information about the pld-cvs-commit mailing list