File ripit.spec of Package ripit
#
# spec file for package ripit (Version 3.9.0)
#
# Copyright (c) 2010 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/Grabbers
Version: 3.9.0
Release: 1
Source: %{name}-%{version}.tar.bz2
Patch0: %{name}-%{version}-ogg.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
Requires: cdparanoia vorbis-tools perl perl-CDDB_get perl-libwww-perl
%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.
Authors:
--------
Simon Quinn
Mads Martin Joergensen
Felix Suwald <felix@suwald.com>
%prep
%setup -q
%patch0
%build
%install
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
install -m 755 ripit.pl $RPM_BUILD_ROOT/%{_bindir}/ripit
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}
install -m 644 config $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1
install -m 644 ripit.1 $RPM_BUILD_ROOT/%{_mandir}/man1/
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{_bindir}/ripit
%dir %{_sysconfdir}/%{name}
%config(noreplace) %{_sysconfdir}/%{name}/*
%doc README HISTORY LICENSE
%doc %{_mandir}/man1/*
%changelog