]>
Commit | Line | Data |
---|---|---|
b7a3cea5 MB |
1 | Summary: GNOME Chess - a 2D/3D chess interface |
2 | Summary(pl.UTF-8): GNOME Chess - dwu i trójwymiarowy interfejs do szachów | |
35e33ad4 | 3 | Name: gnome-chess |
b43281f8 | 4 | Version: 40.0 |
b7a3cea5 | 5 | Release: 1 |
28f4270c | 6 | License: GPL v3+ |
c7645c2a | 7 | Group: X11/Applications/Games |
b43281f8 JB |
8 | Source0: https://download.gnome.org/sources/gnome-chess/40/%{name}-%{version}.tar.xz |
9 | # Source0-md5: aaac4b5b06085b0c09b1e53b0f8c010b | |
b7a3cea5 | 10 | URL: https://wiki.gnome.org/Apps/Chess |
28f4270c | 11 | BuildRequires: appstream-glib |
7185ea5b | 12 | BuildRequires: gettext-tools >= 0.19.8 |
28f4270c JB |
13 | BuildRequires: glib2-devel >= 1:2.44.0 |
14 | BuildRequires: gtk+3-devel >= 3.20.0 | |
b43281f8 JB |
15 | BuildRequires: librsvg-devel >= 1:2.46.0 |
16 | BuildRequires: meson >= 0.50 | |
28f4270c | 17 | BuildRequires: ninja >= 1.5 |
1cccc797 | 18 | BuildRequires: pkgconfig |
28f4270c | 19 | BuildRequires: rpmbuild(macros) >= 1.736 |
b7a3cea5 | 20 | BuildRequires: tar >= 1:1.22 |
f3b87d14 | 21 | BuildRequires: vala >= 2:0.35.7 |
b43281f8 | 22 | BuildRequires: vala-librsvg >= 1:2.46.0 |
b7a3cea5 MB |
23 | BuildRequires: xz |
24 | BuildRequires: yelp-tools | |
28f4270c | 25 | Requires(post,postun): glib2 >= 1:2.44.0 |
b7a3cea5 | 26 | Requires(post,postun): gtk-update-icon-cache |
28f4270c JB |
27 | Requires: glib2 >= 1:2.44.0 |
28 | Requires: gtk+3 >= 3.20.0 | |
b7a3cea5 | 29 | Requires: hicolor-icon-theme |
b43281f8 | 30 | Requires: librsvg >= 1:2.46.0 |
b7a3cea5 MB |
31 | Suggests: crafty |
32 | Suggests: gnuchess | |
33 | Provides: gnome-games-glchess = 1:%{version}-%{release} | |
b43281f8 | 34 | Obsoletes: glchess < 1.0.7 |
b7a3cea5 | 35 | Obsoletes: gnome-games-glchess < 1:3.8.0 |
8d459d9e | 36 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
35e33ad4 | 37 | |
35e33ad4 | 38 | %description |
b7a3cea5 MB |
39 | GNOME Chess is a 2D/3D chess game interfacing via the Chess Engine |
40 | Communication Protocol (CECP) by Tim Mann. This means it can currently | |
41 | use engines such as GNUChess, Sjeng, Faile, Amy, Crafty and Phalanx. | |
35e33ad4 | 42 | |
24b1130e | 43 | %description -l pl.UTF-8 |
b7a3cea5 MB |
44 | GNOME Chess to dwu i trójwymiarowa gra w szachy komunikująca się za |
45 | pomocą protokołu CECP (Chess Engine Communication Protocol) Tima | |
46 | Manna. Oznacza to, że aktualnie może używać silników takich jak | |
47 | GNUChess, Sjeng, Faile, Amy, Crafty i Phalanx. | |
b634c60e | 48 | |
35e33ad4 | 49 | %prep |
50 | %setup -q | |
35e33ad4 | 51 | |
52 | %build | |
38de0571 | 53 | %meson build |
28f4270c | 54 | |
38de0571 | 55 | %ninja_build -C build |
35e33ad4 | 56 | |
57 | %install | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
38de0571 | 60 | %ninja_install -C build |
1cccc797 | 61 | |
b7a3cea5 | 62 | %find_lang %{name} --with-gnome |
35e33ad4 | 63 | |
64 | %clean | |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | ||
1cccc797 | 67 | %post |
b7a3cea5 MB |
68 | %glib_compile_schemas |
69 | %update_icon_cache hicolor | |
1cccc797 JB |
70 | |
71 | %postun | |
b7a3cea5 MB |
72 | %glib_compile_schemas |
73 | %update_icon_cache hicolor | |
9c72ab8a | 74 | |
35e33ad4 | 75 | %files -f %{name}.lang |
76 | %defattr(644,root,root,755) | |
28f4270c | 77 | %doc NEWS README.md |
1cccc797 | 78 | %attr(755,root,root) %{_bindir}/gnome-chess |
b7a3cea5 MB |
79 | %dir %{_sysconfdir}/gnome-chess |
80 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gnome-chess/engines.conf | |
dfc5fe49 | 81 | %{_datadir}/dbus-1/services/org.gnome.Chess.service |
28f4270c JB |
82 | %{_datadir}/glib-2.0/schemas/org.gnome.Chess.gschema.xml |
83 | %{_datadir}/metainfo/org.gnome.Chess.appdata.xml | |
84 | %{_desktopdir}/org.gnome.Chess.desktop | |
85 | %{_iconsdir}/hicolor/scalable/apps/org.gnome.Chess.svg | |
86 | %{_iconsdir}/hicolor/symbolic/apps/org.gnome.Chess-symbolic.svg | |
b7a3cea5 | 87 | %{_mandir}/man6/gnome-chess.6* |