代码拉取完成,页面将自动刷新
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 <chengyaqiang@huawei.com> - 0.16.3-1
- update to 0.16.3
* Tue Feb 25 2020 zhouyihang<zhouyihang1@huawei.com> - 0.15.1b-28
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。