2013-03-13 19:53:56 +00:00
|
|
|
#
|
|
|
|
# spec file for package gnome-chess
|
|
|
|
#
|
2021-03-24 16:33:42 +00:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2013-03-13 19:53:56 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-02-08 22:27:27 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2013-03-13 19:53:56 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: gnome-chess
|
2021-09-27 06:23:58 +00:00
|
|
|
Version: 41.0
|
2013-03-13 19:53:56 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Chess Game for GNOME
|
2018-03-09 09:58:50 +00:00
|
|
|
License: GPL-3.0-or-later
|
2013-03-13 19:53:56 +00:00
|
|
|
Group: Amusements/Games/Board/Chess
|
2018-04-13 06:51:40 +00:00
|
|
|
URL: https://wiki.gnome.org/Apps/Chess
|
2021-09-27 06:23:58 +00:00
|
|
|
Source0: https://download.gnome.org/sources/gnome-chess/41/%{name}-%{version}.tar.xz
|
2019-03-28 20:43:33 +00:00
|
|
|
|
2018-03-09 09:58:50 +00:00
|
|
|
BuildRequires: fdupes
|
2018-09-24 07:19:58 +00:00
|
|
|
# ITS Tool is needed because there are some XML formats that Gettext does not handle, at least not now (3.27.2).
|
2013-03-13 19:53:56 +00:00
|
|
|
BuildRequires: itstool
|
2018-03-09 09:58:50 +00:00
|
|
|
BuildRequires: meson
|
2017-09-09 17:55:34 +00:00
|
|
|
BuildRequires: pkgconfig
|
2017-03-11 20:29:03 +00:00
|
|
|
BuildRequires: vala >= 0.35.7
|
2018-04-13 06:51:40 +00:00
|
|
|
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
|
2021-03-24 16:33:42 +00:00
|
|
|
BuildRequires: pkgconfig(gtk4) >= 3.19.0
|
2018-03-09 09:58:50 +00:00
|
|
|
BuildRequires: pkgconfig(librsvg-2.0) >= 2.32.0
|
2013-03-13 19:53:56 +00:00
|
|
|
Requires: chess_backend
|
|
|
|
|
|
|
|
%description
|
|
|
|
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.
|
|
|
|
|
|
|
|
%lang_package
|
2017-09-09 17:55:34 +00:00
|
|
|
|
2013-03-13 19:53:56 +00:00
|
|
|
%prep
|
2019-10-04 15:39:20 +00:00
|
|
|
%autosetup -p1
|
2013-03-13 19:53:56 +00:00
|
|
|
|
|
|
|
%build
|
2018-03-09 09:58:50 +00:00
|
|
|
%meson
|
|
|
|
%meson_build
|
2013-03-13 19:53:56 +00:00
|
|
|
|
|
|
|
%install
|
2018-03-09 09:58:50 +00:00
|
|
|
%meson_install
|
2013-03-13 19:53:56 +00:00
|
|
|
%find_lang %{name} %{?no_lang_C}
|
2018-03-09 09:58:50 +00:00
|
|
|
%fdupes %{buildroot}%{_datadir}
|
2013-03-13 19:53:56 +00:00
|
|
|
|
|
|
|
%files
|
2017-08-31 07:41:56 +00:00
|
|
|
%license COPYING
|
2018-09-24 07:19:58 +00:00
|
|
|
%doc NEWS
|
2018-03-09 09:58:50 +00:00
|
|
|
%doc %{_datadir}/help/C/%{name}/
|
2014-04-03 20:38:50 +00:00
|
|
|
%{_datadir}/icons/hicolor/
|
2013-03-13 19:53:56 +00:00
|
|
|
%{_bindir}/%{name}
|
2018-03-09 09:58:50 +00:00
|
|
|
%dir %{_datadir}/metainfo
|
2019-03-28 20:43:33 +00:00
|
|
|
%{_datadir}/applications/org.gnome.Chess.desktop
|
2020-10-26 08:11:42 +00:00
|
|
|
%{_datadir}/dbus-1/services/org.gnome.Chess.service
|
2019-03-28 20:43:33 +00:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.Chess.gschema.xml
|
2020-10-26 08:11:42 +00:00
|
|
|
%{_datadir}/metainfo/org.gnome.Chess.appdata.xml
|
2013-03-13 19:53:56 +00:00
|
|
|
%{_mandir}/man6/%{name}.6%{?ext_man}
|
2014-04-03 20:38:50 +00:00
|
|
|
%dir %{_sysconfdir}/gnome-chess
|
|
|
|
%config %{_sysconfdir}/gnome-chess/engines.conf
|
2013-03-13 19:53:56 +00:00
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
|
|
|
%changelog
|