Blame SPECS/lame.spec

23df0a
Name:           lame
23df0a
Version:        3.100
23df0a
Release:        12%{?dist}
23df0a
Summary:        Free MP3 audio compressor
23df0a
23df0a
License:        GPLv2+
23df0a
URL:            http://lame.sourceforge.net/
23df0a
Source0:        https://downloads.sourceforge.net/sourceforge/lame/%{name}-%{version}.tar.gz
23df0a
Patch1:         %{name}-noexecstack.patch
23df0a
Patch2:         libmp3lame-symbols.patch
23df0a
23df0a
BuildRequires:  gcc
23df0a
BuildRequires:  make
23df0a
BuildRequires:  ncurses-devel
23df0a
%ifarch %{ix86}
23df0a
BuildRequires:  nasm
23df0a
%endif
23df0a
Requires:       %{name}-libs = %{version}-%{release}
23df0a
%if 0%{?fedora} >= 32 || 0%{?rhel} >= 8
23df0a
Obsoletes:      %{name}-mp3x < 3.100-7
23df0a
%endif
23df0a
23df0a
%description
23df0a
LAME is an open source MP3 encoder whose quality and speed matches
23df0a
commercial encoders. LAME handles MPEG-1, 2 and 2.5 layer III encoding
23df0a
with both constant and variable bitrates.
23df0a
23df0a
%package        libs
23df0a
Summary:        LAME MP3 encoding library
23df0a
23df0a
%description    libs
23df0a
LAME MP3 encoding library.
23df0a
23df0a
%package        devel
23df0a
Summary:        Development files for %{name}
23df0a
Requires:       %{name}-libs = %{version}-%{release}
23df0a
23df0a
%description    devel
23df0a
This package development files for %{name}.
23df0a
23df0a
%if (0%{?fedora} && 0%{?fedora} < 32) || (0%{?rhel} && 0%{?rhel} < 8)
23df0a
%package        mp3x
23df0a
Summary:        MP3 frame analyzer
23df0a
Requires:       %{name} = %{version}-%{release}
23df0a
BuildRequires:  gtk+-devel
23df0a
23df0a
%description    mp3x
23df0a
This package contains the mp3x frame analyzer.
23df0a
%endif
23df0a
23df0a
23df0a
%prep
23df0a
%autosetup -p1
23df0a
23df0a
23df0a
%build
23df0a
sed -i -e 's/^\(\s*hardcode_libdir_flag_spec\s*=\).*/\1/' configure
23df0a
%ifarch %{ix86}
23df0a
export CFLAGS="$RPM_OPT_FLAGS -ffast-math"
23df0a
#From LFS:http://www.linuxfromscratch.org/blfs/view/svn/multimedia/lame.html
23df0a
export ac_cv_header_xmmintrin_h=no
23df0a
%endif
23df0a
%configure \
23df0a
  --disable-dependency-tracking \
23df0a
  --disable-static \
23df0a
%ifarch %{ix86}
23df0a
  --enable-nasm \
23df0a
%endif
23df0a
%if (0%{?fedora} && 0%{?fedora} < 32) || (0%{?rhel} && 0%{?rhel} < 8)
23df0a
  --enable-mp3x \
23df0a
%endif
23df0a
  --enable-mp3rtp
