From 702da17f16e2bc2a99dd5987520207590288e567 Mon Sep 17 00:00:00 2001 From: openmamba WebBuild System Date: Sat, 6 Jan 2024 05:45:58 +0100 Subject: [PATCH] package created by davide using the webbuild interface [release 2.0.0-1mamba;Thu Jun 27 2013] --- README.md | 5 ++++ libshine.spec | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 85 insertions(+) create mode 100644 libshine.spec diff --git a/README.md b/README.md index 23fd883..3b45290 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,7 @@ # libshine +Savonet/shine is a library for encoding mp3 data which is implemented in fixed-point arithmetic. +The library can thus be used to implement super fast mp3 encoding on architectures without a FPU, such as armel, etc.. +In fact, it is also super fast on architectures with a FPU! + + diff --git a/libshine.spec b/libshine.spec new file mode 100644 index 0000000..ed26bf9 --- /dev/null +++ b/libshine.spec @@ -0,0 +1,80 @@ +Name: libshine +Version: 2.0.0 +Release: 1mamba +Summary: Revived fixed-point MP3 encoder +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: openmamba WebBuild System +URL: http://savonet.sourceforge.net/ +Source: http://sourceforge.net/projects/savonet/files/shine/shine-%{version}.tar.gz +License: LGPL +## AUTOBUILDREQ-BEGIN +## note: run 'autospec -u -a6 libshine' to get the list of build requirements. +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Savonet/shine is a library for encoding mp3 data which is implemented in fixed-point arithmetic. +The library can thus be used to implement super fast mp3 encoding on architectures without a FPU, such as armel, etc.. +In fact, it is also super fast on architectures with a FPU! + + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%package tools +Group: Applications/Multimedia +Summary: Utility applications for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description tools +This package contains utility applications for %{name}. + +%debug_package + +%prep +%setup -q -n shine-%{version} + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libshine.so.* +%doc COPYING + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/shine +%{_includedir}/shine/layer3.h +%{_libdir}/libshine.a +%{_libdir}/libshine.la +%{_libdir}/libshine.so +%{_libdir}/pkgconfig/shine.pc +%doc ChangeLog README.md + +%files tools +%defattr(-,root,root) +%{_bindir}/shineenc + +%changelog +* Thu Jun 27 2013 openmamba WebBuild System 2.0.0-1mamba +- package created by davide using the webbuild interface