Name: twolame Summary: TwoLAME is an optimized MPEG Audio Layer 2 (MP2) encoder Version: 0.3.6 Release: 10.1.rcn License: GPL Group: Applications/Multimedia URL: http://www.twolame.org/ Source0: http://download.sourceforge.net/%{name}/%{name}-%{version}.tar.gz Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libsndfile-devel Requires: libsndfile %description TwoLAME is an optimized MPEG Audio Layer 2 (MP2) encoder. It is based heavily on: - tooLAME by Michael Cheng - the ISO dist10 code - improvement to algorithms as part of the LAME project (lame.sf.net) - other contributors (see AUTHORS) TwoLAME should be able to be used as a drop-in replacement for LAME (a MPEG Layer 3 encoder). The frontend takes very similar command line options to LAME, and the backend library has a very similar API to LAME. %package -n %{name}-devel Summary: Files required to compile software that uses %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: pkgconfig %description -n %{name}-devel This package includes the header files and libraries needed to link software with the %{name} libraries. %prep %setup -q -n %{name}-%{version} sh autogen.sh %build %configure \ --prefix=%{_prefix} \ --libdir=%{_libdir} \ --includedir=%{_includedir} %{__make} %install %{__rm} -fr %{buildroot} make DESTDIR=%{buildroot} install %clean %{__rm} -fr %{buildroot} %post /sbin/ldconfig %postun /sbin/ldconfig %files %defattr(-, root, root, 0755) %doc AUTHORS ChangeLog COPYING README TODO %doc %{_datadir}/doc/twolame %{_bindir}/twolame %{_libdir}/libtwolame.so.* %{_mandir}/man1/twolame.1.gz %files -n %{name}-devel %defattr(-, root, root, 0755) %{_includedir}/twolame.h %{_libdir}/libtwolame.so %{_libdir}/libtwolame.a %exclude %{_libdir}/libtwolame.la %{_libdir}/pkgconfig/twolame.pc %changelog * Thu Mar 30 2006 Raoul - 0.3.6-10.1 - Rebuild * Fri Feb 03 2006 Raoul - 0.3.6-10.1 - 0.3.6 Initial spec file