revert ghost 0.16.x release to a legacy package [release 0.16.3-2mamba;Thu Jul 06 2023]

This commit is contained in:
Silvan Calarco 2024-01-06 05:00:30 +01:00
parent 4a40a5fab0
commit 8c80834054
2 changed files with 21 additions and 41 deletions

View File

@ -1,12 +0,0 @@
diff -ur libmad.old/configure.ac libmad-0.15.1b/configure.ac
--- libmad.old/configure.ac 2004-01-23 09:41:32.000000000 +0000
+++ libmad-0.15.1b/configure.ac 2007-12-26 21:06:35.000000000 +0000
@@ -140,7 +140,7 @@
case "$optimize" in
-O|"-O "*)
optimize="-O"
- optimize="$optimize -fforce-mem"
+ : #optimize="$optimize -fforce-mem"
optimize="$optimize -fforce-addr"
: #x optimize="$optimize -finline-functions"
: #- optimize="$optimize -fstrength-reduce"

View File

@ -1,14 +1,13 @@
Name: libmad0 Name: libmad0
Version: 0.15.1b Version: 0.16.3
Release: 6mamba Release: 2mamba
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/libmad-%{version}.tar.gz Source: https://github.com/tenacityteam/libmad.git/%{version}/libmad-%{version}.tar.bz2
Patch0: libmad-0.15.1b-gcc-4.3.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
@ -33,32 +32,19 @@ This is the devel package.
%prep %prep
%setup -q -n libmad-%{version} %setup -q -n libmad-%{version}
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: libmad0
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}"
@ -73,16 +59,22 @@ 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
* Mon Aug 22 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15.1b-6mamba * Thu Jul 06 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.16.3-2mamba
- legacy package - revert ghost 0.16.x release to a legacy package
* Sun Sep 11 2022 Automatic Build System <autodist@mambasoft.it> 0.16.3-1mamba
- automatic version update by autodist
* 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