File gnome-chess.spec of Package gnome-chess

# spec file for package gnome-chess
# Copyright (c) 2021 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

Name:           gnome-chess
Version:        41.1
Release:        0
Summary:        Chess Game for GNOME
License:        GPL-3.0-or-later
Group:          Amusements/Games/Board/Chess

BuildRequires:  fdupes
# ITS Tool is needed because there are some XML formats that Gettext does not handle, at least not now (3.27.2).
BuildRequires:  itstool
BuildRequires:  meson
BuildRequires:  pkgconfig
BuildRequires:  vala >= 0.35.7
BuildRequires:  pkgconfig(gio-2.0) >= 2.44.0
BuildRequires:  pkgconfig(gio-unix-2.0) >= 2.44.0
BuildRequires:  pkgconfig(glib-2.0) >= 2.44.0
BuildRequires:  pkgconfig(gmodule-2.0) >= 2.44.0
BuildRequires:  pkgconfig(gtk4) >= 3.19.0
BuildRequires:  pkgconfig(librsvg-2.0) >= 2.32.0
Requires:       chess_backend

This is a game for playing the classic board game of chess, in which
two players simulate a battle by capturing the opponents pieces and
ultimately the king. It can be played in 2D or 3D mode, full screen or
in a window.


%autosetup -p1


%find_lang %{name} %{?no_lang_C}
%fdupes %{buildroot}%{_datadir}

%license COPYING
%doc NEWS
%doc %{_datadir}/help/C/%{name}/
%dir %{_datadir}/metainfo
%dir %{_sysconfdir}/gnome-chess
%config %{_sysconfdir}/gnome-chess/engines.conf

%files lang -f %{name}.lang

openSUSE Build Service is sponsored by