update to 0.16.2 [release 0.16.2-1mamba;Sat Jul 23 2022]
This commit is contained in:
parent
bed3df6a28
commit
8140f82881
43
libmad.spec
43
libmad.spec
@ -1,19 +1,18 @@
|
||||
Name: libmad
|
||||
Version: 0.15.1b
|
||||
Release: 5mamba
|
||||
Version: 0.16.2
|
||||
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: http://www.underbit.com/products/mad/
|
||||
Source: ftp://ftp.mars.org/pub/mpeg/%{name}-%{version}.tar.gz
|
||||
Source: https://github.com/tenacityteam/libmad.git/%{version}/libmad-%{version}.tar.bz2
|
||||
Patch0: %{name}-0.15.1b-gcc-4.3.patch
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
LibMad is a library for high-quality mpeg audio decoding.
|
||||
@ -34,32 +33,19 @@ This is the devel package.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
|
||||
%patch0 -p1
|
||||
|
||||
# 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
|
||||
#sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
|
||||
#%patch0 -p1
|
||||
|
||||
%build
|
||||
%configure
|
||||
%cmake -d build
|
||||
|
||||
%make
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall
|
||||
install -p -D -m0644 mad.pc %{buildroot}%{_libdir}/pkgconfig/mad.pc
|
||||
%makeinstall -C build
|
||||
|
||||
#install -p -D -m0644 mad.pc %{buildroot}%{_libdir}/pkgconfig/mad.pc
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
@ -74,14 +60,17 @@ install -p -D -m0644 mad.pc %{buildroot}%{_libdir}/pkgconfig/mad.pc
|
||||
|
||||
%files devel
|
||||
%defattr(-, root, root)
|
||||
%{_libdir}/libmad.a
|
||||
%{_libdir}/libmad.la
|
||||
%{_libdir}/libmad.so
|
||||
%{_libdir}/pkgconfig/mad.pc
|
||||
%{_includedir}/*.h
|
||||
%dir %{_libdir}/cmake/mad
|
||||
%{_libdir}/cmake/mad/mad*.cmake
|
||||
%{_libdir}/pkgconfig/libmad.pc
|
||||
%doc CHANGES README TODO
|
||||
|
||||
%changelog
|
||||
* Sat Jul 23 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.16.2-1mamba
|
||||
- update to 0.16.2
|
||||
|
||||
* Sat Dec 12 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15.1b-5mamba
|
||||
- rebuilt with debug package
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user