automatic version update by autodist [release 0.16.4-1mamba;Thu Sep 28 2023]

This commit is contained in:
Automatic Build System 2024-01-06 05:00:22 +01:00
parent 30eb96a57e
commit 818775be12

View File

@ -1,14 +1,15 @@
Name: libmad Name: libmad
Epoch: 1 Epoch: 1
Version: 0.15.1b Version: 0.16.4
Release: 6mamba Release: 1mamba
Summary: A library for high-quality mpeg audio decoding Summary: A library for high-quality mpeg audio decoding
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.underbit.com/products/mad/ URL: https://www.underbit.com/products/mad/
Source: https://sourceforge.net/projects/mad/files/libmad/%{version}/libmad-%{version}.tar.gz 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
Patch0: libmad-0.15.1b-gcc-4.3.patch Patch0: libmad-0.15.1b-gcc-4.3.patch
Patch1: libmad-0.15.1b-length-check.patch Patch1: libmad-0.15.1b-length-check.patch
Patch2: libmad-0.15.1b-md_size.patch Patch2: libmad-0.15.1b-md_size.patch
@ -36,34 +37,15 @@ This is the devel package.
%prep %prep
%setup -q %setup -q
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
%patch0 -p1
%patch1 -p1
%patch2 -p1 -b .md_size
# create an additional pkgconfig file
cat << _EOF > mad.pc
prefix=%{_prefix}
exec_prefix=%{_prefix}
libdir=%{_libdir}
includedir=%{_includedir}
Name: mad
Description: High-quality MPEG audio decoder
Requires:
Version: 0.15.1b
Libs: -L%{_libdir} -lmad -lm
Cflags: -I%{_includedir}
_EOF
%build %build
%configure %cmake
%make
%cmake_build
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall %cmake_install
install -p -D -m0644 mad.pc %{buildroot}%{_libdir}/pkgconfig/mad.pc
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -78,13 +60,20 @@ install -p -D -m0644 mad.pc %{buildroot}%{_libdir}/pkgconfig/mad.pc
%files devel %files devel
%defattr(-, root, root) %defattr(-, root, root)
%{_libdir}/libmad.a
%{_libdir}/libmad.so
%{_libdir}/pkgconfig/mad.pc
%{_includedir}/*.h %{_includedir}/*.h
%doc CHANGES README TODO %{_libdir}/libmad.so
%dir %{_libdir}/cmake/mad
%{_libdir}/cmake/mad/mad*.cmake
%{_libdir}/pkgconfig/mad.pc
%doc CHANGES TODO
%changelog %changelog
* 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
* Thu Jul 06 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15.1b-6mamba * 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) - revert to 0.15.1b (bump epoch; 0.16.x does no longer exist and is incompatible e.g. with ocaml-mad)