]>
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 |
6fa4185b | 4 | Version: 3.12.3 |
b7a3cea5 | 5 | Release: 1 |
c9b3d2f0 | 6 | License: GPL v2+ |
c7645c2a | 7 | Group: X11/Applications/Games |
b7a3cea5 | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-chess/3.12/%{name}-%{version}.tar.xz |
6fa4185b | 9 | # Source0-md5: 63b80f2210c8d4b202ddfb72bb4d95d7 |
b7a3cea5 MB |
10 | URL: https://wiki.gnome.org/Apps/Chess |
11 | BuildRequires: OpenGL-GLU-devel | |
12 | BuildRequires: OpenGL-devel | |
13 | BuildRequires: appdata-tools | |
14 | BuildRequires: autoconf >= 2.63 | |
15 | BuildRequires: automake >= 1:1.11 | |
35e33ad4 | 16 | BuildRequires: gettext-devel |
b7a3cea5 MB |
17 | BuildRequires: glib2-devel >= 1:2.26.0 |
18 | BuildRequires: gnome-common | |
19 | BuildRequires: gtk+3-devel >= 3.10.0 | |
20 | BuildRequires: intltool >= 0.50.0 | |
21 | BuildRequires: librsvg-devel >= 2.32.0 | |
1cccc797 | 22 | BuildRequires: pkgconfig |
b7a3cea5 MB |
23 | BuildRequires: tar >= 1:1.22 |
24 | BuildRequires: vala >= 2:0.24.0 | |
25 | BuildRequires: xorg-lib-libX11-devel | |
26 | BuildRequires: xz | |
27 | BuildRequires: yelp-tools | |
28 | Requires(post,postun): glib2 >= 1:2.26.0 | |
29 | Requires(post,postun): gtk-update-icon-cache | |
30 | Requires: glib2 >= 1:2.26.0 | |
31 | Requires: gtk+3 >= 3.10.0 | |
32 | Requires: hicolor-icon-theme | |
33 | Requires: librsvg >= 2.32.0 | |
34 | Suggests: crafty | |
35 | Suggests: gnuchess | |
36 | Provides: gnome-games-glchess = 1:%{version}-%{release} | |
37 | Obsoletes: glchess | |
38 | Obsoletes: gnome-games-glchess < 1:3.8.0 | |
8d459d9e | 39 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
35e33ad4 | 40 | |
35e33ad4 | 41 | %description |
b7a3cea5 MB |
42 | GNOME Chess is a 2D/3D chess game interfacing via the Chess Engine |
43 | Communication Protocol (CECP) by Tim Mann. This means it can currently | |
44 | use engines such as GNUChess, Sjeng, Faile, Amy, Crafty and Phalanx. | |
35e33ad4 | 45 | |
24b1130e | 46 | %description -l pl.UTF-8 |
b7a3cea5 MB |
47 | GNOME Chess to dwu i trójwymiarowa gra w szachy komunikująca się za |
48 | pomocą protokołu CECP (Chess Engine Communication Protocol) Tima | |
49 | Manna. Oznacza to, że aktualnie może używać silników takich jak | |
50 | GNUChess, Sjeng, Faile, Amy, Crafty i Phalanx. | |
b634c60e | 51 | |
35e33ad4 | 52 | %prep |
53 | %setup -q | |
35e33ad4 | 54 | |
55 | %build | |
1cccc797 | 56 | %{__intltoolize} |
1cccc797 | 57 | %{__aclocal} |
0a78de7f | 58 | %{__autoconf} |
59 | %{__automake} | |
b7a3cea5 MB |
60 | %configure \ |
61 | --disable-silent-rules | |
11003352 | 62 | %{__make} |
35e33ad4 | 63 | |
64 | %install | |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | ||
dafd3e44 | 67 | %{__make} install \ |
1cccc797 JB |
68 | DESTDIR=$RPM_BUILD_ROOT |
69 | ||
b7a3cea5 | 70 | %find_lang %{name} --with-gnome |
35e33ad4 | 71 | |
72 | %clean | |
73 | rm -rf $RPM_BUILD_ROOT | |
74 | ||
1cccc797 | 75 | %post |
b7a3cea5 MB |
76 | %glib_compile_schemas |
77 | %update_icon_cache hicolor | |
1cccc797 JB |
78 | |
79 | %postun | |
b7a3cea5 MB |
80 | %glib_compile_schemas |
81 | %update_icon_cache hicolor | |
9c72ab8a | 82 | |
35e33ad4 | 83 | %files -f %{name}.lang |
84 | %defattr(644,root,root,755) | |
b7a3cea5 | 85 | %doc NEWS |
1cccc797 | 86 | %attr(755,root,root) %{_bindir}/gnome-chess |
b7a3cea5 | 87 | %{_datadir}/appdata/gnome-chess.appdata.xml |
1c3bded7 | 88 | %{_datadir}/gnome-chess |
b7a3cea5 MB |
89 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-chess.gschema.xml |
90 | %dir %{_sysconfdir}/gnome-chess | |
91 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gnome-chess/engines.conf | |
1cccc797 | 92 | %{_desktopdir}/gnome-chess.desktop |
c9b3d2f0 | 93 | %{_iconsdir}/hicolor/*/apps/gnome-chess.png |
b7a3cea5 | 94 | %{_mandir}/man6/gnome-chess.6* |