2024-01-06 07:27:35 +01:00
Name : musepack
Version : r475
2024-01-06 07:27:36 +01:00
Release : 2mamba
2024-01-06 07:27:35 +01:00
Summary : An audio compression format with a strong emphasis on high quality
Group : System/Multimedia
Vendor : openmamba
Distribution : openmamba
Packager : Silvan Calarco <silvan.calarco@mambasoft.it>
URL : http://www.musepack.net/
Source : http://files.musepack.net/source/musepack_src_%{version} .tar.gz
Patch0 : musepack_src_r475-libmpcdec-soname.patch
2024-01-06 07:27:36 +01:00
Patch1 : musepack-r475-am-maintainer-mode.patch
Patch2 : musepack-r475-link-libm.patch
Patch3 : musepack-r475-mpcchap.patch
Patch4 : musepack-r475-link-order.patch
Patch5 : musepack-r475-visibility.patch
Patch6 : musepack-r475-missing_extern_kw.patch
2024-01-06 07:27:35 +01:00
License : LGPL, BSD
## AUTOBUILDREQ-BEGIN
BuildRequires : glibc-devel
2024-01-06 07:27:36 +01:00
BuildRequires : ldconfig
BuildRequires : libcue-devel
2024-01-06 07:27:35 +01:00
BuildRequires : libreplaygain-devel
## AUTOBUILDREQ-END
BuildRequires : cmake
Requires : lib%{name} = %{?epoch:%epoch:}%{version} -%{release}
BuildRoot : %{_tmppath} /%{name} -%{version} -root
%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 -n lib%{name}
Group : System/Libraries
Summary : Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name} .
%package -n lib%{name}-devel
Group : Development/Libraries
Summary : Development files for %{name}
Requires : lib%{name} = %{?epoch:%epoch:}%{version} -%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name} .
%debug_package
%prep
%setup -q -n %{name} _src_%{version}
%patch0 -p1
2024-01-06 07:27:36 +01:00
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
autoreconf -fi
2024-01-06 07:27:35 +01:00
%build
2024-01-06 07:27:36 +01:00
%configure \
--enable-mpcchap
2024-01-06 07:27:35 +01:00
%make
%install
[ " %{buildroot} " != / ] && rm -rf " %{buildroot} "
2024-01-06 07:27:36 +01:00
%makeinstall
2024-01-06 07:27:35 +01:00
%clean
[ " %{buildroot} " != / ] && rm -rf " %{buildroot} "
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
%defattr (-,root,root)
%{_bindir} /mpc2sv8
%{_bindir} /mpcchap
%{_bindir} /mpccut
%{_bindir} /mpcdec
%{_bindir} /mpcenc
%{_bindir} /mpcgain
%{_bindir} /wavcmp
%files -n lib%{name}
%defattr (-,root,root)
%{_libdir} /libmpcdec.so.*
2024-01-06 07:27:36 +01:00
%doc libmpcdec/COPYING libmpcdec/AUTHORS
2024-01-06 07:27:35 +01:00
%files -n lib%{name}-devel
%defattr (-,root,root)
%dir %{_includedir} /mpc
%{_includedir} /mpc/datatypes.h
%{_includedir} /mpc/minimax.h
%{_includedir} /mpc/mpc_types.h
%{_includedir} /mpc/mpcdec.h
%{_includedir} /mpc/mpcmath.h
%{_includedir} /mpc/reader.h
%{_includedir} /mpc/streaminfo.h
2024-01-06 07:27:36 +01:00
%{_libdir} /libmpcdec.a
%{_libdir} /libmpcdec.la
%{_libdir} /libmpcdec.so
2024-01-06 07:27:35 +01:00
%changelog
2024-01-06 07:27:36 +01:00
* Sat Jan 30 2021 Silvan Calarco <silvan.calarco@mambasoft.it> r475-2mamba
- rebuilt with debug package
2024-01-06 07:27:35 +01:00
* Sat Nov 30 2013 Silvan Calarco <silvan.calarco@mambasoft.it> r475-1mamba
- package created using the webbuild interface