2007-01-15 23:06:44 +00:00
|
|
|
#
|
2011-12-21 08:59:27 +00:00
|
|
|
# spec file for package cdparanoia
|
2007-01-15 23:06:44 +00:00
|
|
|
#
|
2012-07-16 10:37:45 +00:00
|
|
|
# Copyright (c) 2012 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/
|
|
|
|
#
|
|
|
|
|
2008-04-10 11:10:18 +00:00
|
|
|
|
2007-01-15 23:06:44 +00:00
|
|
|
Name: cdparanoia
|
|
|
|
Provides: cdparano
|
|
|
|
Obsoletes: cdparano
|
2008-11-02 14:36:19 +00:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: cdparanoia-64bit
|
|
|
|
%endif
|
|
|
|
#
|
2009-06-19 22:32:44 +00:00
|
|
|
Version: 3.10.2
|
2011-12-21 08:59:27 +00:00
|
|
|
Release: 0
|
2007-01-15 23:06:44 +00:00
|
|
|
Summary: A Program for Extracting, Verifying, and Fixing Audio Tracks from CDs
|
2011-12-21 08:59:27 +00:00
|
|
|
License: GPL-2.0+
|
|
|
|
Group: Productivity/Multimedia/CD/Grabbers
|
2008-04-10 11:10:18 +00:00
|
|
|
Url: http://www.xiph.org/paranoia/index.html
|
2009-06-19 22:32:44 +00:00
|
|
|
%define filever III-10.2
|
|
|
|
Source: cdparanoia-%{filever}.src.tar.bz2
|
2010-01-29 14:55:11 +00:00
|
|
|
Source2: baselibs.conf
|
2009-06-19 22:32:44 +00:00
|
|
|
Patch1: cdparanoia-III-ide_majors.patch
|
|
|
|
Patch2: cdparanoia-III-dt_needed.patch
|
|
|
|
Patch3: cdparanoia-III-c++.patch
|
|
|
|
Patch10: cdparanoia-III-01-typos-and-spelling.dpatch
|
|
|
|
Patch11: cdparanoia-III-05-gcc4.3.dpatch
|
|
|
|
Patch12: cdparanoia-III-06-endian.dpatch
|
2010-01-29 14:55:11 +00:00
|
|
|
Patch13: cdparanoia-large-pic.diff
|
2007-01-15 23:06:44 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2011-12-21 08:59:27 +00:00
|
|
|
BuildRequires: automake
|
2012-07-16 10:37:45 +00:00
|
|
|
BuildRequires: man
|
2007-01-15 23:06:44 +00:00
|
|
|
|
2009-06-19 22:32:44 +00:00
|
|
|
%package -n libcdda_interface0
|
|
|
|
Summary: Extracting, Verifying, and Fixing Audio Tracks from CDs - runtime library
|
|
|
|
Group: System/Libraries
|
|
|
|
Suggests: ImageMagick-extra = %{version}
|
|
|
|
|
|
|
|
%package -n libcdda_paranoia0
|
|
|
|
Summary: Extracting, Verifying, and Fixing Audio Tracks from CDs - runtime library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Include Files and Libraries Mandatory for Development
|
|
|
|
Group: Development/Libraries/C and C++
|
2011-12-21 08:59:27 +00:00
|
|
|
Requires: libcdda_interface0 = %{version}
|
|
|
|
Requires: libcdda_paranoia0 = %{version}
|
2009-06-19 22:32:44 +00:00
|
|
|
|
2007-01-15 23:06:44 +00:00
|
|
|
%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/.
|
|
|
|
|
2009-06-19 22:32:44 +00:00
|
|
|
%description devel
|
|
|
|
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/.
|
|
|
|
|
|
|
|
%description -n libcdda_interface0
|
|
|
|
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/.
|
|
|
|
|
|
|
|
%description -n libcdda_paranoia0
|
|
|
|
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/.
|
|
|
|
|
2007-01-15 23:06:44 +00:00
|
|
|
%prep
|
|
|
|
%setup -q -n cdparanoia-%{filever}
|
2009-06-19 22:32:44 +00:00
|
|
|
%patch1
|
2011-12-21 08:59:27 +00:00
|
|
|
#%patch2
|
2009-06-19 22:32:44 +00:00
|
|
|
%patch3
|
|
|
|
%patch10 -p1
|
|
|
|
%patch11 -p1
|
|
|
|
%patch12 -p1
|
2011-12-21 08:59:27 +00:00
|
|
|
%patch13 -p1
|
2007-01-15 23:06:44 +00:00
|
|
|
|
|
|
|
%build
|
2011-12-21 08:59:27 +00:00
|
|
|
autoreconf
|
|
|
|
%configure
|
2007-01-15 23:06:44 +00:00
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
2011-12-21 08:59:27 +00:00
|
|
|
make prefix=%{buildroot}%{_prefix} \
|
|
|
|
LIBDIR=%{buildroot}%{_libdir} \
|
|
|
|
MANDIR=%{buildroot}%{_mandir} \
|
|
|
|
BINDIR=%{buildroot}%{_bindir} \
|
|
|
|
INCLUDEDIR=%{buildroot}%{_includedir} \
|
|
|
|
install
|
|
|
|
JAPN_MANDIR=%{buildroot}%{_mandir}/ja/man1
|
|
|
|
mkdir -p $JAPN_MANDIR
|
|
|
|
install -m644 cdparanoia.1.jp $JAPN_MANDIR/cdparanoia.1
|
2007-01-15 23:06:44 +00:00
|
|
|
# do not package static libraries.
|
2011-12-21 08:59:27 +00:00
|
|
|
rm %{buildroot}%{_libdir}/libcdda_interface.a
|
|
|
|
rm %{buildroot}%{_libdir}/libcdda_paranoia.a
|
2007-01-15 23:06:44 +00:00
|
|
|
|
|
|
|
%clean
|
2011-12-21 08:59:27 +00:00
|
|
|
rm -rf %{buildroot}
|
2007-01-15 23:06:44 +00:00
|
|
|
|
2009-06-19 22:32:44 +00:00
|
|
|
%post -n libcdda_interface0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libcdda_interface0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%post -n libcdda_paranoia0 -p /sbin/ldconfig
|
2007-01-15 23:06:44 +00:00
|
|
|
|
2009-06-19 22:32:44 +00:00
|
|
|
%postun -n libcdda_paranoia0 -p /sbin/ldconfig
|
2007-01-15 23:06:44 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2009-06-19 22:32:44 +00:00
|
|
|
%doc README COPYING*
|
2007-01-15 23:06:44 +00:00
|
|
|
%{_mandir}/man1/*
|
2012-07-16 10:37:45 +00:00
|
|
|
%{_mandir}/ja
|
2011-12-21 08:59:27 +00:00
|
|
|
%{_bindir}/*
|
2009-06-19 22:32:44 +00:00
|
|
|
|
|
|
|
%files -n libcdda_interface0
|
|
|
|
%defattr(-,root,root)
|
2011-12-21 08:59:27 +00:00
|
|
|
%{_libdir}/libcdda_interface.so.0
|
|
|
|
%{_libdir}/libcdda_interface.so.0.*
|
2009-06-19 22:32:44 +00:00
|
|
|
|
|
|
|
%files -n libcdda_paranoia0
|
|
|
|
%defattr(-,root,root)
|
2011-12-21 08:59:27 +00:00
|
|
|
%{_libdir}/libcdda_paranoia.so.0
|
|
|
|
%{_libdir}/libcdda_paranoia.so.0.*
|
2009-06-19 22:32:44 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2011-12-21 08:59:27 +00:00
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/lib*.so
|
2007-01-15 23:06:44 +00:00
|
|
|
|
2007-08-09 16:17:17 +00:00
|
|
|
%changelog
|