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