File cue2tracks.spec of Package cue2tracks
#
# spec file for package cue2tracks
#
# Copyright (c) 2021 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
Name: cue2tracks
Version: 0.2.17
Release: 0
Summary: Tool for splitting audio CD image to tracks with cue sheet info
License: GPL-2.0-only
Group: Productivity/Multimedia/Sound/Utilities
URL: https://github.com/ar-lex/cue2tracks
Source0: %{URL}/archive/refs/tags/v%{version}.tar.gz#/%{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
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}%{_sysconfdir}
install -m 755 -d "%{buildroot}%{_bindir}/"
install -m 755 "%{name}" "%{buildroot}%{_bindir}/%{name}"
%files
%doc README AUTHORS TODO ChangeLog
%{_bindir}/*
%changelog