Project not found: home:dza:branches:editors

File abcde.spec of Package abcde

#
# spec file for package abcde
#
# Copyright (c) 2017 SUSE LINUX 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:           abcde
Version:        2.8.1
Release:        0
Summary:        A Better CD Encoder
License:        GPL-2.0+
Group:          Productivity/Multimedia/Sound/Utilities
Url:            https://abcde.einval.com/
Source0:        https://abcde.einval.com/download/%{name}-%{version}.tar.gz
# bug 419800
Patch0:         abcde-quote.patch
Requires:       cd-discid
Requires:       cdparanoia
Requires:       wget
# eyeD3 and vorbis are default config
Recommends:     eyeD3
Recommends:     vorbis-tools
# lame is often used for mp3 encoding
Suggests:       lame
BuildArch:      noarch

%description
A front-end program to cdparanoia, wget, cd-discid, id3, and your
favorite Ogg or MP3 encoder (defaults to oggenc). Grabs an entire CD
and converts each track to Ogg or MP3 then comments or ID3 tags each
file with one command.

%prep
%setup -q
%patch0

%build

%install
mkdir -p $RPM_BUILD_ROOT/usr/bin
install -m 755 abcde $RPM_BUILD_ROOT/usr/bin
install -m 755 cddb-tool $RPM_BUILD_ROOT/usr/bin
mkdir -p $RPM_BUILD_ROOT%_mandir/man1
cp *.1 $RPM_BUILD_ROOT%_mandir/man1
mkdir -p $RPM_BUILD_ROOT/etc
cp abcde.conf $RPM_BUILD_ROOT/etc

%files
%defattr(-,root,root)
%doc README COPYING FAQ
%doc %{_mandir}/man1/*
%{_bindir}/*
%config(noreplace) /etc/abcde.conf

%changelog
openSUSE Build Service is sponsored by