Blame SPECS/lame.spec

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