SPECS: libdvdplay.spec - added BR: autoconf, libtool - full regene...
witekfl
witekfl at pld-linux.org
Wed Jun 15 21:52:26 CEST 2005
Author: witekfl Date: Wed Jun 15 19:52:26 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added BR: autoconf, libtool
- full regeneration of configure
- added bcond_without static_libs
---- Files affected:
SPECS:
libdvdplay.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/libdvdplay.spec
diff -u SPECS/libdvdplay.spec:1.1 SPECS/libdvdplay.spec:1.2
--- SPECS/libdvdplay.spec:1.1 Sat Mar 5 17:27:28 2005
+++ SPECS/libdvdplay.spec Wed Jun 15 21:52:21 2005
@@ -1,4 +1,5 @@
# $Revision$, $Date$
+%bcond_without static_libs % don't build static library
Summary: libdvdplay - simple library designed for DVD navigation
Summary(pl): libdvdplay - prosta biblioteka do nawigacji po DVD
Name: libdvdplay
@@ -9,8 +10,10 @@
Source0: http://download.videolan.org/pub/videolan/libdvdplay/%{version}/%{name}-%{version}.tar.bz2
# Source0-md5: 602bca4ef78d79aa87e5e8920d958a78
URL: http://developers.videolan.org/libdvdplay/
+BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libdvdread-devel
+BuildRequires: libtool
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -51,8 +54,12 @@
%setup -q
%build
-cp -f /usr/share/automake/config.* .
-%configure
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure \
+ %{!?with_static_libs:--disable-static}
%{__make}
%install
@@ -78,9 +85,11 @@
%{_libdir}/libdvdplay.la
%{_includedir}/dvdplay
+%if %{with static_libs}
%files static
%defattr(644,root,root,755)
%{_libdir}/libdvdplay.a
+%endif
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -88,6 +97,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2005/06/15 19:52:21 witekfl
+- added BR: autoconf, libtool
+- full regeneration of configure
+- added bcond_without static_libs
+
Revision 1.1 2005/03/05 16:27:28 qboosh
- new, just in case
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/libdvdplay.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list