cdparanoia 10. woo!
This commit is contained in:
parent
ea82950cd1
commit
867516d46d
@ -1 +1 @@
|
|||||||
cdparanoia-III-alpha9.8.src.tgz
|
cdparanoia-III-10.0.src.tgz
|
||||||
|
@ -1,12 +1,11 @@
|
|||||||
%define ver 9.8
|
%define ver 10
|
||||||
%define realver alpha%{ver}
|
|
||||||
|
|
||||||
Name: cdparanoia
|
Name: cdparanoia
|
||||||
Version: %{realver}
|
Version: 10.0
|
||||||
Release: 30
|
Release: 1%{?dist}
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: Applications/Multimedia
|
Group: Applications/Multimedia
|
||||||
Source: http://www.xiph.org/paranoia/download/%{name}-III-%{realver}.src.tgz
|
Source: http://downloads.xiph.org/releases/%{name}/%{name}-III-%{version}.src.tgz
|
||||||
Patch0: cdparanoia-III-alpha9.8.nostrip.patch
|
Patch0: cdparanoia-III-alpha9.8.nostrip.patch
|
||||||
Patch1: cdparanoia-III-alpha9.8.labels.patch
|
Patch1: cdparanoia-III-alpha9.8.labels.patch
|
||||||
Patch2: cdparanoia-III-alpha9.8.O_EXCL.patch
|
Patch2: cdparanoia-III-alpha9.8.O_EXCL.patch
|
||||||
@ -54,18 +53,18 @@ The cdparanoia-libs package contains the dynamic libraries needed for
|
|||||||
applications which read CD Digital Audio disks.
|
applications which read CD Digital Audio disks.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-III-%{realver}
|
%setup -q -n %{name}-III-%{version}
|
||||||
%patch4 -p1 -b .sgio
|
#patch4 -p1 -b .sgio
|
||||||
%patch0 -p1 -b .nostrip
|
#patch0 -p1 -b .nostrip
|
||||||
%patch1 -p1 -b .labels
|
#patch1 -p1 -b .labels
|
||||||
%patch2 -p1 -b .O_EXCL
|
#patch2 -p1 -b .O_EXCL
|
||||||
%patch3 -p1 -b .cflags
|
#patch3 -p1 -b .cflags
|
||||||
%patch5 -p1 -b .verbose
|
#patch5 -p1 -b .verbose
|
||||||
%patch6 -p1 -b .louder
|
#patch6 -p1 -b .louder
|
||||||
%patch7 -p1 -b .verbosity3
|
#patch7 -p1 -b .verbosity3
|
||||||
%patch8 -p1 -b .env
|
#patch8 -p1 -b .env
|
||||||
%patch9 -p1 -b .smalldma
|
#patch9 -p1 -b .smalldma
|
||||||
%patch10 -p1 -b .lm
|
#patch10 -p1 -b .lm
|
||||||
%patch11 -p1 -b .setspeed
|
%patch11 -p1 -b .setspeed
|
||||||
%patch12 -p1 -b .headers
|
%patch12 -p1 -b .headers
|
||||||
|
|
||||||
@ -86,8 +85,8 @@ install -m 0755 cdparanoia $RPM_BUILD_ROOT%{_bindir}
|
|||||||
install -m 0644 cdparanoia.1 $RPM_BUILD_ROOT%{_mandir}/man1/
|
install -m 0644 cdparanoia.1 $RPM_BUILD_ROOT%{_mandir}/man1/
|
||||||
install -m 0644 utils.h paranoia/cdda_paranoia.h interface/cdda_interface.h \
|
install -m 0644 utils.h paranoia/cdda_paranoia.h interface/cdda_interface.h \
|
||||||
$RPM_BUILD_ROOT%{_includedir}/cdda
|
$RPM_BUILD_ROOT%{_includedir}/cdda
|
||||||
install -m 0755 paranoia/libcdda_paranoia.so.0.%{ver} \
|
install -m 0755 paranoia/libcdda_paranoia.so.0.10.0 \
|
||||||
interface/libcdda_interface.so.0.%{ver} \
|
interface/libcdda_interface.so.0.10.0 \
|
||||||
$RPM_BUILD_ROOT%{_libdir}
|
$RPM_BUILD_ROOT%{_libdir}
|
||||||
install -m 0755 paranoia/libcdda_paranoia.a interface/libcdda_interface.a \
|
install -m 0755 paranoia/libcdda_paranoia.a interface/libcdda_interface.a \
|
||||||
$RPM_BUILD_ROOT%{_libdir}
|
$RPM_BUILD_ROOT%{_libdir}
|
||||||
@ -95,8 +94,8 @@ install -m 0755 paranoia/libcdda_paranoia.a interface/libcdda_interface.a \
|
|||||||
/sbin/ldconfig -n $RPM_BUILD_ROOT/%{_libdir}
|
/sbin/ldconfig -n $RPM_BUILD_ROOT/%{_libdir}
|
||||||
|
|
||||||
pushd $RPM_BUILD_ROOT%{_libdir}
|
pushd $RPM_BUILD_ROOT%{_libdir}
|
||||||
ln -s libcdda_paranoia.so.0.%{ver} libcdda_paranoia.so
|
ln -s libcdda_paranoia.so.0.10.0 libcdda_paranoia.so
|
||||||
ln -s libcdda_interface.so.0.%{ver} libcdda_interface.so
|
ln -s libcdda_interface.so.0.10.0 libcdda_interface.so
|
||||||
popd
|
popd
|
||||||
|
|
||||||
%post -n cdparanoia-libs
|
%post -n cdparanoia-libs
|
||||||
@ -112,7 +111,7 @@ fi
|
|||||||
|
|
||||||
%files -n cdparanoia
|
%files -n cdparanoia
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc README GPL FAQ.txt
|
%doc README
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
@ -123,7 +122,6 @@ fi
|
|||||||
%files -n cdparanoia-devel
|
%files -n cdparanoia-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/cdda
|
%{_includedir}/cdda
|
||||||
%{_includedir}/cdda/*
|
|
||||||
%{_libdir}/*.a
|
%{_libdir}/*.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user