automatic version update by autodist [release 0.16.4-1mamba;Thu Sep 28 2023]
This commit is contained in:
parent
30eb96a57e
commit
818775be12
49
libmad.spec
49
libmad.spec
@ -1,14 +1,15 @@
|
||||
Name: libmad
|
||||
Epoch: 1
|
||||
Version: 0.15.1b
|
||||
Release: 6mamba
|
||||
Version: 0.16.4
|
||||
Release: 1mamba
|
||||
Summary: A library for high-quality mpeg audio decoding
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
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
|
||||
Patch1: libmad-0.15.1b-length-check.patch
|
||||
Patch2: libmad-0.15.1b-md_size.patch
|
||||
@ -36,34 +37,15 @@ This is the devel package.
|
||||
|
||||
%prep
|
||||
%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
|
||||
%configure
|
||||
%make
|
||||
%cmake
|
||||
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall
|
||||
install -p -D -m0644 mad.pc %{buildroot}%{_libdir}/pkgconfig/mad.pc
|
||||
%cmake_install
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
@ -78,13 +60,20 @@ install -p -D -m0644 mad.pc %{buildroot}%{_libdir}/pkgconfig/mad.pc
|
||||
|
||||
%files devel
|
||||
%defattr(-, root, root)
|
||||
%{_libdir}/libmad.a
|
||||
%{_libdir}/libmad.so
|
||||
%{_libdir}/pkgconfig/mad.pc
|
||||
%{_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
|
||||
* 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
|
||||
- revert to 0.15.1b (bump epoch; 0.16.x does no longer exist and is incompatible e.g. with ocaml-mad)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user