From 64b7bd4d7bb2aa2c98d6dadfd1b102075eb1bc4c Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 05:58:17 +0100 Subject: [PATCH] automatic update by autodist [release 0.3.13-1mamba;Wed Jan 26 2011] --- README.md | 11 ++++++ libtwolame.spec | 100 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 111 insertions(+) create mode 100644 libtwolame.spec diff --git a/README.md b/README.md index a429df2..0c428dc 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,13 @@ # libtwolame +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. + +Features added to TwoLAME: + +* Fully thread-safe +* Static and shared library (libtwolame) +* API very similar to LAME's (for easy porting) +* Frontend supports wider range of input files (using libsndfile) +* automake/libtool/pkgconfig based build system +* Written in Standard C (ISO C99 compliant) + diff --git a/libtwolame.spec b/libtwolame.spec new file mode 100644 index 0000000..8b62575 --- /dev/null +++ b/libtwolame.spec @@ -0,0 +1,100 @@ +Name: libtwolame +Version: 0.3.13 +Release: 1mamba +Summary: is an optimised MPEG Audio Layer 2 encoding library based on tooLAME +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: gil +URL: http://www.twolame.org/ +Source: http://downloads.sourceforge.net/sourceforge/twolame/twolame-%{version}.tar.gz +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libsndfile-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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. + +Features added to TwoLAME: + +* Fully thread-safe +* Static and shared library (libtwolame) +* API very similar to LAME's (for easy porting) +* Frontend supports wider range of input files (using libsndfile) +* automake/libtool/pkgconfig based build system +* Written in Standard C (ISO C99 compliant) + +%package devel +Group: Development/Libraries +Summary: Static libraries and headers for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +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. + +This package contains static libraries and header files need for development. + +%package apidocs +Group: Documentation +Summary: API documentation for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description apidocs +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. + +This package contains API documentation for %{name}. + +%prep +%setup -q -n twolame-%{version} + +%build +%configure +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 + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_bindir}/twolame +%{_libdir}/*.so.* +%{_mandir}/man1/twolame.1.gz +%doc AUTHORS COPYING + +%files devel +%defattr(-,root,root) +%dir %{_includedir} +%{_includedir}/*.h +%{_libdir}/*.a +%{_libdir}/*.la +%{_libdir}/*.so +%{_libdir}/pkgconfig/*.pc +%doc ChangeLog README TODO + +%files apidocs +%defattr(-,root,root) +%dir %{_docdir}/twolame +%{_docdir}/twolame/*.txt +%dir %{_docdir}/twolame/html +%{_docdir}/twolame/html/*.html +%{_docdir}/twolame/html/*.css +%{_docdir}/twolame/html/*.png + +%changelog +* Wed Jan 26 2011 Automatic Build System 0.3.13-1mamba +- automatic update by autodist + +* Tue Nov 18 2008 gil 0.3.12-1mamba +- package created by autospec