michael@0: Name: lame michael@0: Version: 3.98.4 michael@1: Release: 20101201 michael@0: Summary: Free MP3 audio compressor michael@1: Vendor: Europalab Software michael@1: Packager: Michael Schloh von Bennewitz michael@1: Distribution: MeeGo Thirdparty michael@0: Group: Applications/Multimedia michael@0: License: GPLv2+ michael@0: URL: http://lame.sourceforge.net/ michael@0: Source0: http://downloads.sourceforge.net/sourceforge/lame/%{name}-%{version}.tar.gz michael@1: BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root michael@0: BuildRequires: ncurses-devel michael@0: BuildRequires: pkgconfig michael@0: %ifarch %{ix86} michael@0: BuildRequires: nasm michael@0: %endif michael@0: Requires: %{name}-libs = %{version}-%{release} michael@0: michael@0: %description michael@0: LAME is an open source MP3 encoder whose quality and speed matches michael@0: commercial encoders. LAME handles MPEG1,2 and 2.5 layer III encoding michael@0: with both constant and variable bitrates. michael@0: michael@0: %package libs michael@0: Summary: LAME MP3 encoding library michael@1: Vendor: Europalab Software michael@1: Packager: Michael Schloh von Bennewitz michael@1: Distribution: MeeGo Thirdparty michael@0: Group: System Environment/Libraries michael@0: michael@0: %description libs michael@1: LAME is an open source MP3 encoder whose quality and speed matches michael@1: commercial encoders. LAME handles MPEG1,2 and 2.5 layer III encoding michael@1: with both constant and variable bitrates. This package provides the michael@0: LAME MP3 encoding library. michael@0: michael@0: %package devel michael@0: Summary: Development files for %{name} michael@1: Vendor: Europalab Software michael@1: Packager: Michael Schloh von Bennewitz michael@1: Distribution: MeeGo Thirdparty michael@0: Group: Development/Libraries michael@0: Requires: %{name}-libs = %{version}-%{release} michael@0: michael@0: %description devel michael@1: LAME is an open source MP3 encoder whose quality and speed matches michael@1: commercial encoders. LAME handles MPEG1,2 and 2.5 layer III encoding michael@1: with both constant and variable bitrates. This package provides michael@1: development files for %{name}. michael@0: michael@0: %prep michael@0: %setup -q michael@0: iconv -f ISO-8859-1 -t UTF8 ChangeLog > ChangeLog.tmp && touch -r ChangeLog ChangeLog.tmp && mv ChangeLog.tmp ChangeLog michael@0: michael@0: %build michael@0: %configure \ michael@0: %ifarch %{ix86} michael@0: --enable-nasm \ michael@0: %endif michael@0: --enable-mp3rtp \ michael@0: --enable-decode-layer1 michael@0: michael@1: %{__make} michael@0: michael@0: %install michael@0: rm -rf $RPM_BUILD_ROOT michael@1: %{__make} install DESTDIR=$RPM_BUILD_ROOT michael@0: rm -f $RPM_BUILD_ROOT%{_libdir}/*.la michael@0: rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name} michael@0: michael@0: %check michael@1: %{__make} test michael@0: michael@0: %post libs -p /sbin/ldconfig michael@0: michael@0: %postun libs -p /sbin/ldconfig michael@0: michael@0: %clean michael@0: rm -rf $RPM_BUILD_ROOT michael@0: michael@0: %files michael@0: %defattr (-,root,root,-) michael@0: %doc README TODO USAGE doc/html/*.html doc/html/*.css michael@0: %{_bindir}/lame michael@0: %{_bindir}/mp3rtp michael@0: %{_mandir}/man1/lame.1* michael@0: michael@0: %files libs michael@0: %defattr(-,root,root,-) michael@0: %doc ChangeLog COPYING LICENSE michael@0: %{_libdir}/libmp3lame.so.* michael@0: michael@0: %files devel michael@0: %defattr (-,root,root,-) michael@0: %doc API HACKING STYLEGUIDE michael@1: %{_libdir}/libmp3lame.a michael@0: %{_libdir}/libmp3lame.so michael@1: %{_includedir}/lame michael@0: michael@0: %changelog michael@1: * Wed Dec 1 2010 Michael Schloh von Bennewitz - 3.98.4-20101201 michael@1: - Adjust packaging michael@1: michael@0: * Fri Oct 29 2010 Kozinov Ivan - 3.98.4-1 michael@1: - Package for MeeGo 1.1