File morituri.spec of Package morituri
#
# spec file for package morituri
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2013 Pascal Bleser <pascal.bleser@opensuse.org>
#
# 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.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: morituri
Version: 0.2.3
Release: 0
Summary: A CD ripper aiming for accuracy over speed
License: GPL-3.0+
Group: Productivity/Multimedia/CD/Grabbers
Url: https://thomas.apestaart.org/morituri/trac
Source: http://thomas.apestaart.org/download/%{name}/%{name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM morituri-better-htoa-handling.patch recursive.forest@gmail.com -- Do not keep short HTOA's if their peak level is low.
Patch0: %{name}-better-htoa-handling.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: fdupes
BuildRequires: python-gobject2
BuildRequires: python-gstreamer-0_10
BuildRequires: python-setuptools
BuildRequires: python-xml
Requires: cdparanoia
Requires: cdrdao >= 1.2.3
Requires: gstreamer-plugins-good >= 0.10.16
Requires: python-CDDB
Requires: python-gstreamer-0_10
Requires: python-pycdio
# morituri uses parse_version.
Requires: python-setuptools
Requires: python-xdg
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%py_requires
%if 0%{?suse_version} > 1110
BuildArch: noarch
%endif
%description
morituri is a CD ripper aiming for accuracy over speed.
Its features are modeled to compare with Exact Audio Copy.
Features:
* Support for MusicBrainz for metadata lookup.
* Support for AccurateRip verification.
* Detects sample read offset and ability to defeat cache of drives.
* Performs test and copy rip.
* Detects and rips Hidden Track One Audio.
* Templates for file and directory naming.
* Support for lossless encoding and lossy encoding or re-encoding
of images.
* Tagging using GStreamer, including embedding MusicBrainz id's.
* Retagging of images.
* Plugins for logging.
* For now, only a command line client (rip) is shipped.
%prep
%setup -q
%patch0 -p1
%build
autoreconf -fi
%configure
%install
%make_install PYTHONLIBDIR=%{python_sitelib}
%fdupes %{buildroot}%{python_sitelib}/
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING HACKING NEWS README.md RELEASE TODO
%doc %{name}.doap
%config %{_sysconfdir}/bash_completion.d/rip
%{_bindir}/rip
%{python_sitelib}/%{name}/
%{_mandir}/man?/rip.?%{?ext_man}
%changelog