87 lines
2.2 KiB
RPMSpec
87 lines
2.2 KiB
RPMSpec
Name: libshine
|
|
Version: 3.1.1
|
|
Release: 1mamba
|
|
Summary: Revived fixed-point MP3 encoder
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://github.com/toots/shine
|
|
Source: https://github.com/toots/shine.git/%{version}/shine-%{version}.tar.bz2
|
|
License: LGPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
## AUTOBUILDREQ-END
|
|
|
|
%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}
|
|
./bootstrap
|
|
|
|
%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
|
|
* Mon Dec 27 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.1-1mamba
|
|
- update to 3.1.1
|
|
|
|
* Tue Aug 13 2013 Automatic Build System <autodist@mambasoft.it> 3.0.0-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Thu Jun 27 2013 openmamba WebBuild System <webbuild@openmamba.org> 2.0.0-1mamba
|
|
- package created by davide using the webbuild interface
|