!1 package init

Merge pull request !1 from jinjin/master
This commit is contained in:
openeuler-ci-bot 2020-04-01 17:06:11 +08:00 committed by Gitee
commit a5cf74b61b
2 changed files with 74 additions and 0 deletions

BIN
twolame-0.3.13.tar.gz Normal file

Binary file not shown.

74
twolame.spec Normal file
View File

@ -0,0 +1,74 @@
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