3e3291
Summary: Compact Disc Digital Audio (CDDA) extraction tool (or ripper)
3e3291
Name: cdparanoia
3e3291
Version: 10.2
3e3291
Release: 27%{?dist}
3e3291
# the app is GPLv2, everything else is LGPLv2
3e3291
License: GPLv2 and LGPLv2
3e3291
Group: Applications/Multimedia
3e3291
URL: http://www.xiph.org/paranoia/index.html
3e3291
3e3291
Source: http://downloads.xiph.org/releases/cdparanoia/cdparanoia-III-%{version}.src.tgz
3e3291
# Patch from upstream to fix cdda_interface.h C++ incompatibility ("private")
3e3291
# https://trac.xiph.org/changeset/15338
3e3291
# https://bugzilla.redhat.com/show_bug.cgi?id=463009
3e3291
Patch0: cdparanoia-10.2-#463009.patch
3e3291
# #466659
3e3291
Patch1: cdparanoia-10.2-endian.patch
3e3291
Patch2: cdparanoia-10.2-install.patch
3e3291
Patch3: cdparanoia-10.2-format-security.patch
3e3291
Patch4: cdparanoia-use-proper-gnu-config-files.patch
3e3291
Patch5: cdparanoia-10.2-ldflags.patch
3e3291
3e3291
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
3e3291
3e3291
%description 
3e3291
Cdparanoia (Paranoia III) reads digital audio directly from a CD, then
3e3291
writes the data to a file or pipe in WAV, AIFC or raw 16 bit linear
3e3291
PCM format.  Cdparanoia doesn't contain any extra features (like the ones
3e3291
included in the cdda2wav sampling utility).  Instead, cdparanoia's strength
3e3291
lies in its ability to handle a variety of hardware, including inexpensive
3e3291
drives prone to misalignment, frame jitter and loss of streaming during
3e3291
atomic reads.  Cdparanoia is also good at reading and repairing data from
3e3291
damaged CDs.
3e3291
3e3291
%package static
3e3291
Summary: Development tools for libcdda_paranoia (Paranoia III)
3e3291
Group: Development/Libraries
3e3291
Requires: cdparanoia-devel = %{version}-%{release}
3e3291
License: LGPLv2
3e3291
3e3291
%description static
3e3291
The cdparanoia-devel package contains the static libraries needed for
3e3291
developing applications to read CD Digital Audio disks.
3e3291
3e3291
%package libs
3e3291
Summary: Libraries for libcdda_paranoia (Paranoia III)
3e3291
Group: Applications/Multimedia
3e3291
License: LGPLv2
3e3291
3e3291
%description libs
3e3291
The cdparanoia-libs package contains the dynamic libraries needed for
3e3291
applications which read CD Digital Audio disks.
3e3291
3e3291
%package devel
3e3291
Summary: Development tools for libcdda_paranoia (Paranoia III)
3e3291
Group: Development/Libraries
3e3291
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
3e3291
License: LGPLv2
3e3291
3e3291
%description devel
3e3291
The cdparanoia-devel package contains the libraries and header files needed
3e3291
for developing applications to read CD Digital Audio disks.
3e3291
3e3291
%prep
3e3291
%setup -q -n cdparanoia-III-%{version}
3e3291
%patch0 -p3 -b .#463009
3e3291
%patch1 -p1 -b .endian
3e3291
%patch2 -p1 -b .install
3e3291
%patch3 -p1 -b .fmt-sec
3e3291
%patch4 -p1 -b .config
3e3291
%patch5 -p1 -b .ldflags
3e3291
3e3291
# Update config.guess/sub for newer architectures
3e3291
cp /usr/lib/rpm/redhat/config.* .
3e3291
3e3291
%build
3e3291
%configure --includedir=%{_includedir}/cdda
3e3291
# Also remove many warnings which we are aware of
3e3291
# Lastly, don't use _smp_mflags since it also makes the build fail
3e3291
make OPT="$RPM_OPT_FLAGS -Wno-pointer-sign -Wno-unused" LDFLAGS="%{?__global_ldflags}"
3e3291
3e3291
3e3291
%install
3e3291
make install DESTDIR=$RPM_BUILD_ROOT
3e3291
3e3291
%ldconfig_scriptlets libs
3e3291
3e3291
%files
3e3291
%doc COPYING* README
3e3291
%{_bindir}/cdparanoia
3e3291
%{_mandir}/man1/cdparanoia.1*
3e3291
3e3291
%files libs
3e3291
%{_libdir}/*.so.*
3e3291
3e3291
%files devel
3e3291
%{_includedir}/cdda/
3e3291
%{_libdir}/*.so
3e3291
3e3291
%files static
3e3291
%{_libdir}/*.a
3e3291
3e3291
%changelog
3e3291
* Wed Mar 07 2018 Adam Jackson <ajax@redhat.com> - 10.2-27
3e3291
- Fix LDFLAGS propagation
3e3291
- Stop building with -O0
3e3291
3e3291
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 10.2-26
3e3291
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
3e3291
3e3291
* Sun Feb 04 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 10.2-25
3e3291
- Switch to %%ldconfig_scriptlets
3e3291
3e3291
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 10.2-24
3e3291
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
3e3291
3e3291
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 10.2-23
3e3291
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
3e3291
3e3291
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 10.2-22
3e3291
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
3e3291
3e3291
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 10.2-21
3e3291
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
3e3291
3e3291
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 10.2-20
3e3291
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
3e3291
3e3291
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 10.2-19
3e3291
- Rebuilt for Fedora 23 Change
3e3291
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
3e3291
3e3291
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 10.2-18
3e3291
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
3e3291
3e3291
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 10.2-17
3e3291
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
3e3291
3e3291
* Sat May  3 2014 Peter Robinson <pbrobinson@fedoraproject.org> 10.2-16
3e3291
- Update config.guess config.sub to build on new architectures
3e3291
- Cleanup spec
3e3291
3e3291
* Mon Apr 14 2014 Jaromir Capik <jcapik@redhat.com> - 10.2-15
3e3291
- Fixing format-security flaws (#1037011)
3e3291
3e3291
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 10.2-14
3e3291
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
3e3291
3e3291
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 10.2-13
3e3291
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
3e3291
3e3291
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 10.2-12
3e3291
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
3e3291
3e3291
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 10.2-11
3e3291
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
3e3291
3e3291
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 10.2-10
3e3291
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
3e3291
3e3291
* Fri Feb 05 2010 Adam Jackson <ajax@redhat.com> 10.2-9
3e3291
- Fix packaging typo from -7
3e3291
3e3291
* Wed Feb 03 2010 Peter Jones <pjones@redhat.com> - 10.2-8
3e3291
- Incorporate changes from Matthias Saou:
3e3291
- Include install patch, to avoid all of the ugly manual installation.
3e3291
- Cosmetic fixes (libs group, scriplets, don't mix %%name with hardcode...).
3e3291
3e3291
* Tue Feb 02 2010 Adam Jackson <ajax@redhat.com> 10.2-7
3e3291
- Move static libs to -static subpackage, make it require -devel
3e3291
3e3291
* Tue Dec  8 2009 Matthias Saou <http://freshrpms.net/> 10.2-6
3e3291
- Fix all of the problems detected during the review which aren't acceptable
3e3291
  according to the current policies and guidelines (part of #225638).
3e3291
- Don't prefix summaries with "A" nor suffix them with a dot.
3e3291
- Move .so symlink to the devel sub-package (#203620).
3e3291
- Add highest known version to the cdparanoia-III obsoletes.
3e3291
- Remove incorrect buildroot removal from %%build.
3e3291
- Use acceptable %%clean section.
3e3291
- Provide cdparanoia-static in the devel sub-package since the *.a is there.
3e3291
- Use single-command scriplet syntax for /sbin/ldconfig calls.
3e3291
- Escape all macros in changelog.
3e3291
- Include license file since it is present with the sources.
3e3291
3e3291
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 10.2-5
3e3291
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
3e3291
3e3291
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 10.2-4
3e3291
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
3e3291
3e3291
* Tue Feb 10 2009 Adam Jackson <ajax@redhat.com>
3e3291
- Merge review cleanups (not finished, #225638)
3e3291
3e3291
* Tue Feb 10 2009 Adam Jackson <ajax@redhat.com> 10.2-3
3e3291
- cdparanoia-10.2-endian.patch: Backport a crash fix for host/drive
3e3291
  endianness mismatch. (#466659)
3e3291
3e3291
* Tue Sep 30 2008 Kevin Kofler <Kevin@tigcc.ticalc.org> 10.2-2
3e3291
- fix cdda_interface.h C++ incompatibility (patch from upstream) (#463009)
3e3291
3e3291
* Thu Sep 11 2008 Adam Jackson <ajax@redhat.com> 10.2-1
3e3291
- cdparanoia 10.2
3e3291
3e3291
* Wed Aug 13 2008 Adam Jackson <ajax@redhat.com> 10.1-1
3e3291
- Update to 10.1, just changes the license back.
3e3291
3e3291
* Tue Jul 15 2008 Tom "spot" Callaway <tcallawa@redhat.com> 10.0-3
3e3291
- fix license tag
3e3291
- fix headers, setspeed patch to apply with fuzz=0
3e3291
3e3291
* Thu Jun 19 2008 Adam Jackson <ajax@redhat.com> 10.0-2
3e3291
- cdparanoia 10.
3e3291
3e3291
* Thu Mar 20 2008 Adam Jackson <ajax@redhat.com> alpha9.8-30
3e3291
- Add -Werror-implicit-function-declarations.
3e3291
- cdparanoia-III-alpha9.8-headers.patch: Fix the resulting errors.
3e3291
3e3291
* Tue Mar 04 2008 Adam Jackson <ajax@redhat.com> alpha9.8-29
3e3291
- cdparanoia-III-alpha9.8.scsi-setspeed.patch: Allow setting the speed of
3e3291
  SCSI CD drives. (#431178)
3e3291
3e3291
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - alpha9.8-28.2
3e3291
- Autorebuild for GCC 4.3
3e3291
3e3291
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - alpha9.8-27.2
3e3291
- rebuild
3e3291
3e3291
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - alpha9.8-27.1
3e3291
- bump again for double-long bug on ppc(64)
3e3291
3e3291
* Wed Feb 08 2006 Monty Montgomery <cmontgom@redhat.com> - alpha9.8-27
3e3291
- rebuilt 
3e3291
3e3291
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - alpha9.8-26.2
3e3291
- rebuilt for new gcc4.1 snapshot and glibc changes
3e3291
3e3291
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
3e3291
- rebuilt
3e3291
3e3291
* Sat Oct 15 2005 Florian La Roche <laroche@redhat.com>
3e3291
- make sure shared libs are linked against respective other libs
3e3291
3e3291
* Wed Mar 16 2005 Peter Jones <pjones@redhat.com> alpha9.8-25
3e3291
- gcc4 rebuild and CFLAGS change
3e3291
3e3291
* Wed Feb 9 2005 Peter Jones <pjones@redhat.com> alpha9.8-24.2
3e3291
- Rebuild for new toolchain
3e3291
3e3291
* Wed Oct 6 2004 Peter Jones <pjones@redhat.com> alpha9.8-24
3e3291
- workaround for sgio read size issues in newer kernels.
3e3291
3e3291
* Fri Oct 1 2004 Peter Jones <pjones@redhat.com> alpha9.8-23
3e3291
- "This time, with a meaningful changelog" release.  Just like -22.
3e3291
- new SG_IO code in rawhide.  This means ripping will no longer use the 
3e3291
  "cooked ioctl" mode that it has since we moved to 2.6, instead utilizing
3e3291
  the real scsi-based command set to talk to most drives.  This should
3e3291
  result in better error correction handling, and usage of much more
3e3291
  commonly used kernel features.
3e3291
- environment variable "CDDA_TRANSPORT" added.  If you set this to "cooked",
3e3291
  cdparanoia will try to use the "cooked ioctl" mode instead of SCSI/SG_IO
3e3291
  based modes first, and then fall back to SG_IO.
3e3291
- It'd be good if this got some testing.  A prior version of the SG_IO code
3e3291
  was known to fail on some USB drives.  This version should mitigate that
3e3291
  quite a bit, but I lack the hardware to test it for sure.
3e3291
  
3e3291
* Wed Jul 7 2004 Peter Jones <pjones@redhat.com> alpha9.8-21sgio1
3e3291
- a new set of sgio patches
3e3291
3e3291
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
3e3291
- rebuilt
3e3291
3e3291
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
3e3291
- rebuilt
3e3291
3e3291
* Tue Feb 17 2004 Peter Jones <pjones@redhat.com> alpha9.8-20
3e3291
- take ownership of %%{_includedir}/cdda
3e3291
3e3291
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
3e3291
- rebuilt
3e3291
3e3291
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
3e3291
- rebuilt
3e3291
3e3291
* Tue May 20 2003 Peter Jones <pjones@redhat.com> alpha9.8-17
3e3291
- typo fix (g_fd -> fd)
3e3291
- add errno output
3e3291
3e3291
* Tue May 06 2003 Peter Jones <pjones@redhat.com> alpha9.8-16
3e3291
- fix warnings on switches
3e3291
- use O_EXCL
3e3291
3e3291
* Tue Feb 04 2003 Florian La Roche <Florian.LaRoche@redhat.de>
3e3291
- add symlinks to shared libs
3e3291
3e3291
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
3e3291
- rebuilt
3e3291
3e3291
* Wed Dec 25 2002 Tim Powers <timp@redhat.com> alpha9.8-13
3e3291
- fix %%install references in the changelog so that it will rebuild properly
3e3291
3e3291
* Wed Dec 11 2002 Tim Powers <timp@redhat.com> alpha9.8-12
3e3291
- rebuild on all arches
3e3291
3e3291
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
3e3291
- automated rebuild
3e3291
3e3291
* Thu May 23 2002 Tim Powers <timp@redhat.com>
3e3291
- automated rebuild
3e3291
3e3291
* Wed Apr  3 2002 Peter Jones <pjones@redhat.com> alpha9.8-8
3e3291
- don't strip, let rpm do that
3e3291
3e3291
* Mon Feb 25 2002 Tim Powers <timp@redhat.com> alpha9.8-7
3e3291
- fix broken Obsoletes of cdparanoia-devel
3e3291
3e3291
* Thu Dec  6 2001 Peter Jones <pjones@redhat.com> alpha9.8-6
3e3291
- move includes to %%{_includedir}/cdda/
3e3291
- add utils.h to %%install
3e3291
- clean up %%install some.
3e3291
3e3291
* Sun Nov  4 2001 Peter Jones <pjones@redhat.com> alpha9.8-5
3e3291
- make a -libs package which contains the .so files
3e3291
- make the cdparanoia dependancy towards that, not -devel
3e3291
3e3291
* Thu Aug  2 2001 Peter Jones <pjones@redhat.com>
3e3291
- bump the release not to conflict with on in the RH build tree :/
3e3291
- reverse devel dependency
3e3291
3e3291
* Wed Aug  1 2001 Peter Jones <pjones@redhat.com>
3e3291
- fix %%post and %%postun to only run ldconfig for devel packages
3e3291
3e3291
* Wed Jul 18 2001 Crutcher Dunnavant <crutcher@redhat.com>
3e3291
- devel now depends on package
3e3291
3e3291
* Wed Mar 28 2001 Peter Jones <pjones@redhat.com>
3e3291
- 9.8 release.
3e3291
3e3291
* Tue Feb 27 2001 Karsten Hopp <karsten@redhat.de>
3e3291
- fix spelling error in description
3e3291
3e3291
* Thu Dec  7 2000 Crutcher Dunnavant <crutcher@redhat.com>
3e3291
- rebuild for new tree
3e3291
3e3291
* Fri Jul 21 2000 Trond Eivind Glomsrød <teg@redhat.com>
3e3291
- use %%{_tmppath}
3e3291
3e3291
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
3e3291
- automatic rebuild
3e3291
3e3291
* Wed Jun 06 2000 Preston Brown <pbrown@redhat.com>
3e3291
- revert name change
3e3291
- use new rpm macro paths
3e3291
3e3291
* Wed Apr 19 2000 Trond Eivind Glomsrød <teg@redhat.com>
3e3291
- Switched spec file from the one used in Red Hat Linux 6.2, which
3e3291
  also changes the name
3e3291
- gzip man page
3e3291
3e3291
* Thu Dec 23 1999 Peter Jones <pjones@redhat.com>
3e3291
- update package to provide cdparanoia-alpha9.7-2.*.rpm and 
3e3291
  cdparanoia-devel-alpha9.7-2.*.rpm.  Also, URLs point at xiph.org
3e3291
  like they should.
3e3291
3e3291
* Wed Dec 22 1999 Peter Jones <pjones@redhat.com>
3e3291
- updated package for alpha9.7, based on input from:
3e3291
  Monty <xiphmont@xiph.org> 
3e3291
  David Philippi <david@torangan.saar.de>
3e3291
3e3291
* Mon Apr 12 1999 Michael Maher <mike@redhat.com>
3e3291
- updated pacakge
3e3291
3e3291
* Tue Oct 06 1998 Michael Maher <mike@redhat.com>
3e3291
- updated package
3e3291
3e3291
* Mon Jun 29 1998 Michael Maher <mike@redhat.com>
3e3291
- built package