23df0a
23df0a
%make_build
23df0a
23df0a
23df0a
%install
23df0a
%make_install INSTALL="install -p"
23df0a
rm -f %{buildroot}%{_libdir}/*.la
23df0a
# Some apps still expect to find <lame.h>
23df0a
ln -sf lame/lame.h %{buildroot}%{_includedir}/lame.h
23df0a
rm -rf %{buildroot}%{_docdir}/%{name}
23df0a
23df0a
23df0a
%check
23df0a
make test
23df0a
23df0a
23df0a
%ldconfig_scriptlets libs
23df0a
23df0a
23df0a
%files
23df0a
%doc README TODO USAGE doc/html/*.html
23df0a
%{_bindir}/lame
23df0a
%{_bindir}/mp3rtp
23df0a
%{_mandir}/man1/lame.1*
23df0a
23df0a
%files libs
23df0a
%doc ChangeLog
23df0a
%license COPYING LICENSE
23df0a
%{_libdir}/libmp3lame.so.0*
23df0a
23df0a
%files devel
23df0a
%doc API HACKING STYLEGUIDE
23df0a
%{_libdir}/libmp3lame.so
23df0a
%{_includedir}/lame
23df0a
%{_includedir}/lame.h
23df0a
23df0a
%if (0%{?fedora} && 0%{?fedora} < 32) || (0%{?rhel} && 0%{?rhel} < 8)
23df0a
%files mp3x
23df0a
%{_bindir}/mp3x
23df0a
%endif
23df0a
23df0a
%changelog
23df0a
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.100-12
23df0a
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
23df0a
  Related: rhbz#1991688
23df0a
23df0a
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 3.100-11
23df0a
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
23df0a
23df0a
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.100-10
23df0a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
23df0a
23df0a
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.100-9
23df0a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
23df0a
23df0a
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.100-8
23df0a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
23df0a
23df0a
* Fri Dec 20 2019 Robert Scheck <robert@fedoraproject.org> - 3.100-7
23df0a
- Disable packaging of gtk+-based lame-mp3x (#1760961, #1760995 #c1)
23df0a
23df0a
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.100-6
23df0a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
23df0a
23df0a
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.100-5
23df0a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
23df0a
23df0a
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.100-4
23df0a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
23df0a
23df0a
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.100-3
23df0a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
23df0a
23df0a
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.100-2
23df0a
- Switch to %%ldconfig_scriptlets
23df0a
23df0a
* Sun Oct 22 2017 Yaakov Selkowitz <yselkowi@redhat.com> - 3.100-1
23df0a
- Update to 3.100 (#1470202, #1505172)
23df0a
23df0a
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.99.5-10
23df0a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
23df0a
23df0a
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.99.5-9
23df0a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
23df0a
23df0a
* Wed May 10 2017 Yaakov Selkowitz <yselkowi@redhat.com> - 3.99.5-8
23df0a
- Rebuilt for inclusion into Fedora
23df0a
23df0a
* Sun Mar 19 2017 RPM Fusion Release Engineering <kwizart@rpmfusion.org> - 3.99.5-7
23df0a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
23df0a
23df0a
* Thu Aug 18 2016 Sérgio Basto <sergio@serjux.com> - 3.99.5-6
23df0a
- Clean spec, Vascom patches series, rfbz #4201, add license tag
23df0a
23df0a
* Sun Dec 07 2014 Nicolas Chauvet <kwizart@gmail.com> - 3.99.5-5
23df0a
- Fix FTBFS on i686
23df0a
23df0a
* Sat Dec 06 2014 Nicolas Chauvet <kwizart@gmail.com> - 3.99.5-4
23df0a
- Rebuilt for F-21
23df0a
23df0a
* Sun Aug 31 2014 Sérgio Basto <sergio@serjux.com> - 3.99.5-3
23df0a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
23df0a
23df0a
* Sun Mar 03 2013 Nicolas Chauvet <kwizart@gmail.com> - 3.99.5-2
23df0a
- Mass rebuilt for Fedora 19 Features
23df0a
23df0a
* Tue Apr 17 2012 Matthias Saou <matthias@saou.eu> 3.99.5-1
23df0a
- Update to 3.99.5.
23df0a
23df0a
* Sun Feb 19 2012 Nicolas Chauvet <kwizart@gmail.com> - 3.99.4-1
23df0a
- Update to 3.99.4
23df0a
23df0a
* Tue Jul 06 2010 Dominik Mierzejewski <rpm at greysector.net> - 3.98.4-1
23df0a
- update to 3.98.4
23df0a
- drop obsolete (build)requirements
23df0a
23df0a
* Sat Feb 27 2010 Dominik Mierzejewski <rpm at greysector.net> - 3.98.3-1
23df0a
- update to 3.98.3
23df0a
23df0a
* Sun Mar 29 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 3.98.2-3
23df0a
- rebuild for new F11 features
23df0a
23df0a
* Mon Oct 20 2008 Dominik Mierzejewski <rpm at greysector.net> - 3.98.2-2
23df0a
- update to 3.98.2
23df0a
- preserve file timestamps
23df0a
- drop obsolete patch
23df0a
- no need to call autoreconf anymore
23df0a
- fix parallel make builds
23df0a
23df0a
* Sun Aug 03 2008 Thorsten Leemhuis 
23df0a
- rebuild
23df0a
23df0a
* Thu Oct  4 2007 Hans de Goede <j.w.r.degoede@hhs.nl> - 3.97-6
23df0a
- Merge freshrpms spec into livna spec for rpmfusion:
23df0a
- Set release to 6 to be higher as both livna and freshrpms latest release
23df0a
- Update license tag for new license tag guidelines
23df0a
- Add --enable-decode-layer1 to configure flags
23df0a
- Make Source0 the advised sf.net download url
23df0a
- Make ChangeLog UTF-8
23df0a
- Don't duplicate the COPYING ChangeLog and LICENSE docs betweent the main
23df0a
  and the -libs package
23df0a
23df0a
* Fri Sep 21 2007 Ville Skyttä <ville.skytta at iki.fi> - 3.97-5
23df0a
- BuildRequire pkgconfig for gtk+-devel in EL-5.
23df0a
23df0a
* Sun Mar 11 2007 Dominik Mierzejewski <rpm at greysector.net> - 3.97-4
23df0a
- fix rpaths and SELinux noexec stack issue (patch by Hans de Goede)
23df0a
23df0a
* Wed Nov 01 2006 Dominik Mierzejewski <rpm at greysector.net> - 3.97-3
23df0a
- fix FC6+ binutils issues (patch by Rex Dieter)
23df0a
23df0a
* Thu Sep 28 2006 Dominik Mierzejewski <rpm at greysector.net> - 3.97-2
23df0a
- Split off -libs subpackage
23df0a
- Reenable parallel make
23df0a
23df0a
* Sun Sep 24 2006 Ville Skyttä <ville.skytta at iki.fi> - 3.97-1
23df0a
- 3.97, 3DNow! asm patch applied upstream.
23df0a
23df0a
* Wed Sep 20 2006 Ville Skyttä <ville.skytta at iki.fi> - 3.96.1-7
23df0a
- Avoid rpaths (from Ubuntu).
23df0a
- Don't ship static libraries.
23df0a
- Drop unneeded zero epochs.
23df0a
- Build with dependency tracking disabled.
23df0a
- Prune pre-2003 changelog entries.
23df0a
- Other specfile cleanups.
23df0a
23df0a
* Sun May 14 2006 Noa Resare <noa@resare.com> 3.96.1-6
23df0a
- Adding a patch to fix the 3DNow! asm and re-enable it
23df0a
23df0a
* Fri Apr  7 2006 Dams <anvil[AT]livna.org> - 3.96.1-5
23df0a
- Disabling nasm for now. (bug #892)
23df0a
23df0a
* Thu Mar 09 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
23df0a
- switch to new release field
23df0a
23df0a
* Tue Feb 28 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
23df0a
- add dist
23df0a
23df0a
* Tue Dec 27 2005 Thorsten Leemhuis <fedora[at]leemhuis.info> 3.96.1-0.lvn.4
23df0a
- add defattr to files of mp3x subpackage
23df0a
23df0a
* Tue Dec 27 2005 Thorsten Leemhuis <fedora[at]leemhuis.info> 3.96.1-0.lvn.3
23df0a
- Drop Epoch
23df0a
23df0a
* Sat Sep 17 2005 W. Michael Petullo <mike[at]flyn.org> - 0:3.96.1-0.lvn.2
23df0a
- Split mp3x into its own package to remove general gtk+ requirement.
23df0a
23df0a
* Sun Jul 25 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:3.96.1-0.lvn.1
23df0a
- Updated to 3.96.1.
23df0a
23df0a
* Thu Apr 15 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:3.96-0.lvn.1
23df0a
- Updated to 3.96.
23df0a
23df0a
* Tue Jan 27 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:3.95.1-0.lvn.3
23df0a
- Enable mp3x and mp3rtp.
23df0a
- Run tests in the %%check section.
23df0a
- Use "make install DESTDIR=..." instead of %%makeinstall.
23df0a
- s/fdr/lvn/ in release tag.
23df0a
23df0a
* Tue Jan 27 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> 0:3.95.1-0.fdr.2
23df0a
- Disabled parallel make (#61).
23df0a
23df0a
* Sat Jan 17 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> 0:3.95.1-0.fdr.1
23df0a
- Updated to 3.95.1.
23df0a
- Spec file edited to match current Fedora template.
23df0a
- Re-wrote descriptions.
23df0a
- Converted spec file to UTF-8.
23df0a
23df0a
* Sat Aug 16 2003 Marius L. Jøhndal <mariuslj at ifi.uio.no> 0:3.93.1-0.fdr.8
23df0a
- Patch configure instead of configure.in to avoid regenerating build files (bug 223).
23df0a
23df0a
* Mon Jul 21 2003 Marius L. Jøhndal <mariuslj at ifi.uio.no> 0:3.93.1-0.fdr.7
23df0a
- Rebuild to get source permissions right (bug 223).
23df0a
- Removed Requires: /usr/bin/find (bug 223).
23df0a
23df0a
* Sat May 10 2003 Marius Jøhndal <mariuslj at ifi.uio.no> 0:3.93.1-0.fdr.6
23df0a
- Use RPM_BUILD_ROOT and RPM_OPT_FLAGS instead of macros.
23df0a
23df0a
* Sat May 10 2003 Marius Jøhndal <mariuslj at ifi.uio.no> 0:3.93.1-0.fdr.5
23df0a
- Backed out Vorbis changes (bug 198, 223).
23df0a
23df0a
* Fri May  2 2003 Marius Jøhndal <mariuslj at ifi.uio.no> 0:3.93.1-0.fdr.4
23df0a
- Fixed problems with Makefiles being removed from documentation upon
23df0a
  installation.
23df0a
23df0a
* Fri Apr 25 2003 Marius Jøhndal <mariuslj at ifi.uio.no> 0:3.93.1-0.fdr.3
23df0a
- Honour %%optflags.
23df0a
- Vorbis support (bug #198).
23df0a
- Added LICENSE to documentation.
23df0a
23df0a
* Fri Apr  4 2003 Marius Jøhndal <mariuslj at ifi.uio.no> 0:3.93.1-0.fdr.2
23df0a
- Minor adjustments of optimisation flags and configure settings.
23df0a
- Killed some noise caused by a bad gtk macro.
23df0a
- Added epoch numbers to requires.
23df0a
23df0a
* Wed Apr  2 2003 Marius Jøhndal <mariuslj at ifi.uio.no> 0:3.93.1-0.fdr.1
23df0a
- Initial Fedora RPM release.
23df0a
23df0a
* Mon Mar 31 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
23df0a
- Rebuilt for Red Hat Linux 9.
23df0a
- Exclude .la file.
23df0a
23df0a
* Mon Jan 13 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
23df0a
- Update to 3.93.1.
23df0a
- Removed Epoch: tag, upgrade by hand! :-/