gnome-chess/gnome-chess.spec
Bjørn Lie d9a5835bc6 Accepting request 688474 from GNOME:Next
- Update to version 3.32.0:
  + Updated translations.
- Update to version 3.31.92:
  + Add padding to bottom row of widgets.
  + Updates to user help.
- Update to version 3.31.90:
  + Fix "computer player is confused" when CECP engine claims a
    draw.
  + Reworded claim draw dialog to reduce confusion when engine
    claims draw.
  + Fixed zombie engine processes not being properly reaped.
  + New icon!
  + Change app ID to org.gnome.Chess.
- Update to version 3.31.3:
  + Replace app menu with window menu.
  + Rewrite the user help.
  + Updated translations.

OBS-URL: https://build.opensuse.org/request/show/688474
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-chess?expand=0&rev=87
2019-03-28 20:43:33 +00:00

84 lines
2.6 KiB
RPMSpec

#
# spec file for package gnome-chess
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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-chess
Version: 3.32.0
Release: 0
Summary: Chess Game for GNOME
License: GPL-3.0-or-later
Group: Amusements/Games/Board/Chess
URL: https://wiki.gnome.org/Apps/Chess
Source0: https://download.gnome.org/sources/gnome-chess/3.32/%{name}-%{version}.tar.xz
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(gtk+-3.0) >= 3.19.0
BuildRequires: pkgconfig(librsvg-2.0) >= 2.32.0
Requires: chess_backend
# After gnome 3.6, glchess was split out of gnome-games and runs under the name gnome-chess
Obsoletes: glchess < %{version}
Obsoletes: glchess-lang < %{version}
Provides: glchess = %{version}
%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
%prep
%setup -q
%build
%meson
%meson_build
%install
%meson_install
%find_lang %{name} %{?no_lang_C}
%fdupes %{buildroot}%{_datadir}
%files
%license COPYING
%doc NEWS
%doc %{_datadir}/help/C/%{name}/
%{_datadir}/icons/hicolor/
%{_datadir}/%{name}/
%{_bindir}/%{name}
%dir %{_datadir}/metainfo
%{_datadir}/metainfo/org.gnome.Chess.appdata.xml
%{_datadir}/applications/org.gnome.Chess.desktop
%{_datadir}/glib-2.0/schemas/org.gnome.Chess.gschema.xml
%{_mandir}/man6/%{name}.6%{?ext_man}
%dir %{_sysconfdir}/gnome-chess
%config %{_sysconfdir}/gnome-chess/engines.conf
%files lang -f %{name}.lang
%changelog