cdparanoia 10. woo!

This commit is contained in:
Adam Jackson 2008-06-19 19:20:54 +00:00
parent ea82950cd1
commit 867516d46d
3 changed files with 23 additions and 25 deletions

View File

@ -1 +1 @@
cdparanoia-III-alpha9.8.src.tgz
cdparanoia-III-10.0.src.tgz

View File

@ -1,12 +1,11 @@
%define ver 9.8
%define realver alpha%{ver}
%define ver 10
Name: cdparanoia
Version: %{realver}
Release: 30
Version: 10.0
Release: 1%{?dist}
License: GPL
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
Patch1: cdparanoia-III-alpha9.8.labels.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.
%prep
%setup -q -n %{name}-III-%{realver}
%patch4 -p1 -b .sgio
%patch0 -p1 -b .nostrip
%patch1 -p1 -b .labels
%patch2 -p1 -b .O_EXCL
%patch3 -p1 -b .cflags
%patch5 -p1 -b .verbose
%patch6 -p1 -b .louder
%patch7 -p1 -b .verbosity3
%patch8 -p1 -b .env
%patch9 -p1 -b .smalldma
%patch10 -p1 -b .lm
%setup -q -n %{name}-III-%{version}
#patch4 -p1 -b .sgio
#patch0 -p1 -b .nostrip
#patch1 -p1 -b .labels
#patch2 -p1 -b .O_EXCL
#patch3 -p1 -b .cflags
#patch5 -p1 -b .verbose
#patch6 -p1 -b .louder
#patch7 -p1 -b .verbosity3
#patch8 -p1 -b .env
#patch9 -p1 -b .smalldma
#patch10 -p1 -b .lm
%patch11 -p1 -b .setspeed
%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 utils.h paranoia/cdda_paranoia.h interface/cdda_interface.h \
$RPM_BUILD_ROOT%{_includedir}/cdda
install -m 0755 paranoia/libcdda_paranoia.so.0.%{ver} \
interface/libcdda_interface.so.0.%{ver} \
install -m 0755 paranoia/libcdda_paranoia.so.0.10.0 \
interface/libcdda_interface.so.0.10.0 \
$RPM_BUILD_ROOT%{_libdir}
install -m 0755 paranoia/libcdda_paranoia.a interface/libcdda_interface.a \
$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}
pushd $RPM_BUILD_ROOT%{_libdir}
ln -s libcdda_paranoia.so.0.%{ver} libcdda_paranoia.so
ln -s libcdda_interface.so.0.%{ver} libcdda_interface.so
ln -s libcdda_paranoia.so.0.10.0 libcdda_paranoia.so
ln -s libcdda_interface.so.0.10.0 libcdda_interface.so
popd
%post -n cdparanoia-libs
@ -112,7 +111,7 @@ fi
%files -n cdparanoia
%defattr(-,root,root)
%doc README GPL FAQ.txt
%doc README
%{_bindir}/*
%{_mandir}/man1/*
@ -123,7 +122,6 @@ fi
%files -n cdparanoia-devel
%defattr(-,root,root)
%{_includedir}/cdda
%{_includedir}/cdda/*
%{_libdir}/*.a
%changelog

View File

@ -1 +1 @@
9e97f4e4609338a1056d36457a082eb4 cdparanoia-III-alpha9.8.src.tgz
03a1aba5cf45ce7b83389d442a275acf cdparanoia-III-10.0.src.tgz