diff --git a/lame.spec b/lame.spec index 85c5d0059a6e71e656a59718dc820dbdfc931c5a..e32571262f0c26b3c26dab32e47a46ec55f84c4d 100644 --- a/lame.spec +++ b/lame.spec @@ -1,10 +1,10 @@ Name: lame Version: 3.100 -Release: 10 +Release: 11 Summary: Free MP3 audio compressor -License: GPL-2.0+ and GPL-2.0 and LGPL-2.0 -URL: http://lame.sourceforge.net/ -Source0: http://downloads.sourceforge.net/sourceforge/lame/%{name}-%{version}.tar.gz +License: LGPL-2.0-or-later AND LGPL-2.1-or-later +URL: https://lame.sourceforge.net/ +Source0: https://downloads.sourceforge.net/sourceforge/lame/%{name}-%{version}.tar.gz Patch0001: lame-noexecstack.patch Patch0002: libmp3lame-symbols.patch Patch0003: 0001-fix-fuzz-undefined-behavior-error.patch @@ -25,12 +25,6 @@ Requires: %{name} = %{version}-%{release} %description devel The lame-devel package contains development files for lame. -%package help -Summary: man info for lame - -%description help -The lame-help Package contains man info for lame. - %package mp3x Summary: MP3 frame analyzer Requires: %{name} = %{version}-%{release} @@ -38,11 +32,11 @@ Requires: %{name} = %{version}-%{release} %description mp3x The lame-mp3x package contains the mp3x frame analyzer. +%package_help %prep %autosetup -p1 - %build sed -i -e 's/^\(\s*hardcode_libdir_flag_spec\s*=\).*/\1/' configure %configure \ @@ -55,25 +49,18 @@ sed -i -e 's/^\(\s*hardcode_libdir_flag_spec\s*=\).*/\1/' configure %delete_la ln -sf lame/lame.h %{buildroot}%{_includedir}/lame.h +rm -fr %{buildroot}%{_datadir}/doc %check -make test - -%post -/sbin/ldconfig - -%postun -/sbin/ldconfig - +%make_build test %files -%exclude %{_docdir}/%{name} -%doc README TODO USAGE doc/html/*.html ChangeLog COPYING LICENSE +%license COPYING LICENSE +%doc README TODO USAGE doc/html/*.html ChangeLog %{_bindir}/{lame,mp3rtp} %{_libdir}/libmp3lame.so.0* %files devel -%exclude %{_docdir}/%{name} %doc API HACKING STYLEGUIDE %{_libdir}/libmp3lame.so %{_includedir}/{lame,lame.h} @@ -85,6 +72,9 @@ make test %{_bindir}/mp3x %changelog +* Mon Sep 09 2024 Funda Wang - 3.100-11 +- cleanup spec + * Fri Oct 21 2022 wuzx - 3.100-10 - add sw64 patch diff --git a/lame.yaml b/lame.yaml index ff3636984d1edbf709882ebfba80965b3664fbdc..3814121683522de401e1289d1b343b633cde83ca 100644 --- a/lame.yaml +++ b/lame.yaml @@ -1,4 +1,4 @@ version_control: svn src_repo: https://svn.code.sf.net/p/lame/svn/trunk/lame tag_prefix: RELEASE_ -seperator: _ +separator: _