libmpcdec/libmpcdec.spec

82 lines
2.9 KiB
RPMSpec
Raw Normal View History

Name: libmpcdec
Version: 1.2.6
Release: 4mamba
Summary: Musepack is an audio compression format with a strong emphasis on high quality
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.musepack.net/
Source: http://files.musepack.net/source/libmpcdec-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
%description
Musepack is an audio compression format with a strong emphasis on high quality.
It's not lossless, but it is designed for transparency, so that you won't be able to hear differences between the original wave file and the much smaller MPC file. It is based on the MPEG-1 Layer-2 / MP2 algorithms, but since 1997 it has rapidly developed and vastly improved and is now at an advanced stage in which it contains heavily optimized and patentless code.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
Musepack is an audio compression format with a strong emphasis on high quality.
It's not lossless, but it is designed for transparency, so that you won't be able to hear differences between the original wave file and the much smaller MPC file. It is based on the MPEG-1 Layer-2 / MP2 algorithms, but since 1997 it has rapidly developed and vastly improved and is now at an advanced stage in which it contains heavily optimized and patentless code.
This package contains static libraries and header files needed for development.
%debug_package
%prep
%setup -q
%build
%configure
%make LDFLAGS="-Wl,-soname,libmpcdec.so.5"
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libmpcdec.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/mpcdec
%{_includedir}/mpcdec/*.h
%{_libdir}/libmpcdec.a
%{_libdir}/libmpcdec.la
%{_libdir}/libmpcdec.so
%doc ChangeLog INSTALL README
%changelog
* Tue Jan 04 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.6-4mamba
- rebuilt with debug package and specfile fixes
* Sat Nov 30 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.6-3mamba
- add LDFLAGS to build with correct SONAME
* Sun Aug 18 2013 Automatic Build System <autodist@mambasoft.it> 1.2.6-2mamba
- automatic rebuild by autodist
* Sun Jun 01 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.6-1mamba
- update to 1.2.6
* Mon Dec 05 2005 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 1.2.2-1qilnx
- update to version 1.2.2 by autospec
* Fri Jun 17 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.2-1qilnx
- package created by autospec