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