124 Star 0 Fork 6

src-openEuler/libmad

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
libmad.spec 1.46 KB
一键复制 编辑 原始数据 按行查看 历史
陈亚强 提交于 2023-10-23 17:45 . update to 0.16.3
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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/libmad.git
git@gitee.com:src-openeuler/libmad.git
src-openeuler
libmad
libmad
master

搜索帮助