twolame/twolame.spec

94 lines
2.8 KiB
RPMSpec
Raw Normal View History

2022-08-19 14:12:51 +00:00
Name: twolame
Version: 0.3.13
Release: 21%{?dist}
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+
2022-08-19 14:12:51 +00:00
License: LGPLv2+
URL: http://www.twolame.org/
2022-08-19 16:08:55 +00:00
Source: https://github.com/njh/%{name}/archive/refs/tags/%{version}.tar.gz#/%{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
%configure --disable-static
%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
%doc AUTHORS ChangeLog README TODO
%license COPYING
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*
%files libs
%{_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
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