From fe9a28c43a704986b509d33f1ebeb751ed0e9416 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Sat, 2 Nov 2024 18:00:39 +0000 Subject: automatic import of libmad --- .gitignore | 1 + libmad.spec | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 58 insertions(+) create mode 100644 libmad.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..9133100 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/libmad-0.16.4.tar.gz diff --git a/libmad.spec b/libmad.spec new file mode 100644 index 0000000..86deed2 --- /dev/null +++ b/libmad.spec @@ -0,0 +1,56 @@ +Name: libmad +Version: 0.16.4 +Release: 1 +Summary: MPEG audio decoder library + +License: GPL-2.0-or-later +URL: https://codeberg.org/tenacityteam/libmad +Source0: https://codeberg.org/tenacityteam/libmad/releases/download/%{version}/%{name}-%{version}.tar.gz + +BuildRequires: gcc-c++ +BuildRequires: cmake >= 3.5.0 + +%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 +%cmake_build + +%install +%cmake_install + +%files +%license COPYING COPYRIGHT +%doc CHANGES CREDITS README.md TODO +%{_libdir}/libmad.so.* + +%files devel +%{_libdir}/libmad.so +%{_libdir}/cmake/mad +%{_libdir}/pkgconfig/*.pc +%{_includedir}/mad.h + +%changelog +* Sun Nov 03 2024 Funda Wang - 0.16.4-1 +- update to 0.16.4 + +* 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 diff --git a/sources b/sources new file mode 100644 index 0000000..a2e1751 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +ad7c5581c464385546c93d146fce83be libmad-0.16.4.tar.gz -- cgit v1.2.3