Name: libmad Version: 0.16.3 Release: 1 Summary: MPEG audio decoder library License: GPLv2+ URL: http://codeberg.org/tenacityteam/libmad Source0: http://codeberg.org/tenacityteam/libmad/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz patch0: Add_unversioned_so.patch BuildRequires: cmake make gcc-c++ %description MAD is a high-quality MPEG audio decoder. It currently supports MPEG-1 and the MPEG-2 extension to Lower Sampling Frequencies, as well as the so-called MPEG 2.5 format. All three audio layers (Layer I, Layer II, and Layer III a.k.a. MP3) are fully implemented. %package devel Summary: MPEG audio decoder library development files Requires: %{name} = %{version}-%{release} %description devel MPEG audio decoder library development files %prep %autosetup -p1 -n %{name} %build %cmake -DOPTIMIZE=ACCURACY %make_build %install %make_install %delete_la cp -p %{buildroot}%{_libdir}/pkgconfig/libmad.pc \ %{buildroot}%{_libdir}/pkgconfig/mad.pc %post /sbin/ldconfig %postun /sbin/ldconfig %files %doc CHANGES CREDITS README TODO COPYING COPYRIGHT %{_libdir}/libmad.so.* %files devel %{_libdir}/libmad.so %{_libdir}/cmake/mad/ %{_libdir}/pkgconfig/libmad.pc %{_libdir}/pkgconfig/mad.pc %{_includedir}/mad.h %changelog * Wed Oct 18 2023 chenyaqiang - 0.16.3-1 - update to 0.16.3 * Tue Feb 25 2020 zhouyihang - 0.15.1b-28 - Package init