SPECS: twolame.spec - pl for -libs - autoheader, ac/am versions - ...

qboosh qboosh at pld-linux.org
Mon Jan 8 19:44:48 CET 2007


Author: qboosh                       Date: Mon Jan  8 18:44:48 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pl for -libs
- autoheader, ac/am versions
- restored killing of overriding optflags, dropped unnecessary configure opts

---- Files affected:
SPECS:
   twolame.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/twolame.spec
diff -u SPECS/twolame.spec:1.2 SPECS/twolame.spec:1.3
--- SPECS/twolame.spec:1.2	Mon Jan  8 16:00:09 2007
+++ SPECS/twolame.spec	Mon Jan  8 19:44:43 2007
@@ -9,11 +9,12 @@
 Source0:	http://dl.sourceforge.net/twolame/%{name}-%{version}.tar.gz
 # Source0-md5:	79be2e6c99495c767d037b977a32eab5
 URL:		http://www.twolame.org/
-BuildRequires:	autoconf
-BuildRequires:	automake
+BuildRequires:	autoconf >= 2.57
+BuildRequires:	automake >= 1:1.7
 BuildRequires:	libsndfile-devel >= 1.0.0
 BuildRequires:	libtool
 BuildRequires:	pkgconfig
+BuildRequires:	sed >= 4.0
 Requires:	%{name}-libs = %{version}-%{release}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -44,11 +45,16 @@
 
 %package libs
 Summary:	TwoLAME MP2 encoding library
+Summary(pl):	Biblioteka kodująca MP2
 Group:		Libraries
+Conflicts:	twolame < 0.3.9
 
 %description libs
 TwoLAME MP2 encoding library.
 
+%description libs -l pl
+Biblioteka kodująca MP2.
+
 %package devel
 Summary:	Header files for TwoLAME library
 Summary(pl):	Pliki nagłówkowe biblioteki TwoLAME
@@ -76,14 +82,15 @@
 %prep
 %setup -q
 
+sed -i -e 's/-O3//' configure.ac
+
 %build
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
+%{__autoheader}
 %{__automake}
-%configure \
-	--enable-shared \
-	--enable-static
+%configure
 
 %{__make}
 
@@ -107,7 +114,6 @@
 %attr(755,root,root) %{_bindir}/twolame
 %{_mandir}/man1/twolame.1*
 
-
 %files libs
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libtwolame.so.*.*.*
@@ -130,6 +136,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2007/01/08 18:44:43  qboosh
+- pl for -libs
+- autoheader, ac/am versions
+- restored killing of overriding optflags, dropped unnecessary configure opts
+
 Revision 1.2  2007/01/08 15:00:09  tommat
 - up to 0.3.9
 - autoize
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/twolame.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list