File mtag.spec of Package mtag
#
# spec file for package mtag
#
# Copyright (c) 2019 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 https://bugs.opensuse.org/
#
Name: mtag
Version: 2.2.3
Release: 0
Summary: CLI media files tagging tool
License: SUSE-Public-Domain
Group: Productivity/Multimedia/Other
URL: https://github.com/psemiletov/mtag
Source: https://github.com/psemiletov/mtag/archive/%{version}.tar.gz
Patch0: makefile.patch
BuildRequires: gcc-c++
BuildRequires: libtag-devel
BuildRequires: make
BuildRequires: pkgconfig
%description
Command-line tool for media files tagging.
%prep
%autosetup -p1
%build
make %{?_smp_mflags}
%install
%make_install prefix=%{_prefix} DESTDIR=%{buildroot}
%files
%{_bindir}/mtag
%{_mandir}/de/man1/mtag.1%{?ext_man}
%{_mandir}/man1/mtag.1%{?ext_man}
%{_mandir}/ru/man1/mtag.1%{?ext_man}
%changelog