File cue2tracks.spec of Package cue2tracks

#
# spec file for package cue2tracks
#
# Copyright (c) 2014 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:           cue2tracks
Version:        0.2.16
Release:        0
Summary:        Tool for splitting audio CD image to tracks with cue sheet info
License:        GPL-2.0
Group:          Productivity/Multimedia/Sound/Utilities
Url:            https://code.google.com/p/cue2tracks/
Source0:        https://cue2tracks.googlecode.com/files/%{name}-%{version}.tar.gz
Requires:       bc
Requires:       cuetools
Requires:       flac
Requires:       shntool >= 3.0.0
Recommends:     OptimFROG
Recommends:     apetag
Recommends:     flake
Recommends:     id3v2
Recommends:     lame
Recommends:     mac
Recommends:     shorten
Recommends:     ttaenc
Recommends:     vorbis-tools
Recommends:     wavpack
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
Shell script for splitting images of audio disks, compressed with ape (Monkey's Audio Codec), flac (Free Lossless Audio Codec), wv (WavPack), shn (Shorten), tta (True Audio) and ofr (OptimFROG) into tracks, compressed with flac, ape, wv, ogg etc., along with filling tags from cue file information.

%prep
%setup -q

%build

%install
mkdir -p %{buildroot}
prefix=%{buildroot}%{prefix}
mandir=%{buildroot}%{_mandir}
sysconfdir=%{buildroot}/etc

install -m 755 -d "%{buildroot}%{_bindir}/"
install -m 755 "%{name}" "%{buildroot}%{_bindir}/%{name}"

%files
%defattr(-,root,root)
%doc README AUTHORS TODO ChangeLog
%{_bindir}/*

%changelog