revert ghost 0.16.x release to a legacy package [release 0.16.3-2mamba;Thu Jul 06 2023]
This commit is contained in:
parent
4a40a5fab0
commit
8c80834054
@ -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"
|
50
libmad0.spec
50
libmad0.spec
@ -1,14 +1,13 @@
|
||||
Name: libmad0
|
||||
Version: 0.15.1b
|
||||
Release: 6mamba
|
||||
Version: 0.16.3
|
||||
Release: 2mamba
|
||||
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/libmad-%{version}.tar.gz
|
||||
Patch0: libmad-0.15.1b-gcc-4.3.patch
|
||||
Source: https://github.com/tenacityteam/libmad.git/%{version}/libmad-%{version}.tar.bz2
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
@ -33,32 +32,19 @@ This is the devel package.
|
||||
|
||||
%prep
|
||||
%setup -q -n libmad-%{version}
|
||||
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: libmad0
|
||||
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}"
|
||||
@ -73,16 +59,22 @@ 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
|
||||
* Mon Aug 22 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15.1b-6mamba
|
||||
- legacy package
|
||||
* Thu Jul 06 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.16.3-2mamba
|
||||
- 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
|
||||
- rebuilt with debug package
|
||||
|
Loading…
Reference in New Issue
Block a user