File mpvz.spec of Package mpvz

#
# spec file for package mpvz
#
# Copyright (c) 2020 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:           mpvz
Version:        
Release:        0
Summary:        Qt5/QML based GUI for libmpv
### ask upstream for clarification
License:        undeclared
URL:            https://github.com/Zren/mpvz
Source0:        %{name}-%{version}.tar.gz
BuildRequires:  ImageMagick
BuildRequires:  gcc-c++
BuildRequires:  hicolor-icon-theme
BuildRequires:  pkgconfig(Qt5Qml)
BuildRequires:  pkgconfig(Qt5Quick)
BuildRequires:  pkgconfig(Qt5X11Extras)
BuildRequires:  pkgconfig(mpv)

%description
Qt5/QML based GUI for libmpv. Based on the Tethys theme for Bomi.

%prep
%autosetup -p1
mogrify -strip -resize 48x48 %{name}.png

%build
%qmake5
%make_build

%install
%qmake5_install

%files
%doc ReadMe.md
%{_bindir}/mpvz
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/48x48/apps/%{name}.png


%changelog
openSUSE Build Service is sponsored by