twolame/twolame.spec

115 lines
3.6 KiB
RPMSpec
Raw Permalink Normal View History

2022-08-19 14:12:51 +00:00
Name: twolame
2022-08-19 16:39:47 +00:00
Version: 0.4.0
Release: 6%{?dist}
2022-08-19 14:12:51 +00:00
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+
2023-10-13 10:57:24 +00:00
License: LGPL-2.1-or-later
2022-08-19 14:12:51 +00:00
URL: http://www.twolame.org/
2022-08-19 16:39:47 +00:00
Source: http://downloads.sourceforge.net/twolame/%{name}-%{version}.tar.gz
2022-08-19 14:12:51 +00:00
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: make
BuildRequires: gcc
2022-08-19 14:12:51 +00:00
BuildRequires: libtool
BuildRequires: pkgconfig(sndfile) >= 1.0.0
%description
2022-08-19 14:12:51 +00:00
TwoLAME is an optimized MPEG Audio Layer 2 (MP2) encoder. It should be able to
be used as a drop-in replacement for LAME (a MPEG Layer 3 encoder). The frontend
takes very similar command line options to LAME, and the backend library has a
very similar API to LAME.
This package contains the command line frontend.
%package libs
2022-08-19 14:12:51 +00:00
Summary: TwoLAME is an optimized MPEG Audio Layer 2 encoding library based on tooLAME
%description libs
2022-08-19 14:12:51 +00:00
TwoLAME is an optimized MPEG Audio Layer 2 (MP2) encoder. It should be able to
be used as a drop-in replacement for LAME (a MPEG Layer 3 encoder). The frontend
takes very similar command line options to LAME, and the backend library has a
very similar API to LAME.
This package contains the shared library.
%package devel
2022-08-19 14:12:51 +00:00
Summary: Development tools for TwoLAME applications
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description devel
2022-08-19 14:12:51 +00:00
This package contains the header files and documentation needed to develop
applications with TwoLAME.
%prep
%autosetup
%build
2022-08-19 14:12:51 +00:00
autoreconf -vif
2022-08-19 16:39:47 +00:00
%configure \
--disable-static \
--enable-sndfile
%make_build
%install
%make_install
rm %{buildroot}%{_libdir}/*.la
2022-08-19 14:12:51 +00:00
# Let RPM pick up the docs in the files section
rm -rf %{buildroot}%{_docdir}
2022-08-19 14:12:51 +00:00
%if 0%{?rhel} == 7
%ldconfig_scriptlets libs
2022-08-19 14:12:51 +00:00
%endif
%files
2022-08-19 16:39:47 +00:00
%doc AUTHORS ChangeLog NEWS README
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*
%files libs
2022-08-19 16:39:47 +00:00
%license COPYING
%{_libdir}/lib%{name}.so.*
%files devel
%doc doc/api.txt doc/html doc/psycho.txt doc/vbr.txt
%{_libdir}/pkgconfig/%{name}.pc
%{_libdir}/lib%{name}.so
%{_includedir}/%{name}.h
%changelog
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.4.0-6
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.4.0-5
- Bump release for June 2024 mass rebuild
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
2022-08-19 16:39:47 +00:00
* Fri Aug 19 2022 Simone Caronni <negativo17@gmail.com> - 0.4.0-1
- Update to 0.4.0.
2022-08-19 14:12:51 +00:00
* 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
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.13-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.13-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.13-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild