123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223 |
- %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
- Name: cdparanoia
- Summary: A Compact Disc Digital Audio (CDDA) extraction tool (or ripper).
- Summary(ja): 音楽 CD (CDDA) 用の抽出ツール
- Version: 10.2
- Release: 5%{?_dist_release}
- Group: system,multimedia
- License: GPLv2 and LGPLv2
- URL: http://www.xiph.org/paranoia/index.html
- Source: http://www.xiph.org/paranoia/download/%{name}-III-%{version}.src.tgz
- # Patch from upstream to fix cdda_interface.h C++ incompatibility ("private")
- # https://trac.xiph.org/changeset/15338
- # https://bugzilla.redhat.com/show_bug.cgi?id=463009
- Patch0: cdparanoia-10.2-#463009.patch
- # #466659
- Patch1: cdparanoia-10.2-endian.patch
- Patch2: cdparanoia-10.2-install.patch
- Patch3: cdparanoia-10.2-format-security.patch
- Patch4: cdparanoia-use-proper-gnu-config-files.patch
- Patch5: cdparanoia-10.2-ldflags.patch
- # https://svn.xiph.org/trunk/cdparanoia@17289
- Patch6: cdparanoia-10.2-add-pkgconfig.patch
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- %description
- 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.
- %package devel
- Summary: Development tools for libcdda_paranoia (Paranoia III).
- Summary(ja): libcdda_paranoia (Paranoia III) の開発用ファイル
- Group: programming
- License: LGPLv2
- Requires: %{name} = %{version}-%{release}
- %description devel
- The cdparanoia-devel package contains the static libraries and header
- files needed for developing applications to read CD Digital Audio disks.
- # compat32
- %package -n compat32-%{name}
- Summary: A Compact Disc Digital Audio (CDDA) extraction tool (or ripper).
- Summary(ja): 音楽 CD (CDDA) 用の抽出ツール
- Group: system,legacy
- Requires: %{name} = %{version}-%{release}
- %description -n compat32-%{name}
- 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.
- %package -n compat32-%{name}-devel
- Summary: Development tools for libcdda_paranoia (Paranoia III).
- Summary(ja): libcdda_paranoia (Paranoia III) の開発用ファイル
- Group: programming,legacy
- Requires: compat32-%{name} = %{version}-%{release}
- Requires: %{name}-devel = %{version}-%{release}
- %description -n compat32-%{name}-devel
- The cdparanoia-devel package contains the static libraries and header
- files needed for developing applications to read CD Digital Audio disks.
- %debug_package
- %prep
- %setup -q -n %{name}-III-%{version}
- %patch0 -p3 -b .#463009
- %patch1 -p1 -b .endian
- %patch2 -p1 -b .install
- %patch3 -p1 -b .fmt-sec
- %patch4 -p1 -b .config
- %patch5 -p1 -b .ldflags
- %patch6 -p1 -b .pkgconfig
- %build
- autoreconf -ifv
- %configure --includedir=%{_includedir}/cdda
- # Using -O0 is mandatory, the build fails otherwise...
- # Also remove many warnings which we are aware of
- # Lastly, don't use _smp_mflags since it also makes the build fail
- make OPT="$RPM_OPT_FLAGS -Wno-pointer-sign -Wno-unused" LDFLAGS="%{?__global_ldflags}"
- %install
- rm -rf $RPM_BUILD_ROOT
- make install DESTDIR=$RPM_BUILD_ROOT
- mkdir -p %{buildroot}%{_mandir}/ja/man1
- install -m644 cdparanoia.1.jp %{buildroot}%{_mandir}/ja/man1/cdparanoia.1
- %clean
- [ "$RPM_BUILD_ROOT" != "/" -a -d "$RPM_BUILD_ROOT" ] && rm -rf "$RPM_BUILD_ROOT"
- %files
- %defattr(-,root,root)
- %doc README COPYING-GPL COPYING-LGPL
- %{_bindir}/*
- %{_libdir}/lib*.so.*
- %{_mandir}/man1/*
- %{_mandir}/ja/man1/*
- %files devel
- %defattr(-,root,root)
- %{_includedir}/cdda
- %{_libdir}/lib*.so
- %{_libdir}/*.a
- %{_libdir}/pkgconfig/cdparanoia-3.pc
- # compat32
- %if %{build_compat32}
- %files -n compat32-%{name}
- %defattr(-, root, root)
- %{_libdir}/*.so.*
- %files -n compat32-%{name}-devel
- %defattr(-, root, root)
- %{_libdir}/*.so
- %endif
- %changelog
- * Fri Apr 23 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.2-5
- - rebuilt with current environment.
- - dropped ldconfig scriptlets.
- - imported Patch4-6 from rawhide.
- * Thu Feb 22 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.2-4
- - imported Patch1-3 from rawhide.
- * Wed Jan 11 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 10.2-3
- - create compat32 sub packages
- * Sun Apr 10 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 10.2-2
- - rebuilt with new toolchain
- - added Japanese summary
- * Sun Aug 9 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 10.2-1
- - new upstream release
- - added Requires: cdparanoia to devel package
- * Sat Aug 16 2008 Shu KONNO <owa@bg.wakwak.com> alpha9.8-9vl5
- - applied new versioning policy
- * Tue Jul 3 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> alpha9.8-8vl6
- - add Patch1
- * Tue Oct 17 2006 NAKAMURA Kenta <kenta@vinelinux.org> alpha9.8-8vl5
- - added fPIC.patch fix a problem on x86_64 archtecture
- * Fri Dec 26 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> alpha9.8-8vl4
- - rebuild with new toolchain
- * Sun Mar 16 2003 IWAI Masaharu <iwai@alib.jp> alpha9.8-8vl3
- - rebuild with new toolchain
- * Tue Apr 24 2001 Masato Bito <masato@nets.ce.hiroshima-cu.ac.jp>
- - alpha9.8-8vl2
- - rebuild on VineSeed
- * Tue Apr 24 2001 Masato Bito <masato@nets.ce.hiroshima-cu.ac.jp>
- - alpha9.8-8vl1
- - included japanese manual
- * 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
- * Fri Jul 21 2000 Trond Eivind Glomsrød <teg@redhat.com>
- - use %%{_tmppath}
- * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
- - automatic rebuild
- * Tue Jun 06 2000 Preston Brown <pbrown@redhat.com>
- - revert name change
- - use new rpm macro paths
- * Wed Apr 19 2000 Trond Eivind Glomsrø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
|