File qnetwalk.spec of Package qnetwalk

#
# spec file for package qnetwalk
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2008 Severin Leonhardt
#
# 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:           qnetwalk
Version:        1.5
Release:        0
Summary:        Game for System Administrators
License:        GPL-2.0-only
Group:          Amusements/Games/Logic
URL:            https://github.com/AMDmi3/qnetwalk
Source0:        https://codeload.github.com/AMDmi3/qnetwalk/tar.gz/refs/tags/%{version}#/%{name}-%{version}.tar.gz
BuildRequires:  cmake >= 3.10
BuildRequires:  gcc-c++
BuildRequires:  libSDL_mixer-devel
BuildRequires:  pkgconfig
BuildRequires:  cmake(Qt5LinguistTools)
BuildRequires:  pkgconfig(Qt5Gui)
BuildRequires:  pkgconfig(Qt5Widgets)

%description
This is a Qt-version of the popular NetWalk game for system administrators.
You have to connect all computers to the central server with as few clicks as possible.

%prep
%setup -q

%build
%cmake
%cmake_build

%install
%cmake_install

%files
%license COPYING
%doc ChangeLog.md README.md
%{_bindir}/qnetwalk
%{_datadir}/qnetwalk
%{_datadir}/pixmaps/qnetwalk.xpm
%{_datadir}/applications/qnetwalk.desktop
%{_mandir}/man6/qnetwalk.6%{?ext_man}

%changelog
openSUSE Build Service is sponsored by