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