]> git.pld-linux.org Git - packages/gnome-chess.git/blob - gnome-chess.spec
- updated to 3.12.2
[packages/gnome-chess.git] / gnome-chess.spec
1 Summary:        GNOME Chess - a 2D/3D chess interface
2 Summary(pl.UTF-8):      GNOME Chess - dwu i trójwymiarowy interfejs do szachów
3 Name:           gnome-chess
4 Version:        3.12.2
5 Release:        1
6 License:        GPL v2+
7 Group:          X11/Applications/Games
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gnome-chess/3.12/%{name}-%{version}.tar.xz
9 # Source0-md5:  e89a263222b043f1782e39166119218e
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
16 BuildRequires:  gettext-devel
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
22 BuildRequires:  pkgconfig
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
39 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40
41 %description
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.
45
46 %description -l pl.UTF-8
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.
51
52 %prep
53 %setup -q
54
55 %build
56 %{__intltoolize}
57 %{__aclocal}
58 %{__autoconf}
59 %{__automake}
60 %configure \
61         --disable-silent-rules
62 %{__make}
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66
67 %{__make} install \
68         DESTDIR=$RPM_BUILD_ROOT
69
70 %find_lang %{name} --with-gnome
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %post
76 %glib_compile_schemas
77 %update_icon_cache hicolor
78
79 %postun
80 %glib_compile_schemas
81 %update_icon_cache hicolor
82
83 %files -f %{name}.lang
84 %defattr(644,root,root,755)
85 %doc NEWS
86 %attr(755,root,root) %{_bindir}/gnome-chess
87 %{_datadir}/appdata/gnome-chess.appdata.xml
88 %{_datadir}/gnome-chess
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
92 %{_desktopdir}/gnome-chess.desktop
93 %{_iconsdir}/hicolor/*/apps/gnome-chess.png
94 %{_mandir}/man6/gnome-chess.6*
This page took 0.046723 seconds and 3 git commands to generate.