SPECS: twolame.spec - up to 0.3.9 - autoize - separated libs package

tommat tommat at pld-linux.org
Mon Jan 8 16:00:15 CET 2007


Author: tommat                       Date: Mon Jan  8 15:00:15 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 0.3.9
- autoize
- separated libs package

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

---- Diffs:

================================================================
Index: SPECS/twolame.spec
diff -u SPECS/twolame.spec:1.1 SPECS/twolame.spec:1.2
--- SPECS/twolame.spec:1.1	Fri Dec 29 17:01:38 2006
+++ SPECS/twolame.spec	Mon Jan  8 16:00:09 2007
@@ -2,16 +2,19 @@
 Summary:	Optimized MPEG Audio Layer 2 (MP2) encoder
 Summary(pl):	Zoptymalizowany koder MPEG Audio Layer 2 (MP2)
 Name:		twolame
-Version:	0.3.8
+Version:	0.3.9
 Release:	1
 License:	LGPL v2.1+
 Group:		Libraries
-Source0:	http://www.ecs.soton.ac.uk/~njh/twolame/%{name}-%{version}.tar.gz
-# Source0-md5:	f1fe7fddfece5c7d01badee0bd703b33
+Source0:	http://dl.sourceforge.net/twolame/%{name}-%{version}.tar.gz
+# Source0-md5:	79be2e6c99495c767d037b977a32eab5
 URL:		http://www.twolame.org/
+BuildRequires:	autoconf
+BuildRequires:	automake
 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)
 
 %description
@@ -39,11 +42,18 @@
  - frontend obsługuje wiele rodzajów plików wejściowych (poprzez
    libsndfile)
 
+%package libs
+Summary:	TwoLAME MP2 encoding library
+Group:		Libraries
+
+%description libs
+TwoLAME MP2 encoding library.
+
 %package devel
 Summary:	Header files for TwoLAME library
 Summary(pl):	Pliki nagłówkowe biblioteki TwoLAME
 Group:		Development/Libraries
-Requires:	%{name} = %{version}-%{release}
+Requires:	%{name}-libs = %{version}-%{release}
 
 %description devel
 Header files for TwoLAME library.
@@ -66,10 +76,15 @@
 %prep
 %setup -q
 
-sed -i -e 's/-O3//' configure
-
 %build
-%configure
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure \
+	--enable-shared \
+	--enable-static
+
 %{__make}
 
 %install
@@ -83,16 +98,20 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post	-p /sbin/ldconfig
-%postun	-p /sbin/ldconfig
+%post	libs -p /sbin/ldconfig
+%postun	libs -p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README TODO
 %attr(755,root,root) %{_bindir}/twolame
-%attr(755,root,root) %{_libdir}/libtwolame.so.*.*.*
 %{_mandir}/man1/twolame.1*
 
+
+%files libs
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libtwolame.so.*.*.*
+
 %files devel
 %defattr(644,root,root,755)
 %doc doc/html/*
@@ -111,5 +130,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2007/01/08 15:00:09  tommat
+- up to 0.3.9
+- autoize
+- separated libs package
+
 Revision 1.1  2006/12/29 16:01:38  qboosh
 - new
================================================================

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



More information about the pld-cvs-commit mailing list