File gnome-sudoku.spec of Package gnome-sudoku
#
# spec file for package gnome-sudoku
#
# Copyright (c) 2024 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: gnome-sudoku
Version: 47.1.1
Release: 0
Summary: Sudoku Game for GNOME
License: GPL-3.0-or-later
Group: Amusements/Games/Logic
URL: https://wiki.gnome.org/Apps/Sudoku
Source0: %{name}-%{version}.tar.zst
BuildRequires: appstream-glib
BuildRequires: c++_compiler
BuildRequires: c_compiler
BuildRequires: desktop-file-utils
BuildRequires: fdupes
BuildRequires: meson >= 0.59
BuildRequires: pkgconfig
BuildRequires: vala >= 0.35.7.24
BuildRequires: yelp-tools
BuildRequires: pkgconfig(gee-0.8)
BuildRequires: pkgconfig(gio-2.0) >= 2.40.0
BuildRequires: pkgconfig(glib-2.0) >= 2.40.0
BuildRequires: pkgconfig(gtk4) >= 4.10.0
BuildRequires: pkgconfig(json-glib-1.0)
BuildRequires: pkgconfig(libadwaita-1)
BuildRequires: pkgconfig(qqwing) >= 1.3.4
%description
Sudoku is a logic puzzle game, in which one must fill a 9 by 9 square
with the correct digits.
%lang_package
%prep
%autosetup -p1
%build
%meson
%meson_build
%install
%meson_install
%find_lang %{name} %{?no_lang_C}
%fdupes -s %{buildroot}%{_datadir}
%check
%meson_test
%files
%license COPYING
%doc NEWS
%{_datadir}/help/C/%{name}/
%{_datadir}/applications/org.gnome.Sudoku.desktop
%{_datadir}/dbus-1/services/org.gnome.Sudoku.service
%{_datadir}/glib-2.0/schemas/org.gnome.Sudoku.gschema.xml
%{_datadir}/icons/hicolor/*/apps/*
%{_datadir}/metainfo/org.gnome.Sudoku.metainfo.xml
%{_mandir}/man6/%{name}.6%{?ext_man}
%{_bindir}/%{name}
%files lang -f %{name}.lang
%changelog