2007-01-15 23:06:44 +00:00
|
|
|
#
|
|
|
|
# spec file for package cdparanoia (Version IIIalpha9.8)
|
|
|
|
#
|
2008-04-10 11:10:18 +00:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:06:44 +00:00
|
|
|
#
|
2008-11-02 14:36:19 +00:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-15 23:06:44 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-04-10 11:10:18 +00:00
|
|
|
|
2007-01-15 23:06:44 +00:00
|
|
|
Name: cdparanoia
|
|
|
|
Provides: cdparano
|
|
|
|
Obsoletes: cdparano
|
2007-08-09 16:17:17 +00:00
|
|
|
License: GPL v2 or later
|
2007-01-15 23:06:44 +00:00
|
|
|
Group: Productivity/Multimedia/CD/Grabbers
|
2008-04-10 11:10:18 +00:00
|
|
|
AutoReqProv: on
|
2008-11-02 14:36:19 +00:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: cdparanoia-64bit
|
|
|
|
%endif
|
|
|
|
%ifarch %ix86 ppc
|
|
|
|
Obsoletes: cdparanoia-32bit
|
|
|
|
%endif
|
|
|
|
#
|
2007-01-15 23:06:44 +00:00
|
|
|
Version: IIIalpha9.8
|
2008-11-02 14:36:19 +00:00
|
|
|
Release: 690
|
2007-01-15 23:06:44 +00:00
|
|
|
Summary: A Program for Extracting, Verifying, and Fixing Audio Tracks from CDs
|
2008-04-10 11:10:18 +00:00
|
|
|
Url: http://www.xiph.org/paranoia/index.html
|
2007-01-15 23:06:44 +00:00
|
|
|
%define filever III-alpha9.8
|
|
|
|
Source: http://www.xiph.org/paranoia/download/cdparanoia-%{filever}.src.tgz
|
|
|
|
Patch: cdparanoia-III-alpha9.7.dif
|
|
|
|
Patch2: cdparanoia-III-alpha9.8-solve-crash.patch
|
|
|
|
#Patch3:
|
|
|
|
Patch4: cdparanoia-III-alpha9.8-gcc34.patch
|
|
|
|
Patch5: cdparanoia-III-alpha9.8-ide_majors.patch
|
|
|
|
Patch6: cdparanoia-III-alpha9.8-strip.patch
|
|
|
|
Patch7: cdparanoia-III-alpha9.8-dt_needed.patch
|
2007-08-09 16:17:17 +00:00
|
|
|
Patch8: cdparanoia-III-alpha9.8-sgio.patch
|
|
|
|
Patch9: cdparanoia-III-alpha9.8-gcc34-2.patch
|
2007-01-15 23:06:44 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
This CDDA reader distribution ('cdparanoia') reads audio from the
|
|
|
|
CD-ROM directly as data and writes the data to a file or pipe as .wav,
|
|
|
|
.aifc, or raw 16-bit linear PCM.
|
|
|
|
|
|
|
|
This is a beta release. See http://www.xiph.org/paranoia/.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Monty <xiphmont@mit.edu>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n cdparanoia-%{filever}
|
|
|
|
%patch
|
|
|
|
%patch2 -p 1
|
|
|
|
#%patch3 -p 1
|
|
|
|
%patch4 -p 1
|
|
|
|
%patch5
|
|
|
|
%patch6
|
|
|
|
%patch7
|
2007-08-09 16:17:17 +00:00
|
|
|
%patch8 -p 1
|
|
|
|
%patch9
|
2007-01-15 23:06:44 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
cp configure.guess config.guess
|
|
|
|
cp configure.sub config.sub
|
|
|
|
%{?suse_update_config:%{suse_update_config -f}}
|
|
|
|
cp config.guess configure.guess
|
|
|
|
cp config.sub configure.sub
|
|
|
|
autoconf
|
|
|
|
CFLAGS="$RPM_OPT_FLAGS" \
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--mandir=%{_mandir} \
|
|
|
|
--libdir=%_libdir
|
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/{%{_mandir}/man1,usr/{bin,include,lib}}
|
|
|
|
make prefix=$RPM_BUILD_ROOT/usr \
|
|
|
|
LIBDIR=$RPM_BUILD_ROOT/%_libdir \
|
|
|
|
MANDIR=$RPM_BUILD_ROOT/%{_mandir} install
|
|
|
|
JAPN_MANDIR=$RPM_BUILD_ROOT/%{_mandir}/ja/man1
|
|
|
|
mkdir -p $JAPN_MANDIR
|
|
|
|
install -m644 cdparanoia.1.jp $JAPN_MANDIR/cdparanoia.1
|
|
|
|
# do not package static libraries.
|
|
|
|
rm $RPM_BUILD_ROOT/%_libdir/libcdda_interface.a
|
|
|
|
rm $RPM_BUILD_ROOT/%_libdir/libcdda_paranoia.a
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post
|
|
|
|
%run_ldconfig
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%run_ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc README FAQ.txt
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
%{_mandir}/ja/man1/*
|
|
|
|
/usr/bin/*
|
|
|
|
/usr/include/*
|
|
|
|
%_libdir/lib*.so*
|
|
|
|
|
2007-08-09 16:17:17 +00:00
|
|
|
%changelog
|
2008-11-02 14:36:19 +00:00
|
|
|
* Thu Oct 30 2008 olh@suse.de
|
|
|
|
- obsolete old -XXbit packages (bnc#437293)
|
2008-04-10 11:10:18 +00:00
|
|
|
* Thu Apr 10 2008 ro@suse.de
|
|
|
|
- added baselibs.conf file to build xxbit packages
|
|
|
|
for multilib support
|
|
|
|
* Wed Aug 08 2007 pgajdos@suse.cz
|
2007-08-09 16:17:17 +00:00
|
|
|
- solved 'Lack of SG_IO interface support' [#295308]
|
|
|
|
* shortened gcc34.patch (leaved in hunks for utils.h only, removed
|
|
|
|
hunks for scsi_interface.c)
|
|
|
|
* new patch sgio.patch to solve error mentioned above
|
|
|
|
* new patch gcc34-2.patch (avoid persisting problems with
|
|
|
|
compilation -- memcpy macro)
|
2008-04-10 11:10:18 +00:00
|
|
|
* Fri Oct 27 2006 lnussel@suse.de
|
2007-01-15 23:06:44 +00:00
|
|
|
- remove resmgr patch
|
2008-04-10 11:10:18 +00:00
|
|
|
* Mon Jun 12 2006 dmueller@suse.de
|
2007-01-15 23:06:44 +00:00
|
|
|
- add DT_NEEDED for libcdda_interface to libccda_paranoia (#183849)
|
2008-04-10 11:10:18 +00:00
|
|
|
* Fri May 26 2006 schwab@suse.de
|
2007-01-15 23:06:44 +00:00
|
|
|
- Don't strip binaries.
|
2008-04-10 11:10:18 +00:00
|
|
|
* Tue May 23 2006 nadvornik@suse.cz
|
2007-01-15 23:06:44 +00:00
|
|
|
- check for all IDE major numbers
|
2008-04-10 11:10:18 +00:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-15 23:06:44 +00:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-04-10 11:10:18 +00:00
|
|
|
* Wed Aug 10 2005 nadvornik@suse.cz
|
2007-01-15 23:06:44 +00:00
|
|
|
- use RPM_OPT_FLAGS instead of hardcoded CFLAGS [#93874]
|
|
|
|
- fixed compiler warnings
|
2008-04-10 11:10:18 +00:00
|
|
|
* Mon Feb 07 2005 nadvornik@suse.cz
|
2007-01-15 23:06:44 +00:00
|
|
|
- do not dereference symlinks in resmgr device name [#44912]
|
2008-04-10 11:10:18 +00:00
|
|
|
* Wed Sep 15 2004 ro@suse.de
|
2007-01-15 23:06:44 +00:00
|
|
|
- don't use --host for configure
|
2008-04-10 11:10:18 +00:00
|
|
|
* Wed Jan 28 2004 schwab@suse.de
|
2007-01-15 23:06:44 +00:00
|
|
|
- Fix missing library dependency.
|
2008-04-10 11:10:18 +00:00
|
|
|
* Sat Jan 17 2004 meissner@suse.de
|
2007-01-15 23:06:44 +00:00
|
|
|
- fixed labels at end of compound statement problem.
|
2008-04-10 11:10:18 +00:00
|
|
|
* Sun Jan 11 2004 adrian@suse.de
|
2007-01-15 23:06:44 +00:00
|
|
|
- add %%run_ldconfig
|
2008-04-10 11:10:18 +00:00
|
|
|
* Mon May 19 2003 meissner@suse.de
|
2007-01-15 23:06:44 +00:00
|
|
|
- remove .a files, they are not packaged.
|
2008-04-10 11:10:18 +00:00
|
|
|
* Fri Feb 28 2003 meissner@suse.de
|
2007-01-15 23:06:44 +00:00
|
|
|
- Added resmgr support so cdparanoia can read audio CDs on
|
|
|
|
SCSI CD-ROMs (and ide-scsi based IDE CD-ROMs).
|
2008-04-10 11:10:18 +00:00
|
|
|
* Tue Sep 24 2002 nadvornik@suse.cz
|
2007-01-15 23:06:44 +00:00
|
|
|
- fixed crash with k3b [#18282]
|
2008-04-10 11:10:18 +00:00
|
|
|
* Tue Sep 17 2002 ro@suse.de
|
2007-01-15 23:06:44 +00:00
|
|
|
- removed bogus self-provides
|
2008-04-10 11:10:18 +00:00
|
|
|
* Thu Apr 25 2002 coolo@suse.de
|
2007-01-15 23:06:44 +00:00
|
|
|
- use %%_libdir
|
2008-04-10 11:10:18 +00:00
|
|
|
* Wed Jun 13 2001 schwab@suse.de
|
2007-01-15 23:06:44 +00:00
|
|
|
- Fix stupid file names.
|
2008-04-10 11:10:18 +00:00
|
|
|
* Tue Apr 03 2001 bk@suse.de
|
2007-01-15 23:06:44 +00:00
|
|
|
- update to III-alpha9.8
|
|
|
|
- remove of static libs from filelist(shared libs are used by e.g. kde)
|
2008-04-10 11:10:18 +00:00
|
|
|
* Thu Nov 09 2000 nadvornik@suse.cz
|
2007-01-15 23:06:44 +00:00
|
|
|
- renamed cdparano -> cdparanoia
|
2008-04-10 11:10:18 +00:00
|
|
|
* Wed Apr 26 2000 nadvornik@suse.cz
|
2007-01-15 23:06:44 +00:00
|
|
|
- changed Group
|
2008-04-10 11:10:18 +00:00
|
|
|
* Mon Apr 10 2000 nadvornik@suse.cz
|
2007-01-15 23:06:44 +00:00
|
|
|
- added BuildRoot
|
|
|
|
- added URL
|
2008-04-10 11:10:18 +00:00
|
|
|
* Tue Feb 29 2000 uli@suse.de
|
2007-01-15 23:06:44 +00:00
|
|
|
- fixed filelist (this time for real)
|
|
|
|
- now builds with "-O2" instead of "-O20"
|
2008-04-10 11:10:18 +00:00
|
|
|
* Tue Feb 29 2000 ro@suse.de
|
2007-01-15 23:06:44 +00:00
|
|
|
- fixed filelist
|
2008-04-10 11:10:18 +00:00
|
|
|
* Mon Jan 17 2000 ro@suse.de
|
2007-01-15 23:06:44 +00:00
|
|
|
- update to III-alpha9.7
|
|
|
|
- man to /usr/share/man
|
2008-04-10 11:10:18 +00:00
|
|
|
* Mon Sep 13 1999 bs@suse.de
|
2007-01-15 23:06:44 +00:00
|
|
|
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
2008-04-10 11:10:18 +00:00
|
|
|
* Fri Sep 03 1999 ro@suse.de
|
2007-01-15 23:06:44 +00:00
|
|
|
- update to III-alpha9.6
|
2008-04-10 11:10:18 +00:00
|
|
|
* Fri Jul 09 1999 ro@suse.de
|
2007-01-15 23:06:44 +00:00
|
|
|
- update to alpha9.5
|
2008-04-10 11:10:18 +00:00
|
|
|
* Tue Sep 22 1998 ro@suse.de
|
2007-01-15 23:06:44 +00:00
|
|
|
- update to alpha8 / define _GNU_SOURCE for compiling
|
2008-04-10 11:10:18 +00:00
|
|
|
* Tue Aug 04 1998 ro@suse.de
|
2007-01-15 23:06:44 +00:00
|
|
|
- update to alpha7
|
2008-04-10 11:10:18 +00:00
|
|
|
* Fri Apr 24 1998 ro@suse.de
|
2007-01-15 23:06:44 +00:00
|
|
|
- build initial package version 03alpha6
|