2004-09-09 03:44:22 +00:00
|
|
|
|
%define ver 9.8
|
2004-09-09 03:43:47 +00:00
|
|
|
|
%define realver alpha%{ver}
|
|
|
|
|
|
|
|
|
|
Name: cdparanoia
|
|
|
|
|
Version: %{realver}
|
2004-09-09 03:45:09 +00:00
|
|
|
|
Release: 12
|
2004-09-09 03:43:47 +00:00
|
|
|
|
License: GPL
|
|
|
|
|
Group: Applications/Multimedia
|
|
|
|
|
Source: http://www.xiph.org/paranoia/download/%{name}-III-%{realver}.src.tgz
|
2004-09-09 03:45:04 +00:00
|
|
|
|
Patch0: cdparanoia-III-alpha9.8.nostrip.patch
|
2004-09-09 03:43:47 +00:00
|
|
|
|
Url: http://www.xiph.org/paranoia/index.html
|
|
|
|
|
BuildRoot: %{_tmppath}/cdparanoia-%{version}-root
|
2004-09-09 03:44:48 +00:00
|
|
|
|
Requires: cdparanoia-libs = %{version}-%{release}
|
|
|
|
|
Obsoletes: cdparanoia-III
|
|
|
|
|
Summary: A Compact Disc Digital Audio (CDDA) extraction tool (or ripper).
|
2004-09-09 03:43:47 +00:00
|
|
|
|
|
2004-09-09 03:44:48 +00:00
|
|
|
|
%description
|
2004-09-09 03:43:47 +00:00
|
|
|
|
Cdparanoia (Paranoia III) reads digital audio directly from a CD, then
|
|
|
|
|
writes the data to a file or pipe in WAV, AIFC or raw 16 bit linear
|
|
|
|
|
PCM format. Cdparanoia doesn't contain any extra features (like the ones
|
|
|
|
|
included in the cdda2wav sampling utility). Instead, cdparanoia's strength
|
|
|
|
|
lies in its ability to handle a variety of hardware, including inexpensive
|
|
|
|
|
drives prone to misalignment, frame jitter and loss of streaming during
|
|
|
|
|
atomic reads. Cdparanoia is also good at reading and repairing data from
|
|
|
|
|
damaged CDs.
|
|
|
|
|
|
2004-09-09 03:44:48 +00:00
|
|
|
|
%package -n cdparanoia-devel
|
2004-09-09 03:43:47 +00:00
|
|
|
|
Summary: Development tools for libcdda_paranoia (Paranoia III).
|
|
|
|
|
Group: Development/Libraries
|
2004-09-09 03:44:48 +00:00
|
|
|
|
Requires: cdparanoia-libs = %{version}-%{release}
|
2004-09-09 03:43:47 +00:00
|
|
|
|
|
2004-09-09 03:44:48 +00:00
|
|
|
|
%description -n cdparanoia-devel
|
2004-09-09 03:43:53 +00:00
|
|
|
|
The cdparanoia-devel package contains the static libraries and header
|
2004-09-09 03:43:47 +00:00
|
|
|
|
files needed for developing applications to read CD Digital Audio disks.
|
|
|
|
|
|
2004-09-09 03:44:48 +00:00
|
|
|
|
%package -n cdparanoia-libs
|
|
|
|
|
Summary: Libraries for libcdda_paranoia (Paranoia III).
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
|
|
|
|
|
%description -n cdparanoia-libs
|
|
|
|
|
The cdparanoia-libs package contains the dynamic libraries needed for
|
|
|
|
|
applications which read CD Digital Audio disks.
|
|
|
|
|
|
2004-09-09 03:43:47 +00:00
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{name}-III-%{realver}
|
2004-09-09 03:45:04 +00:00
|
|
|
|
%patch0 -p1 -b .nostrip
|
2004-09-09 03:43:47 +00:00
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2004-09-09 03:44:48 +00:00
|
|
|
|
%configure --includedir=%{_includedir}/cdda
|
2004-09-09 03:43:47 +00:00
|
|
|
|
make
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
install -d $RPM_BUILD_ROOT%{_bindir}
|
2004-09-09 03:44:48 +00:00
|
|
|
|
install -d $RPM_BUILD_ROOT%{_includedir}/cdda
|
2004-09-09 03:43:47 +00:00
|
|
|
|
install -d $RPM_BUILD_ROOT%{_libdir}
|
|
|
|
|
install -d $RPM_BUILD_ROOT%{_mandir}/man1
|
2004-09-09 03:44:58 +00:00
|
|
|
|
install -m 0755 cdparanoia $RPM_BUILD_ROOT%{_bindir}
|
2004-09-09 03:43:47 +00:00
|
|
|
|
install -m 0644 cdparanoia.1 $RPM_BUILD_ROOT%{_mandir}/man1/
|
2004-09-09 03:44:48 +00:00
|
|
|
|
install -m 0644 utils.h paranoia/cdda_paranoia.h interface/cdda_interface.h \
|
|
|
|
|
$RPM_BUILD_ROOT%{_includedir}/cdda
|
2004-09-09 03:43:47 +00:00
|
|
|
|
install -m 0755 paranoia/libcdda_paranoia.so.0.%{ver} \
|
2004-09-09 03:44:48 +00:00
|
|
|
|
interface/libcdda_interface.so.0.%{ver} \
|
2004-09-09 03:43:47 +00:00
|
|
|
|
$RPM_BUILD_ROOT%{_libdir}
|
2004-09-09 03:44:48 +00:00
|
|
|
|
install -m 0755 paranoia/libcdda_paranoia.a interface/libcdda_interface.a \
|
2004-09-09 03:43:47 +00:00
|
|
|
|
$RPM_BUILD_ROOT%{_libdir}
|
|
|
|
|
|
2004-09-09 03:44:48 +00:00
|
|
|
|
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
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
%post -n cdparanoia-libs
|
|
|
|
|
/sbin/ldconfig
|
2004-09-09 03:43:47 +00:00
|
|
|
|
|
2004-09-09 03:44:48 +00:00
|
|
|
|
%postun -n cdparanoia-libs
|
|
|
|
|
if [ "$1" -ge "1" ]; then
|
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
fi
|
2004-09-09 03:43:47 +00:00
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
2004-09-09 03:44:48 +00:00
|
|
|
|
%files -n cdparanoia
|
2004-09-09 03:43:47 +00:00
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%doc README GPL FAQ.txt
|
|
|
|
|
%{_bindir}/*
|
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
|
|
2004-09-09 03:44:48 +00:00
|
|
|
|
%files -n cdparanoia-libs
|
2004-09-09 03:43:47 +00:00
|
|
|
|
%defattr(-,root,root)
|
2004-09-09 03:44:48 +00:00
|
|
|
|
%{_libdir}/*.so*
|
|
|
|
|
|
|
|
|
|
%files -n cdparanoia-devel
|
|
|
|
|
%defattr(-,root,root)
|
2004-09-09 03:45:09 +00:00
|
|
|
|
%dir %{_includedir}/cdda/
|
2004-09-09 03:44:48 +00:00
|
|
|
|
%{_includedir}/cdda/*
|
2004-09-09 03:43:47 +00:00
|
|
|
|
%{_libdir}/*.a
|
|
|
|
|
|
|
|
|
|
%changelog
|
2004-09-09 03:45:07 +00:00
|
|
|
|
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
|
|
|
|
- automated rebuild
|
|
|
|
|
|
2004-09-09 03:45:04 +00:00
|
|
|
|
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
|
|
|
|
- automated rebuild
|
|
|
|
|
|
2004-09-09 03:44:58 +00:00
|
|
|
|
* Wed Apr 3 2002 Peter Jones <pjones@redhat.com> alpha9.8-8
|
|
|
|
|
- don't strip, let rpm do that
|
|
|
|
|
|
2004-09-09 03:44:55 +00:00
|
|
|
|
* Mon Feb 25 2002 Tim Powers <timp@redhat.com> alpha9.8-7
|
|
|
|
|
- fix broken Obsoletes of cdparanoia-devel
|
|
|
|
|
|
2004-09-09 03:44:48 +00:00
|
|
|
|
* Thu Dec 6 2001 Peter Jones <pjones@redhat.com> alpha9.8-6
|
|
|
|
|
- move includes to %{_includedir}/cdda/
|
|
|
|
|
- add utils.h to %install
|
|
|
|
|
- clean up %install some.
|
|
|
|
|
|
|
|
|
|
* Sun Nov 4 2001 Peter Jones <pjones@redhat.com> alpha9.8-5
|
|
|
|
|
- make a -libs package which contains the .so files
|
|
|
|
|
- make the cdparanoia dependancy towards that, not -devel
|
|
|
|
|
|
|
|
|
|
* Thu Aug 2 2001 Peter Jones <pjones@redhat.com>
|
|
|
|
|
- bump the release not to conflict with on in the RH build tree :/
|
|
|
|
|
- reverse devel dependency
|
|
|
|
|
|
|
|
|
|
* Wed Aug 1 2001 Peter Jones <pjones@redhat.com>
|
|
|
|
|
- fix %post and %postun to only run ldconfig for devel packages
|
|
|
|
|
|
2004-09-09 03:44:25 +00:00
|
|
|
|
* Wed Jul 18 2001 Crutcher Dunnavant <crutcher@redhat.com>
|
|
|
|
|
- devel now depends on package
|
|
|
|
|
|
2004-09-09 03:44:22 +00:00
|
|
|
|
* Wed Mar 28 2001 Peter Jones <pjones@redhat.com>
|
|
|
|
|
- 9.8 release.
|
|
|
|
|
|
2004-09-09 03:43:53 +00:00
|
|
|
|
* Tue Feb 27 2001 Karsten Hopp <karsten@redhat.de>
|
|
|
|
|
- fix spelling error in description
|
|
|
|
|
|
|
|
|
|
* Thu Dec 7 2000 Crutcher Dunnavant <crutcher@redhat.com>
|
|
|
|
|
- rebuild for new tree
|
|
|
|
|
|
2004-09-09 03:43:47 +00:00
|
|
|
|
* Fri Jul 21 2000 Trond Eivind Glomsr<EFBFBD>d <teg@redhat.com>
|
|
|
|
|
- use %%{_tmppath}
|
|
|
|
|
|
|
|
|
|
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
|
|
|
|
- automatic rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jun 06 2000 Preston Brown <pbrown@redhat.com>
|
|
|
|
|
- revert name change
|
|
|
|
|
- use new rpm macro paths
|
|
|
|
|
|
|
|
|
|
* Wed Apr 19 2000 Trond Eivind Glomsr<EFBFBD>d <teg@redhat.com>
|
|
|
|
|
- Switched spec file from the one used in Red Hat Linux 6.2, which
|
|
|
|
|
also changes the name
|
|
|
|
|
- gzip man page
|
|
|
|
|
|
|
|
|
|
* Thu Dec 23 1999 Peter Jones <pjones@redhat.com>
|
|
|
|
|
- update package to provide cdparanoia-alpha9.7-2.*.rpm and
|
|
|
|
|
cdparanoia-devel-alpha9.7-2.*.rpm. Also, URLs point at xiph.org
|
|
|
|
|
like they should.
|
|
|
|
|
|
|
|
|
|
* Wed Dec 22 1999 Peter Jones <pjones@redhat.com>
|
|
|
|
|
- updated package for alpha9.7, based on input from:
|
|
|
|
|
Monty <xiphmont@xiph.org>
|
|
|
|
|
David Philippi <david@torangan.saar.de>
|
|
|
|
|
|
|
|
|
|
* Mon Apr 12 1999 Michael Maher <mike@redhat.com>
|
|
|
|
|
- updated pacakge
|
|
|
|
|
|
|
|
|
|
* Tue Oct 06 1998 Michael Maher <mike@redhat.com>
|
|
|
|
|
- updated package
|
|
|
|
|
|
|
|
|
|
* Mon Jun 29 1998 Michael Maher <mike@redhat.com>
|
|
|
|
|
- built package
|