File apetag.spec of Package apetag
#
# spec file for package apetag
#
# Copyright (c) 2022 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: apetag
Version: 1.12+git20220307
Release: 0
Summary: A command line ape 2.0 tagger
License: GPL-3.0-only
Group: Productivity/Multimedia/Sound/Editors and Convertors
URL: https://robert.muth.org/Apetag/
Source0: %{name}-%{version}.tar.xz
Patch0: %{name}-make.patch
BuildRequires: gcc-c++
%description
Apetag is command line tagging tool for music files such as Monkey's Audio and Musepack using the APE 2.0 standard.
%prep
%setup -q
%patch -P 0
%build
%{__make} CXXFLAGS="%{optflags}"
%{__strip} %{name}
%install
%{__install} -Dm 755 %{name} %{buildroot}%{_bindir}/%{name}
%check
# cd %{_builddir}/%{name}-%{version}
# %{__make} CXXFLAGS="%{optflags}" test
%files
%defattr(-,root,root,-)
%attr(755,root,root) %{_bindir}/%{name}
%doc README.md
%license COPYING
%changelog