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