summaryrefslogtreecommitdiff
path: root/libmad.spec
diff options
context:
space:
mode:
Diffstat (limited to 'libmad.spec')
-rw-r--r--libmad.spec56
1 files changed, 56 insertions, 0 deletions
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 <fundawang@yeah.net> - 0.16.4-1
+- update to 0.16.4
+
+* 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