2007-01-16 00:06:44 +01:00
|
|
|
#
|
2011-12-21 09:59:27 +01:00
|
|
|
# spec file for package cdparanoia
|
2007-01-16 00:06:44 +01:00
|
|
|
#
|
2018-04-18 11:02:14 +02:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-01-16 00:06:44 +01:00
|
|
|
#
|
2008-11-02 15:36:19 +01: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-16 00:06:44 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2008-04-10 13:10:18 +02:00
|
|
|
|
2018-04-18 11:12:33 +02:00
|
|
|
%define filever III-10.2
|
2007-01-16 00:06:44 +01:00
|
|
|
Name: cdparanoia
|
2009-06-20 00:32:44 +02:00
|
|
|
Version: 3.10.2
|
2011-12-21 09:59:27 +01:00
|
|
|
Release: 0
|
2007-01-16 00:06:44 +01:00
|
|
|
Summary: A Program for Extracting, Verifying, and Fixing Audio Tracks from CDs
|
2018-04-18 11:02:14 +02:00
|
|
|
License: GPL-2.0-or-later
|
2011-12-21 09:59:27 +01:00
|
|
|
Group: Productivity/Multimedia/CD/Grabbers
|
2018-04-19 12:14:23 +02:00
|
|
|
URL: http://www.xiph.org/paranoia/index.html
|
2013-03-21 10:41:20 +01:00
|
|
|
Source: http://downloads.xiph.org/releases/%{name}/%{name}-%{filever}.src.tgz
|
2010-01-29 15:55:11 +01:00
|
|
|
Source2: baselibs.conf
|
2013-10-24 15:03:50 +02:00
|
|
|
Patch1: 010_build_system.patch
|
|
|
|
Patch2: cdparanoia-III-ide_majors.patch
|
2009-06-20 00:32:44 +02:00
|
|
|
Patch3: cdparanoia-III-c++.patch
|
2013-10-24 15:03:50 +02:00
|
|
|
Patch4: 050_all_build_only_shared_libraries.patch
|
2009-06-20 00:32:44 +02:00
|
|
|
Patch10: cdparanoia-III-01-typos-and-spelling.dpatch
|
|
|
|
Patch11: cdparanoia-III-05-gcc4.3.dpatch
|
|
|
|
Patch12: cdparanoia-III-06-endian.dpatch
|
2013-05-22 13:03:43 +02:00
|
|
|
Patch14: config-guess-sub-update.diff
|
2013-10-24 15:03:50 +02:00
|
|
|
BuildRequires: autoconf
|
2011-12-21 09:59:27 +01:00
|
|
|
BuildRequires: automake
|
2018-04-19 12:14:23 +02:00
|
|
|
Provides: cdparano = %{version}
|
|
|
|
Obsoletes: cdparano < %{version}
|
2007-01-16 00:06:44 +01:00
|
|
|
|
2009-06-20 00:32:44 +02:00
|
|
|
%package -n libcdda_interface0
|
2018-04-19 12:14:42 +02:00
|
|
|
Summary: Library for Extracting, Verifying, and Fixing Audio Tracks from CDs
|
2018-04-18 11:12:33 +02:00
|
|
|
License: LGPL-2.1-or-later
|
2009-06-20 00:32:44 +02:00
|
|
|
Group: System/Libraries
|
|
|
|
Suggests: ImageMagick-extra = %{version}
|
|
|
|
|
|
|
|
%package -n libcdda_paranoia0
|
2018-04-19 12:14:42 +02:00
|
|
|
Summary: Library for Extracting, Verifying, and Fixing Audio Tracks from CDs
|
2018-04-18 11:12:33 +02:00
|
|
|
License: LGPL-2.1-or-later
|
2009-06-20 00:32:44 +02:00
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%package devel
|
2018-04-19 12:14:42 +02:00
|
|
|
Summary: Development files for cdparanoia, a library for extractnig audio tracks from CDs
|
2018-04-18 11:12:33 +02:00
|
|
|
License: LGPL-2.1-or-later
|
2009-06-20 00:32:44 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2011-12-21 09:59:27 +01:00
|
|
|
Requires: libcdda_interface0 = %{version}
|
|
|
|
Requires: libcdda_paranoia0 = %{version}
|
2009-06-20 00:32:44 +02:00
|
|
|
|
2007-01-16 00:06:44 +01: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.
|
|
|
|
|
2009-06-20 00:32:44 +02: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.
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
2007-01-16 00:06:44 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n cdparanoia-%{filever}
|
2024-02-26 17:57:49 +01:00
|
|
|
%patch -P 1 -p1
|
|
|
|
%patch -P 2
|
|
|
|
%patch -P 3
|
|
|
|
%patch -P 4
|
|
|
|
%patch -P 10 -p1
|
|
|
|
%patch -P 11 -p1
|
|
|
|
%patch -P 12 -p1
|
|
|
|
%patch -P 14
|
2007-01-16 00:06:44 +01:00
|
|
|
|
|
|
|
%build
|
2018-04-19 12:14:23 +02:00
|
|
|
autoreconf -vfi
|
2011-12-21 09:59:27 +01:00
|
|
|
%configure
|
2018-04-19 12:14:23 +02:00
|
|
|
%make_build OPT="%{optflags}"
|
2007-01-16 00:06:44 +01:00
|
|
|
|
|
|
|
%install
|
2011-12-21 09:59:27 +01: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-16 00:06:44 +01:00
|
|
|
|
2009-06-20 00:32:44 +02:00
|
|
|
%post -n libcdda_interface0 -p /sbin/ldconfig
|
|
|
|
%postun -n libcdda_interface0 -p /sbin/ldconfig
|
|
|
|
%post -n libcdda_paranoia0 -p /sbin/ldconfig
|
|
|
|
%postun -n libcdda_paranoia0 -p /sbin/ldconfig
|
2007-01-16 00:06:44 +01:00
|
|
|
|
|
|
|
%files
|
2018-04-18 11:12:33 +02:00
|
|
|
%doc README
|
|
|
|
%license COPYING-GPL
|
2007-01-16 00:06:44 +01:00
|
|
|
%{_mandir}/man1/*
|
2012-07-16 12:37:45 +02:00
|
|
|
%{_mandir}/ja
|
2011-12-21 09:59:27 +01:00
|
|
|
%{_bindir}/*
|
2009-06-20 00:32:44 +02:00
|
|
|
|
|
|
|
%files -n libcdda_interface0
|
2018-04-18 11:12:33 +02:00
|
|
|
%license COPYING-LGPL
|
2011-12-21 09:59:27 +01:00
|
|
|
%{_libdir}/libcdda_interface.so.0
|
|
|
|
%{_libdir}/libcdda_interface.so.0.*
|
2009-06-20 00:32:44 +02:00
|
|
|
|
|
|
|
%files -n libcdda_paranoia0
|
2018-04-18 11:12:33 +02:00
|
|
|
%license COPYING-LGPL
|
2011-12-21 09:59:27 +01:00
|
|
|
%{_libdir}/libcdda_paranoia.so.0
|
|
|
|
%{_libdir}/libcdda_paranoia.so.0.*
|
2009-06-20 00:32:44 +02:00
|
|
|
|
|
|
|
%files devel
|
2011-12-21 09:59:27 +01:00
|
|
|
%{_includedir}/*
|
2018-04-18 11:12:33 +02:00
|
|
|
%{_libdir}/libcdda_paranoia.so
|
|
|
|
%{_libdir}/libcdda_interface.so
|
2007-01-16 00:06:44 +01:00
|
|
|
|
2007-08-09 18:17:17 +02:00
|
|
|
%changelog
|