Summary: LAME Ain't an MP3 Encoder... but it's the best of all Name: lame Version: 3.96.1 Release: 1 License: LGPL Group: Applications/Multimedia URL: http://lame.sourceforge.net/ Source: http://dl.sf.net/lame/lame-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: ncurses-devel Provides: mp3encoder %description LAME is an educational tool to be used for learning about MP3 encoding. The goal of the LAME project is to use the open source model to improve the psycho acoustics, noise shaping and speed of MP3. Another goal of the LAME project is to use these improvements for the basis of a patent free audio compression codec for the GNU project. %package devel Summary: Shared and static libraries for LAME Group: Development/Libraries Requires: %{name} = %{version} %description devel LAME is an educational tool to be used for learning about MP3 encoding. This package contains both the shared and the static libraries from the LAME project. You will also need to install the main lame package in order to install these libraries. %prep %setup -q %build export CC=xlc export CFLAGS="-O2" ./configure --prefix=/opt/freeware --enable-static --disable-shared \ --enable-decode-layer1 --enable-mp3x \ --enable-mp3rtp --with-vorbis --enable-brhist make %install [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %makeinstall %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %files %defattr (-,root,root,0755) %doc ChangeLog COPYING README TODO USAGE doc/html/ %{_bindir}/* %{_libdir}/*.a %{_mandir}/man1/* %files devel %defattr (-,root,root,0755) %doc API HACKING STYLEGUIDE %{_includedir}/* %{_libdir}/*.la %changelog