File pumoku.spec of Package pumoku

#
# spec file for package pumoku
#
# Copyright (c) 2025, Martin Hauke <mardnh@gmx.de>
#
# 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:           pumoku
Version:        0~git20251215
Release:        0
Summary:        Sudoku game
License:        GPL-2.0-or-later
URL:            https://invent.kde.org/alund/pumoku
Source:         https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
BuildRequires:  kf6-extra-cmake-modules
BuildRequires:  cmake(KF6Config)
BuildRequires:  cmake(KF6CoreAddons)
BuildRequires:  cmake(KF6I18n)
BuildRequires:  cmake(KF6Kirigami2)
BuildRequires:  cmake(Qt6Gui)
BuildRequires:  cmake(Qt6QuickControls2)
BuildRequires:  cmake(Qt6Svg)

%description
PuMoKu is a classic, 9x9 pumoku solving game.

%lang_package

%prep
%autosetup -p1

%build
%cmake_kf6

%kf6_build

%install
%kf6_install
%find_lang %{name}

%files
%license LICENSES/*
%doc README.md
%{_kf6_bindir}/pumoku
%{_kf6_iconsdir}/hicolor/scalable/apps/org.kde.pumoku.svg
%{_datadir}/applications/org.kde.pumoku.desktop
%{_datadir}/metainfo/org.kde.pumoku.metainfo.xml

%files lang -f %{name}.lang

%changelog
openSUSE Build Service is sponsored by