75 lines
1.4 KiB
RPMSpec
75 lines
1.4 KiB
RPMSpec
Name: twolame
|
|
Version: 0.3.13
|
|
Release: 13
|
|
Summary: TwoLAME - an optimized MPEG Audio Layer 2 encoder
|
|
|
|
License: LGPLv2+
|
|
URL: http://www.twolame.org/
|
|
Source0: https://downloads.sourceforge.net/project/twolame/twolame/%{name}-%{version}.tar.gz
|
|
|
|
BuildRequires: gcc make libsndfile-devel
|
|
|
|
Provides: %{name}-libs = %{version}-%{release}
|
|
Obsoletes: %{name}-libs < 0.3.13-13
|
|
|
|
%description
|
|
TwoLAME is an optimised MPEG Audio Layer 2 (MP2) encoder based on tooLAME
|
|
by Mike Cheng, which in turn is based upon the ISO dist10 code and portions
|
|
of LAME.
|
|
|
|
|
|
%package devel
|
|
Summary: Development files for %{name}
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
%description devel
|
|
Development files for %{name} which include header files, dynamic libraries
|
|
and documentations.
|
|
|
|
|
|
%package_help
|
|
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
|
|
%build
|
|
%configure --disable-static
|
|
%disable_rpath
|
|
%make_build
|
|
|
|
|
|
%install
|
|
%make_install
|
|
%delete_la
|
|
|
|
|
|
%pre
|
|
%preun
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
%files
|
|
%license COPYING
|
|
%{_bindir}/*
|
|
%{_libdir}/libtwolame.so.*
|
|
|
|
|
|
%files devel
|
|
%{_includedir}/%{name}.h
|
|
%{_libdir}/libtwolame.so
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
|
|
|
%files help
|
|
%doc AUTHORS ChangeLog README TODO
|
|
%{_defaultdocdir}/*
|
|
%{_mandir}/man1/%{name}.1*
|
|
|
|
|
|
%changelog
|
|
* Thu Nov 28 2019 Qianbiao.NG <Qianbiao.NG@turnbig.net> - 0.3.13-13
|
|
- Repackage for openEuler OS
|