Blame SPECS/lame.spec

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