commit 3df3b9256135f90eff2096f62a8a7189b4d985b7 Author: dogsheng <960055655@qq.com> Date: Tue Nov 19 11:49:36 2019 +0800 Package init diff --git a/libmpcdec-1.2.6.tar.bz2 b/libmpcdec-1.2.6.tar.bz2 new file mode 100644 index 0000000..eac8e48 Binary files /dev/null and b/libmpcdec-1.2.6.tar.bz2 differ diff --git a/libmpcdec.spec b/libmpcdec.spec new file mode 100644 index 0000000..ea646a4 --- /dev/null +++ b/libmpcdec.spec @@ -0,0 +1,52 @@ +Name: libmpcdec +Version: 1.2.6 +Release: 23 +Summary: Musepack Audio Decoder +License: BSD +URL: http://www.musepack.net/ +Source0: http://files.musepack.net/source/libmpcdec-%{version}.tar.bz2 +BuildRequires: gcc-c++ gcc sed + +%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 has rapidly developed +and vastly improved and is now at an advanced stage in which it contains heavily +optimized and patentless code. + +%package devel +Summary: Development files for the Musepack audio decoding library +Requires: %{name} = %{version}-%{release} + +%description devel +Development and header files for Musepack. + +%prep +%autosetup -n %{name}-%{version} -p1 +sed -i.cflags -e 's|-O3 -fomit-frame-pointer||g' configure + +%build +%configure --disable-static +%make_build + +%install +%make_install +%delete_la + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%license COPYING +%doc AUTHORS ChangeLog README +%{_libdir}/libmpcdec.so.5* + +%files devel +%{_includedir}/mpcdec/ +%{_libdir}/libmpcdec.so + +%changelog +* Thu Oct 24 2019 yanzhihua - 1.2.6-23 +- Package init