2024-01-06 05:00:21 +01:00
|
|
|
Name: libmad
|
2024-01-06 05:00:22 +01:00
|
|
|
Epoch: 1
|
2024-01-06 05:00:22 +01:00
|
|
|
Version: 0.16.4
|
|
|
|
Release: 1mamba
|
2024-01-06 05:00:21 +01:00
|
|
|
Summary: A library for high-quality mpeg audio decoding
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 05:00:22 +01:00
|
|
|
URL: https://www.underbit.com/products/mad/
|
2024-01-06 05:00:22 +01:00
|
|
|
Source0: https://codeberg.org/tenacityteam/libmad.git/%{version}/libmad-%{version}.tar.bz2
|
|
|
|
#Source: https://sourceforge.net/projects/mad/files/libmad/%{version}/libmad-%{version}.tar.gz
|
2024-01-06 05:00:22 +01:00
|
|
|
Patch0: libmad-0.15.1b-gcc-4.3.patch
|
|
|
|
Patch1: libmad-0.15.1b-length-check.patch
|
|
|
|
Patch2: libmad-0.15.1b-md_size.patch
|
2024-01-06 05:00:21 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%description
|
|
|
|
LibMad is a library for high-quality mpeg audio decoding.
|
|
|
|
It currently supports MPEG-1 and the MPEG-2 extension to lower sampling frequencies, as well as the de facto MPEG 2.5 format.
|
|
|
|
All three audio layers (Layer I, Layer II, and Layer III (i.e. MP3)) are fully implemented.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Header files and static library for development with libmad
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
LibMad is a library for high-quality mpeg audio decoding.It currently supports MPEG-1 and the MPEG-2 extension to lower sampling frequencies, as well as the de facto MPEG 2.5 format.
|
|
|
|
All three audio layers (Layer I, Layer II, and Layer III (i.e. MP3)) are fully implemented.
|
|
|
|
This is the devel package.
|
|
|
|
|
2024-01-06 05:00:21 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 05:00:21 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2024-01-06 05:00:22 +01:00
|
|
|
%cmake
|
|
|
|
|
|
|
|
%cmake_build
|
2024-01-06 05:00:21 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 05:00:22 +01:00
|
|
|
%cmake_install
|
2024-01-06 05:00:21 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 05:00:21 +01:00
|
|
|
%{_libdir}/libmad.so.*
|
|
|
|
%doc COPYING COPYRIGHT CREDITS
|
2024-01-06 05:00:21 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-, root, root)
|
2024-01-06 05:00:22 +01:00
|
|
|
%{_includedir}/*.h
|
2024-01-06 05:00:21 +01:00
|
|
|
%{_libdir}/libmad.so
|
2024-01-06 05:00:22 +01:00
|
|
|
%dir %{_libdir}/cmake/mad
|
|
|
|
%{_libdir}/cmake/mad/mad*.cmake
|
2024-01-06 05:00:22 +01:00
|
|
|
%{_libdir}/pkgconfig/mad.pc
|
2024-01-06 05:00:22 +01:00
|
|
|
%doc CHANGES TODO
|
2024-01-06 05:00:21 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 05:00:22 +01:00
|
|
|
* Thu Sep 28 2023 Automatic Build System <autodist@mambasoft.it> 0.16.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Sep 01 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.16.3-1mamba
|
|
|
|
- update to 0.16.3
|
|
|
|
|
2024-01-06 05:00:22 +01:00
|
|
|
* Thu Jul 06 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15.1b-6mamba
|
|
|
|
- revert to 0.15.1b (bump epoch; 0.16.x does no longer exist and is incompatible e.g. with ocaml-mad)
|
|
|
|
|
2024-01-06 05:00:21 +01:00
|
|
|
* Sun Sep 11 2022 Automatic Build System <autodist@mambasoft.it> 0.16.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:00:21 +01:00
|
|
|
* Sat Jul 23 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.16.2-1mamba
|
|
|
|
- update to 0.16.2
|
|
|
|
|
2024-01-06 05:00:21 +01:00
|
|
|
* Sat Dec 12 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15.1b-5mamba
|
|
|
|
- rebuilt with debug package
|
|
|
|
|
2024-01-06 05:00:21 +01:00
|
|
|
* Sat Dec 18 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15.1b-4mamba
|
|
|
|
- added patch for build with gcc >= 4.3
|
|
|
|
|
|
|
|
* Wed Apr 30 2008 Aleph0 <aleph0@openmamba.org> 0.15.1b-3mamba
|
|
|
|
- specfile updated
|
|
|
|
|
|
|
|
* Wed Jun 01 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.15.1b-2qilnx
|
|
|
|
- specfile updated
|
|
|
|
|
|
|
|
* Fri Oct 01 2004 Davide Madrisan <davide.madrisan@qilinux.it> 0.15.1b-1qilnx
|
|
|
|
- update to version 0.15.1b by autospec
|
|
|
|
- added the mad.pc file needed by some software (gst-plugins for instance)
|
|
|
|
|
|
|
|
* Sun Dec 21 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15.0b-1qilnx
|
|
|
|
- first build
|