File ripit.spec of Package ripit
#
# spec file for package ripit
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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: ripit
Summary: Perl Script to Create .ogg or .mp3 Files from an Audio CD
Url: http://www.suwald.com/ripit/
License: GPL-2.0+
Group: Productivity/Multimedia/CD/
# This is not the real tarball version but as it's still in beta, we could have troubles
# to update to 4.0 final so just give it a lower version
%define real_version 4.0.0_beta20140508
Version: 3.9.90
Release: 0
Source: http://www.suwald.com/ripit/%{name}-%{real_version}.tar.gz
Patch0: %{name}-3.9.0-ogg.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
Requires: cdparanoia
Requires: perl-CDDB_get
Requires: perl-libwww-perl
Requires: vorbis-tools
%description
This Perl script makes it easy to create MP3 files from an audio CD. It
tries to find the artist and song titles with the help of CDDB.
%prep
%setup -q -n %{name}-%{real_version}
%patch0
%build
%install
make prefix=%{buildroot}%{_prefix} etcdir=%{buildroot}/%{_sysconfdir}/%{name} install
%files
%defattr(-,root,root)
%doc README HISTORY LICENSE
%{_bindir}/ripit
%dir %{_sysconfdir}/%{name}
%config(noreplace) %{_sysconfdir}/%{name}/*
%{_mandir}/man1/*
%changelog