File stackandconquer.spec of Package stackandconquer
#
# spec file for package stackandconquer
#
# Copyright (c) 2025 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/
#
%define _name com.github.elth0r0.stackandconquer
Name: stackandconquer
Version: @SERVICE@
Release: 0
Summary: Challenging tower conquest board game
License: GPL-3.0-or-later
Group: Amusements/Games/Board/Other
URL: https://github.com/ElTh0r0/stackandconquer
Source0: %{name}-%{version}.tar.xz
BuildRequires: cmake
BuildRequires: cmake(Qt6Core)
BuildRequires: cmake(Qt6Gui)
BuildRequires: cmake(Qt6LinguistTools)
BuildRequires: cmake(Qt6Qml)
BuildRequires: cmake(Qt6SvgWidgets)
BuildRequires: cmake(Qt6Widgets)
BuildRequires: gcc-c++
BuildRequires: hicolor-icon-theme
BuildRequires: update-desktop-files
%description
StackAndConquer is a challenging tower conquest board game inspired by
Mixtour created by Dieter Stein. Objective is to build a stack of stones
with at least five stones and a stone with the players color on top.
%prep
%autosetup -p1
%build
%cmake_qt6
%qt6_build
%install
%qt6_install
%files
%doc README.md
%{_bindir}/%{name}
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/cpu/
%{_datadir}/%{name}/boards/
%{_datadir}/applications/%{_name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{_name}.??g
%{_mandir}/man?/%{name}.?%{?ext_man}
%{_mandir}/??/man?/%{name}.?%{?ext_man}
%{_datadir}/metainfo/%{_name}.metainfo.xml
%license COPYING
%changelog