Clean up SPEC file
This commit is contained in:
parent
f8b6afbcc8
commit
99e23affb8
159
twolame.spec
159
twolame.spec
@ -1,71 +1,64 @@
|
|||||||
Name: twolame
|
Name: twolame
|
||||||
Version: 0.3.13
|
Version: 0.3.13
|
||||||
Release: 20%{?dist}
|
Release: 21%{?dist}
|
||||||
Summary: Optimized MPEG Audio Layer 2 encoding library based on tooLAME
|
Summary: Optimized MPEG Audio Layer 2 encoding library based on tooLAME
|
||||||
# build-scripts/install-sh is MIT/X11, build-scripts/{libtool.m4, ltmain.sh} are GPLv2+
|
# build-scripts/install-sh is MIT/X11, build-scripts/{libtool.m4, ltmain.sh} are GPLv2+
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: http://www.twolame.org/
|
URL: http://www.twolame.org/
|
||||||
Source: http://downloads.sourceforge.net/twolame/%{name}-%{version}.tar.gz
|
|
||||||
|
|
||||||
BuildRequires: make
|
Source: https://github.com/njh/%{name}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: autoconf
|
||||||
|
BuildRequires: automake
|
||||||
|
BuildRequires: make
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: libsndfile-devel
|
BuildRequires: libtool
|
||||||
#BuildRequires: libtool
|
BuildRequires: pkgconfig(sndfile) >= 1.0.0
|
||||||
|
|
||||||
%description
|
%description
|
||||||
TwoLAME is an optimized MPEG Audio Layer 2 encoding library based on tooLAME,
|
TwoLAME is an optimized MPEG Audio Layer 2 (MP2) encoder. It should be able to
|
||||||
which in turn is based heavily on
|
be used as a drop-in replacement for LAME (a MPEG Layer 3 encoder). The frontend
|
||||||
- the ISO dist10 code
|
takes very similar command line options to LAME, and the backend library has a
|
||||||
- improvement to algorithms as part of the LAME project (www.sulaco.org/mp3)
|
very similar API to LAME.
|
||||||
|
|
||||||
This package contains the command line frontend.
|
This package contains the command line frontend.
|
||||||
|
|
||||||
%package libs
|
%package libs
|
||||||
Summary: TwoLAME is an optimized MPEG Audio Layer 2 encoding library based on tooLAME
|
Summary: TwoLAME is an optimized MPEG Audio Layer 2 encoding library based on tooLAME
|
||||||
%description libs
|
%description libs
|
||||||
TwoLAME is an optimized MPEG Audio Layer 2 encoding library based on tooLAME,
|
TwoLAME is an optimized MPEG Audio Layer 2 (MP2) encoder. It should be able to
|
||||||
which in turn is based heavily on
|
be used as a drop-in replacement for LAME (a MPEG Layer 3 encoder). The frontend
|
||||||
- the ISO dist10 code
|
takes very similar command line options to LAME, and the backend library has a
|
||||||
- improvement to algorithms as part of the LAME project (www.sulaco.org/mp3)
|
very similar API to LAME.
|
||||||
|
|
||||||
This package contains the shared library.
|
This package contains the shared library.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development tools for TwoLAME applications
|
Summary: Development tools for TwoLAME applications
|
||||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
Requires: pkgconfig
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package contains the header files and documentation
|
This package contains the header files and documentation needed to develop
|
||||||
needed to develop applications with TwoLAME.
|
applications with TwoLAME.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup
|
%autosetup
|
||||||
# convert manpage to UTF8
|
|
||||||
pushd doc
|
|
||||||
iconv -f iso8859-1 -t utf8 %{name}.1 > %{name}.1.utf && mv %{name}.1.utf %{name}.1
|
|
||||||
# fix HTML docs line endings
|
|
||||||
for file in html/*.html ; do
|
|
||||||
tr -d '\r' <$file >$file.unix && mv $file.unix $file
|
|
||||||
done
|
|
||||||
popd
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
#autoreconf -f -i
|
autoreconf -vif
|
||||||
%configure --disable-static
|
%configure --disable-static
|
||||||
|
|
||||||
# remove rpath from libtool
|
|
||||||
sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
||||||
sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
||||||
|
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
rm %{buildroot}%{_libdir}/*.la
|
rm %{buildroot}%{_libdir}/*.la
|
||||||
|
|
||||||
|
# Let RPM pick up the docs in the files section
|
||||||
rm -rf %{buildroot}%{_docdir}
|
rm -rf %{buildroot}%{_docdir}
|
||||||
|
|
||||||
|
%if 0%{?rhel} == 7
|
||||||
%ldconfig_scriptlets libs
|
%ldconfig_scriptlets libs
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc AUTHORS ChangeLog README TODO
|
%doc AUTHORS ChangeLog README TODO
|
||||||
@ -83,6 +76,10 @@ rm -rf %{buildroot}%{_docdir}
|
|||||||
%{_includedir}/%{name}.h
|
%{_includedir}/%{name}.h
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 19 2022 Simone Caronni <negativo17@gmail.com> - 0.3.13-21
|
||||||
|
- Clean up SPEC file.
|
||||||
|
- Trim changelog.
|
||||||
|
|
||||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.13-20
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.13-20
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
@ -94,89 +91,3 @@ rm -rf %{buildroot}%{_docdir}
|
|||||||
|
|
||||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.13-17
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.13-17
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.13-16
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.13-15
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.13-14
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.13-13
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.13-12
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.13-11
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Feb 05 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.13-10
|
|
||||||
- Switch to %%ldconfig_scriptlets
|
|
||||||
|
|
||||||
* Tue Jan 16 2018 Zamir SUN <sztsian@gmail.com> - 0.3.13-9
|
|
||||||
- Build for Fedora
|
|
||||||
|
|
||||||
* Fri Jan 12 2018 Zamir SUN <sztsian@gmail.com> - 0.3.13-8
|
|
||||||
- Prepare for push into Fedora repo
|
|
||||||
|
|
||||||
* Thu Aug 31 2017 RPM Fusion Release Engineering <kwizart@rpmfusion.org> - 0.3.13-7
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Mar 20 2017 RPM Fusion Release Engineering <kwizart@rpmfusion.org> - 0.3.13-6
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Aug 18 2016 Sérgio Basto <sergio@serjux.com> - 0.3.13-5
|
|
||||||
- Clean spec, Vascom patches series, rfbz #4202, add license tag
|
|
||||||
|
|
||||||
* Sun Aug 31 2014 Sérgio Basto <sergio@serjux.com> - 0.3.13-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sun Mar 03 2013 Nicolas Chauvet <kwizart@gmail.com> - 0.3.13-3
|
|
||||||
- Mass rebuilt for Fedora 19 Features
|
|
||||||
|
|
||||||
* Wed Jan 25 2012 Nicolas Chauvet <kwizart@gmail.com> - 0.3.13-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Jul 11 2011 Nicolas Chauvet <kwizart@gmail.com> - 0.3.13-1
|
|
||||||
- Update to 0.3.13
|
|
||||||
|
|
||||||
* Sun Mar 29 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 0.3.12-4
|
|
||||||
- rebuild for new F11 features
|
|
||||||
|
|
||||||
* Mon Aug 04 2008 kwizart < kwizart at gmail.com > - 0.3.12-3
|
|
||||||
- Remove rpath with the "patch libtool" method instead of autoreconf
|
|
||||||
|
|
||||||
* Sun Aug 03 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.3.12-2
|
|
||||||
- rebuild
|
|
||||||
|
|
||||||
* Sun Jan 13 2008 Dominik Mierzejewski <rpm@greysector.net> 0.3.12-1
|
|
||||||
- updated to 0.3.12
|
|
||||||
- updated source URL
|
|
||||||
- split off libs to avoid multilib conflicts
|
|
||||||
- move docs processing to prep to avoid problems with shortcut builds
|
|
||||||
- update license tag
|
|
||||||
|
|
||||||
* Thu May 03 2007 Dominik Mierzejewski <rpm@greysector.net> 0.3.10-1
|
|
||||||
- updated to 0.3.10
|
|
||||||
- removed redundant BRs
|
|
||||||
|
|
||||||
* Wed Nov 01 2006 Dominik Mierzejewski <rpm@greysector.net> 0.3.8-1
|
|
||||||
- updated to 0.3.8
|
|
||||||
- rebuild autofiles to get rid of rpath
|
|
||||||
- disable static library build
|
|
||||||
- fix manpage encoding
|
|
||||||
- fix HTML docs line endings
|
|
||||||
|
|
||||||
* Sun Mar 12 2006 Dominik Mierzejewski <rpm@greysector.net> 0.3.6-1
|
|
||||||
- updated to 0.3.6
|
|
||||||
|
|
||||||
* Tue Jan 24 2006 Dominik Mierzejewski <rpm@greysector.net> 0.3.5-1
|
|
||||||
- updated to 0.3.5
|
|
||||||
- simplified package layout
|
|
||||||
- FE/livna compliance
|
|
||||||
|
|
||||||
* Sun Aug 21 2005 Dominik Mierzejewski <rpm@greysector.net>
|
|
||||||
- initial package
|
|
||||||
|
Loading…
Reference in New Issue
Block a user