summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-11-02 18:00:39 +0000
committerCoprDistGit <infra@openeuler.org>2024-11-02 18:00:39 +0000
commitfe9a28c43a704986b509d33f1ebeb751ed0e9416 (patch)
treededa67d2e44a3e6cff3681e6fca661067985a610
parent731a416fc4e7168c03b784120a6d6374b7b7fac6 (diff)
automatic import of libmadopeneuler24.03_LTS
-rw-r--r--.gitignore1
-rw-r--r--libmad.spec56
-rw-r--r--sources1
3 files changed, 58 insertions, 0 deletions
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 <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
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