Summary: LAME Ain't an MP3 Encoder... but it's the best. Name: lame Version: 3.100 Release: 4%{?_dist_release} License: GPLv2+ Group: multimedia URL: https://lame.sourceforge.net/ Vendor: Project Vine Distribution: Vine Linux Source: https://prdownloads.sourceforge.net/lame/lame-%{version}.tar.gz Patch1: %{name}-noexecstack.patch Patch2: libmp3lame-symbols.patch Patch10: lame-3.99-libs-termcap.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: gtk+-devel BuildRequires: nasm %{?enable_brhist:Requires: ncurses} Provides: self-build-lame = %{version}-%{release} Obsoletes: %{name}-mp3x < %{version}-%{release} %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. %package devel Summary: Shared and static libraries for LAME. Group: programming Requires: %{name} = %{version}-%{release} %description devel 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. This package contains the libraries and includes files needed to develop applications with lame. %debug_package %prep %setup -q %patch1 -p1 -b .noexec %patch2 -p1 -b .symbol %patch10 -p1 -b .termcap %build sed -i -e 's/^\(\s*hardcode_libdir_flag_spec\s*=\).*/\1/' configure %ifarch %{ix86} export CFLAGS="$RPM_OPT_FLAGS -ffast-math" #From LFS:http://www.linuxfromscratch.org/blfs/view/svn/multimedia/lame.html export ac_cv_header_xmmintrin_h=no %endif %configure \ --disable-dependency-tracking \ --disable-static \ %ifarch %{ix86} x86_64 --enable-nasm \ %else --disable-nasm \ %endif --enable-decoder \ --without-vorbis \ --enable-mp3rtp \ --enable-decode-layer1 \ --disable-debug \ ; %__make %{?_smp_mflags} %install %__rm -rf %{buildroot} %makeinstall %__rm -rf installed-docs %__mv -f %{buildroot}%{_datadir}/doc/%{name} installed-docs # some apps still expect to find %__ln_s -f lame/lame.h %{buildroot}%{_includedir}/lame.h # remove unpackaged files %__rm -f $RPM_BUILD_ROOT%{_libdir}/*.{la,a} %check %__make test %files %defattr (-,root,root) %license COPYING LICENSE %doc ChangeLog README TODO USAGE %doc installed-docs/* %{_bindir}/lame %{_bindir}/mp3rtp %{_libdir}/lib*.so.* %{_mandir}/man1/lame.1* %files devel %defattr (-,root,root) %doc API HACKING STYLEGUIDE %{_libdir}/lib*.so %{_includedir}/lame %{_includedir}/lame.h %changelog * Sat Jul 06 2024 Tomohiro "Tomo-p" KATO 3.100-4 - rebuilt with current environment. * Sun Oct 06 2019 Tomohiro "Tomo-p" KATO 3.100-3 - moved to VinePlus: patents of MP3 are expired. * Thu Sep 19 2019 Tomohiro "Tomo-p" KATO 3.100-2 - rebuilt with current environment. * Sun Dec 24 2017 Tomohiro "Tomo-p" KATO 3.100-1 - new upstream release. - imported Patch2 from rawhide. * Sun Jul 03 2016 Yoji TOYODA 3.99.5-2 - fix spec for i686 * Sat May 26 2012 Munehiro Yamamoto 3.99.5 - new upstream release * Wed Oct 19 2011 Munehiro Yamamoto 3.99-1 - new upstream release - applied lame-3.99-libs-termcap.patch * Sun Sep 11 2011 Munehiro Yamamoto 3.98.4-2 - change release to sync with self-build-lame * Sat Mar 27 2010 Munehiro Yamamoto 3.98.4-1 - new upstream release * Sat Mar 20 2010 Munehiro Yamamoto 3.98.3-1 - new upstream release * Sat Sep 26 2009 Munehiro Yamamoto 3.98.2-2 - change release to sync with self-build-lame * Sat Sep 26 2009 Munehiro Yamamoto 3.98.2-1 - new upstream release - applied some patches from RPM Fusion development - added in %%configure: --enable-decode-layer1 --disable-dependency-tracking --disable-static * Fri Jun 05 2009 Munehiro Yamamoto 3.97-5 - change release to sync with self-build-lame * Tue May 26 2009 Munehiro Yamamoto 3.97-4 - change release to sync with self-build-lame * Sun Nov 02 2008 Munehiro Yamamoto 3.97-3 - spec in utf8 - remove *.la * Wed May 07 2008 Kazutaka HARADA 3.97-2 - change %%{__make} option to -j1 * Sat May 03 2008 Kazutaka HARADA 3.97-1 - apply new versioning policy * Sun Nov 12 2006 KAZUKI SHIMURA 3.97-0vl3 - fix typo * Sun Nov 12 2006 KAZUKI SHIMURA 3.97-0vl2 - link libmp3lame with libm (patch1) * Sat Nov 11 2006 KAZUKI SHIMURA 3.97-0vl1 - initial build