File minutor.spec of Package minutor
Name: minutor
Version: 2.3.0~20200107+0a720e5
Release: 1%{?dist}
Summary: Minecraft mapping tool
%if 0%{?suse_version}
License: BSD-2-Clause
%else
License: BSD
%endif
URL: http://seancode.com/minutor/
Group: Amusements/Toys/Graphics
Source0: %{name}-%{version}.tar.xz
Patch0: xdg-categories.patch
Patch1: better-hidpi-support.patch
BuildRequires: zlib-devel
%if 0%{?suse_version}
BuildRequires: libqt5-qtbase-common-devel, libQt5Concurrent-devel, libQt5Core-devel, libQt5Gui-devel, libQt5Network-devel, libQt5Widgets-devel
%else
BuildRequires: qt5-qtbase-devel, qt5-qttools
%endif
%description
Minutor lets you view and inspect your Minecraft worlds.
It is designed for Minecraft 1.2 and later.
%global debug_package %{nil}
%prep
%setup -q -n %{name}-%{version}
%patch -P 0 -p 1
%patch -P 1 -p 1
chmod 644 %{name}.desktop
%build
qmake-qt5 -config release
make %{?_smp_mflags}
%install
make INSTALL_ROOT=%{buildroot} install
%files
%{_bindir}/%{name}
%{_datadir}/pixmaps/%{name}.*
%{_datadir}/applications/%{name}.desktop
%changelog
* Tue Jan 07 2020 Nick Korotysh <kolchaprogrammer@list.ru> - 2.3.0~20200107+0a720e5-1
- upstream changes