]>
Commit | Line | Data |
---|---|---|
1fe95821 | 1 | Summary: GNOME games |
80e8e7f5 ER |
2 | Summary(es.UTF-8): Juegos de GNOME |
3 | Summary(fr.UTF-8): Jeux pour GNOME | |
4 | Summary(pl.UTF-8): GNOME - gry | |
5 | Summary(ru.UTF-8): Игры под GNOME | |
6 | Summary(uk.UTF-8): Ігри під GNOME | |
7 | Summary(wa.UTF-8): Djeus po GNOME | |
1fe95821 | 8 | Name: gnome-games |
f74d7c23 | 9 | Version: 3.4.1 |
f3308006 | 10 | Release: 1 |
8b8bf796 | 11 | Epoch: 1 |
341d99f9 | 12 | License: LGPL |
22fa9ef6 | 13 | Group: X11/Applications/Games |
f3308006 | 14 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-games/3.4/%{name}-%{version}.tar.xz |
f74d7c23 | 15 | # Source0-md5: 7dc21d85550b58818a8db432f364bf3e |
2acc7a2d | 16 | URL: http://live.gnome.org/GnomeGames |
d98e0888 | 17 | BuildRequires: OpenGL-GLU-devel |
cb24a834 | 18 | BuildRequires: autoconf >= 2.53 |
0c2cb79f | 19 | BuildRequires: automake >= 1:1.11 |
f3308006 | 20 | BuildRequires: cairo-devel >= 1.10.0 |
a8b0c821 | 21 | BuildRequires: clutter-devel >= 1.0.0 |
d98e0888 | 22 | BuildRequires: clutter-gtk-devel >= 1.0.0 |
a438c923 | 23 | BuildRequires: docbook-dtd412-xml |
67946874 | 24 | BuildRequires: gettext-devel |
d98e0888 | 25 | BuildRequires: glib2-devel >= 1:2.26.0 |
27139cab | 26 | BuildRequires: glibc-misc |
33bc4a71 MB |
27 | BuildRequires: gnome-common >= 2.24.0 |
28 | BuildRequires: gnome-doc-utils >= 0.14.0 | |
d98e0888 | 29 | BuildRequires: gobject-introspection-devel >= 0.10.0 |
f3308006 | 30 | BuildRequires: gtk+3-devel >= 3.4.0 |
2acc7a2d | 31 | BuildRequires: intltool >= 0.40.4 |
d98e0888 MB |
32 | BuildRequires: libcanberra-gtk3-devel >= 0.26 |
33 | BuildRequires: librsvg-devel >= 1:2.32.0 | |
6092a75f | 34 | BuildRequires: libstdc++-devel |
704d6f59 | 35 | BuildRequires: libtool |
e191969f | 36 | BuildRequires: pkgconfig >= 1:0.15 |
26aa3d6e | 37 | BuildRequires: python-devel >= 1:2.4 |
0c2cb79f | 38 | BuildRequires: python-pygobject3-devel >= 3.0.0 |
a438c923 | 39 | BuildRequires: rpm-pythonprov |
26aa3d6e | 40 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
201aff0c | 41 | BuildRequires: rpmbuild(macros) >= 1.311 |
cd1ac38a | 42 | BuildRequires: scrollkeeper >= 0.3.8 |
d98e0888 | 43 | BuildRequires: sqlite3-devel |
0c2cb79f | 44 | BuildRequires: tar >= 1:1.22 |
f3308006 | 45 | BuildRequires: vala >= 2:0.15.1 |
2acc7a2d | 46 | BuildRequires: xorg-lib-libSM-devel |
27139cab | 47 | BuildRequires: xorg-proto-glproto-devel |
0c2cb79f | 48 | BuildRequires: xz |
f3308006 | 49 | BuildRequires: yelp-tools |
faf554c0 | 50 | Requires(post,postun): gtk-update-icon-cache |
d98e0888 MB |
51 | Requires(post,postun): glib2 >= 1:2.26.0 |
52 | Requires: hicolor-icon-theme | |
53 | Requires: librsvg >= 1:2.32.0 | |
4fd78e1f | 54 | Obsoletes: gnect |
617bfb5a | 55 | Obsoletes: gnome |
a4387c20 | 56 | Obsoletes: gnome-games-blackjack |
cb24a834 | 57 | Obsoletes: gnome-games-devel |
f9d19920 | 58 | Obsoletes: gnome-games-gataxx |
a4387c20 | 59 | Obsoletes: gnome-games-servers |
96ccf482 | 60 | Obsoletes: gnome-games-static |
923f5cfa | 61 | Obsoletes: gnome-games-stones |
e5eb71cd | 62 | # sr@Latn vs. sr@latin |
63 | Conflicts: glibc-misc < 6:2.7 | |
617bfb5a | 64 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
7f3383bc | 65 | |
2597fa95 | 66 | %define _localstatedir /var |
608d1777 | 67 | %define _gamesdir %{_localstatedir}/games |
2597fa95 | 68 | |
7f3383bc | 69 | %description |
cb24a834 | 70 | Gnome-games is a collection of simple, but addictive, games from the |
71 | GNOME desktop project. They represent many of the popular games and | |
72 | include card games, puzzle games and arcade games. | |
7f3383bc | 73 | |
829f10ae JR |
74 | %description -l pl.UTF-8 |
75 | Gnome-games jest kolekcją prostych, choć uzależniających gier projektu | |
76 | GNOME. Są wśród nich reprezentanci wielu popularnych gier, wliczając | |
77 | karciane, układanki i zręcznościowe. | |
0624d8ae | 78 | |
829f10ae JR |
79 | %description -l uk.UTF-8 |
80 | Пакет gnome-games включає ігри для середовища робочого столу GNOME, | |
81 | серед яких GnomeScott, freecell, gnibbles, gnobots, gnobots2, | |
77818e62 | 82 | gnome-stones, gnomine, gnotravex, gtali, gturing, iagno, mahjongg, |
829f10ae | 83 | same-gnome та sol. |
77818e62 | 84 | |
829f10ae JR |
85 | %description -l ru.UTF-8 |
86 | Пакет gnome-games включает игры для среды рабочего стола GNOME, среди | |
87 | которых GnomeScott, freecell, gnibbles, gnobots, gnobots2, | |
77818e62 | 88 | gnome-stones, gnomine, gnotravex, gtali, gturing, iagno, mahjongg, |
829f10ae | 89 | same-gnome и sol. |
77818e62 | 90 | |
f9d19920 MB |
91 | %package glchess |
92 | Summary: GNOME glChess - a 2D/3D chess interface | |
2322bc2c | 93 | Summary(pl.UTF-8): GNOME glChess - dwu i trójwymiarowy interfejs do szachów |
cb24a834 | 94 | Group: X11/Applications/Games |
f9d19920 | 95 | Requires(post,postun): desktop-file-utils |
d98e0888 | 96 | Requires(post,postun): gtk-update-icon-cache |
d98e0888 | 97 | Requires(post,postun): glib2 >= 1:2.26.0 |
cb24a834 | 98 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d98e0888 | 99 | Requires: hicolor-icon-theme |
15a0bce9 PG |
100 | Suggests: crafty |
101 | Suggests: gnuchess | |
f9d19920 | 102 | Obsoletes: glchess |
7f3383bc | 103 | |
f9d19920 MB |
104 | %description glchess |
105 | glChess is a 2D/3D chess game interfacing via the Chess Engine | |
106 | Communication Protocol (CECP) by Tim Mann. This means it can currently | |
107 | use engines such as GNUChess, Sjeng, Faile, Amy, Crafty and Phalanx. | |
0624d8ae | 108 | |
2322bc2c | 109 | %description glchess -l pl.UTF-8 |
67946874 PZ |
110 | glChess to dwu i trójwymiarowa gra w szachy komunikująca się za pomocą |
111 | protokołu CECP (Chess Engine Communication Protocol) Tima Manna. | |
112 | Oznacza to, że aktualnie może używać silników takich jak GNUChess, | |
113 | Sjeng, Faile, Amy, Crafty i Phalanx. | |
2322bc2c | 114 | |
cb24a834 | 115 | %package glines |
116 | Summary: Five or more game | |
80e8e7f5 | 117 | Summary(pl.UTF-8): Gra "Pięć albo więcej" |
cb24a834 | 118 | Group: X11/Applications/Games |
cb24a834 | 119 | Requires(post): coreutils |
d98e0888 | 120 | Requires(post,postun): gtk-update-icon-cache |
0c2cb79f | 121 | Requires(post,postun): glib2 >= 1:2.26.0 |
cb24a834 | 122 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d98e0888 | 123 | Requires: hicolor-icon-theme |
77818e62 | 124 | |
cb24a834 | 125 | %description glines |
126 | Remove colored balls from the board by forming lines. | |
77818e62 | 127 | |
829f10ae | 128 | %description glines -l pl.UTF-8 |
5c0200ee | 129 | Gra polegająca na usuwaniu kolorowych kul poprzez układanie ich w |
cb24a834 | 130 | linie. |
7f3383bc | 131 | |
cb24a834 | 132 | %package gnect |
133 | Summary: Four-in-a-row game | |
80e8e7f5 | 134 | Summary(pl.UTF-8): Gra "Cztery w rzędzie" |
cb24a834 | 135 | Group: X11/Applications/Games |
d98e0888 | 136 | Requires(post,postun): gtk-update-icon-cache |
f3308006 | 137 | Requires(post,postun): glib2 >= 1:2.26.0 |
cb24a834 | 138 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d98e0888 | 139 | Requires: hicolor-icon-theme |
cb24a834 | 140 | |
141 | %description gnect | |
142 | Compete to make lines of the same color. | |
143 | ||
829f10ae | 144 | %description gnect -l pl.UTF-8 |
5c0200ee | 145 | Gra, której celem jest utworzenie linii w jednym kolorze. |
cb24a834 | 146 | |
147 | %package gnibbles | |
148 | Summary: GNOME Nibbles | |
80e8e7f5 | 149 | Summary(pl.UTF-8): Nibbles dla GNOME |
cb24a834 | 150 | Group: X11/Applications/Games |
cb24a834 | 151 | Requires(post): coreutils |
d98e0888 | 152 | Requires(post,postun): gtk-update-icon-cache |
f3308006 | 153 | Requires(post,postun): glib2 >= 1:2.26.0 |
cb24a834 | 154 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d98e0888 | 155 | Requires: hicolor-icon-theme |
cb24a834 | 156 | |
157 | %description gnibbles | |
158 | Guide a worm around a maze. | |
159 | ||
829f10ae JR |
160 | %description gnibbles -l pl.UTF-8 |
161 | Gra polegająca na przeprowadzeniu robaka przez labirynt. | |
cb24a834 | 162 | |
163 | %package gnobots2 | |
164 | Summary: GNOME Robots | |
80e8e7f5 | 165 | Summary(pl.UTF-8): Robots dla GNOME |
cb24a834 | 166 | Group: X11/Applications/Games |
cb24a834 | 167 | Requires(post): coreutils |
d98e0888 | 168 | Requires(post,postun): gtk-update-icon-cache |
f3308006 | 169 | Requires(post,postun): glib2 >= 1:2.26.0 |
cb24a834 | 170 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d98e0888 | 171 | Requires: hicolor-icon-theme |
7f3383bc | 172 | |
cb24a834 | 173 | %description gnobots2 |
174 | Avoid the robots and make them crash into each other. | |
175 | ||
829f10ae JR |
176 | %description gnobots2 -l pl.UTF-8 |
177 | Gra polegająca na zapobieganiu zderzeniom robotów. | |
cb24a834 | 178 | |
cb24a834 | 179 | %package gnomine |
180 | Summary: GNOME Mines | |
80e8e7f5 | 181 | Summary(pl.UTF-8): Miny dla GNOME |
cb24a834 | 182 | Group: X11/Applications/Games |
cb24a834 | 183 | Requires(post): coreutils |
d98e0888 | 184 | Requires(post,postun): gtk-update-icon-cache |
0c2cb79f | 185 | Requires(post,postun): glib2 >= 1:2.26.0 |
cb24a834 | 186 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d98e0888 | 187 | Requires: hicolor-icon-theme |
cb24a834 | 188 | |
189 | %description gnomine | |
190 | Clear mines from a minefield. | |
191 | ||
829f10ae JR |
192 | %description gnomine -l pl.UTF-8 |
193 | Gra, której celem jest rozminowanie pola minowego. | |
cb24a834 | 194 | |
195 | %package gnotravex | |
196 | Summary: GNOME Tetravex | |
80e8e7f5 | 197 | Summary(pl.UTF-8): Tetravex dla GNOME |
cb24a834 | 198 | Group: X11/Applications/Games |
cb24a834 | 199 | Requires(post): coreutils |
d98e0888 | 200 | Requires(post,postun): gtk-update-icon-cache |
0c2cb79f | 201 | Requires(post,postun): glib2 >= 1:2.26.0 |
cb24a834 | 202 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d98e0888 | 203 | Requires: hicolor-icon-theme |
cb24a834 | 204 | |
205 | %description gnotravex | |
206 | Puzzle game. | |
207 | ||
829f10ae JR |
208 | %description gnotravex -l pl.UTF-8 |
209 | Układanka. | |
cb24a834 | 210 | |
211 | %package gnotski | |
212 | Summary: Gnome Klotski | |
80e8e7f5 | 213 | Summary(pl.UTF-8): Klotski dla GNOME |
cb24a834 | 214 | Group: X11/Applications/Games |
215 | Requires(post): coreutils | |
d98e0888 | 216 | Requires(post,postun): gtk-update-icon-cache |
f3308006 | 217 | Requires(post,postun): glib2 >= 1:2.26.0 |
cb24a834 | 218 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d98e0888 | 219 | Requires: hicolor-icon-theme |
cb24a834 | 220 | |
221 | %description gnotski | |
222 | Clone of the Klotski game. The objective is to move the patterned | |
223 | block to the area bordered by green markers. | |
224 | ||
829f10ae | 225 | %description gnotski -l pl.UTF-8 |
f9d19920 MB |
226 | Klon gry Klotski. Celem gry jest przesunięcie zaznaczonego klocka w |
227 | pole ograniczone zielonymi znacznikami. | |
cb24a834 | 228 | |
229 | %package gtali | |
230 | Summary: GNOME Tali | |
80e8e7f5 | 231 | Summary(pl.UTF-8): Tali dla GNOME |
cb24a834 | 232 | Group: X11/Applications/Games |
cb24a834 | 233 | Requires(post): coreutils |
d98e0888 | 234 | Requires(post,postun): gtk-update-icon-cache |
f3308006 | 235 | Requires(post,postun): glib2 >= 1:2.26.0 |
cb24a834 | 236 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d98e0888 | 237 | Requires: hicolor-icon-theme |
cb24a834 | 238 | |
239 | %description gtali | |
240 | Poker-style dice game. | |
241 | ||
829f10ae JR |
242 | %description gtali -l pl.UTF-8 |
243 | Gra w kości w pokerowym stylu. | |
cb24a834 | 244 | |
245 | %package iagno | |
246 | Summary: GNOME Iagno | |
80e8e7f5 | 247 | Summary(pl.UTF-8): Iagno dla GNOME |
cb24a834 | 248 | Group: X11/Applications/Games |
d98e0888 | 249 | Requires(post,postun): gtk-update-icon-cache |
0c2cb79f | 250 | Requires(post,postun): glib2 >= 1:2.26.0 |
cb24a834 | 251 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d98e0888 | 252 | Requires: hicolor-icon-theme |
cb24a834 | 253 | |
254 | %description iagno | |
255 | Reversi like game. | |
256 | ||
829f10ae | 257 | %description iagno -l pl.UTF-8 |
cb24a834 | 258 | Gra podobna do Reversi. |
259 | ||
a4387c20 MB |
260 | %package lightsoff |
261 | Summary: Lights Off | |
5c0200ee | 262 | Summary(pl.UTF-8): Gra Lights Off dla GNOME |
a4387c20 | 263 | Group: X11/Applications/Games |
d98e0888 | 264 | Requires(post,postun): gtk-update-icon-cache |
f3308006 | 265 | Requires(post,postun): glib2 >= 1:2.26.0 |
a4387c20 | 266 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d98e0888 | 267 | Requires: hicolor-icon-theme |
a4387c20 MB |
268 | |
269 | %description lightsoff | |
270 | Lights Off is a puzzle game, where the objective is to turn off all of | |
271 | the tiles on the board. Each click toggles the state of the clicked | |
272 | tile and its non-diagonal neighbors. | |
273 | ||
5c0200ee JB |
274 | %description lightsoff -l pl.UTF-8 |
275 | Lights Off to układanka, której celem jest zgaszenie wszystkich pól na | |
276 | planszy. Każde kliknięcie zmienia stan klikniętego pola oraz jego | |
277 | najbliższych sąsiadów (nie po przekątnej). | |
278 | ||
cb24a834 | 279 | %package mahjongg |
280 | Summary: GNOME Mahjongg | |
80e8e7f5 | 281 | Summary(pl.UTF-8): Mahjongg dla GNOME |
cb24a834 | 282 | Group: X11/Applications/Games |
cb24a834 | 283 | Requires(post): coreutils |
d98e0888 | 284 | Requires(post,postun): gtk-update-icon-cache |
0c2cb79f | 285 | Requires(post,postun): glib2 >= 1:2.26.0 |
cb24a834 | 286 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d98e0888 | 287 | Requires: hicolor-icon-theme |
cb24a834 | 288 | |
289 | %description mahjongg | |
290 | Disassemble a pile of tiles by removing matching pairs. | |
291 | ||
829f10ae | 292 | %description mahjongg -l pl.UTF-8 |
5c0200ee | 293 | Gra polegająca na demontażu stosu kafli poprzez usuwanie pasujących |
cb24a834 | 294 | par. |
295 | ||
a4387c20 MB |
296 | %package quadrapassel |
297 | Summary: GNOME Tetris | |
298 | Summary(pl.UTF-8): Tetris dla GNOME | |
cb24a834 | 299 | Group: X11/Applications/Games |
cb24a834 | 300 | Requires(post): coreutils |
d98e0888 | 301 | Requires(post,postun): gtk-update-icon-cache |
f3308006 | 302 | Requires(post,postun): glib2 >= 1:2.26.0 |
cb24a834 | 303 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d98e0888 | 304 | Requires: hicolor-icon-theme |
a4387c20 MB |
305 | Provides: gnome-games-gnometris |
306 | Obsoletes: gnome-games-gnometris | |
cb24a834 | 307 | |
a4387c20 MB |
308 | %description quadrapassel |
309 | Tetris like game. | |
cb24a834 | 310 | |
a4387c20 MB |
311 | %description quadrapassel -l pl.UTF-8 |
312 | Gra podobna do Tetrisa. | |
cb24a834 | 313 | |
f9d19920 MB |
314 | %package sudoku |
315 | Summary: Simple interface for playing, saving, printing and solving Sudoku | |
316 | Summary(pl.UTF-8): Prosty interfejs do grania, zapisywania, drukowania i rozwiązywania Sudoku | |
317 | Group: X11/Applications/Games | |
d98e0888 | 318 | Requires(post,postun): gtk-update-icon-cache |
f3308006 | 319 | Requires(post,postun): glib2 >= 1:2.26.0 |
f9d19920 | 320 | Requires: %{name} = %{epoch}:%{version}-%{release} |
0c2cb79f MB |
321 | Requires: gobject-introspection >= 0.10.0 |
322 | Requires: gtk+3 | |
d98e0888 | 323 | Requires: hicolor-icon-theme |
0c2cb79f MB |
324 | Requires: python-pycairo |
325 | Requires: python-pygobject3 | |
f9d19920 MB |
326 | Obsoletes: gnome-sudoku |
327 | ||
328 | %description sudoku | |
329 | GNOME Sudoku provides a simple interface for playing, saving, printing | |
330 | and solving Sudoku. | |
331 | ||
332 | %description sudoku -l pl.UTF-8 | |
333 | GNOME Sudoku dostarcza prosty interfejs do grania, zapisywania, | |
334 | drukowania i rozwiązywania Sudoku. | |
335 | ||
a4387c20 MB |
336 | %package swell-foop |
337 | Summary: Swell Foop | |
5c0200ee | 338 | Summary(pl.UTF-8): Gra Swell Foop dla GNOME |
a4387c20 MB |
339 | Group: X11/Applications/Games |
340 | Requires(post): coreutils | |
d98e0888 | 341 | Requires(post,postun): gtk-update-icon-cache |
f3308006 | 342 | Requires(post,postun): glib2 >= 1:2.26.0 |
a4387c20 | 343 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d98e0888 | 344 | Requires: hicolor-icon-theme |
a4387c20 MB |
345 | Provides: gnome-games-same-gnome |
346 | Obsoletes: gnome-games-same-gnome | |
67946874 | 347 | |
a4387c20 MB |
348 | %description swell-foop |
349 | Remove groups of balls to try and clear the screen. | |
67946874 | 350 | |
a4387c20 MB |
351 | %description swell-foop -l pl.UTF-8 |
352 | Gra, której celem jest oczyszczanie planszy poprzez usuwanie grup kul. | |
67946874 | 353 | |
7f3383bc | 354 | %prep |
355 | %setup -q | |
2bb74d1a | 356 | |
7f3383bc | 357 | %build |
1a744321 | 358 | %{__glib_gettextize} |
359 | %{__intltoolize} | |
704d6f59 | 360 | %{__libtoolize} |
f9d19920 | 361 | %{__aclocal} -I m4 |
3a75cb9f | 362 | %{__autoconf} |
67946874 | 363 | %{__autoheader} |
3a75cb9f | 364 | %{__automake} |
cb24a834 | 365 | %configure \ |
e191969f | 366 | --enable-games=all \ |
d98e0888 | 367 | --enable-staging \ |
a4387c20 | 368 | --disable-silent-rules \ |
cb24a834 | 369 | --disable-static |
67946874 | 370 | |
0919fe29 | 371 | %{__make} |
7f3383bc | 372 | |
373 | %install | |
374 | rm -rf $RPM_BUILD_ROOT | |
375 | ||
7a9ee3e3 | 376 | %{__make} install \ |
a4387c20 | 377 | DESTDIR=$RPM_BUILD_ROOT |
2f1e894d | 378 | |
f3308006 MB |
379 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la |
380 | ||
f9d19920 MB |
381 | %py_postclean |
382 | ||
f3308006 MB |
383 | %find_lang %{name} |
384 | %find_lang gnect --with-gnome | |
385 | %find_lang gnomine --with-gnome | |
386 | %find_lang swell-foop --with-gnome | |
387 | %find_lang mahjongg --with-gnome | |
388 | %find_lang glchess --with-gnome | |
389 | %find_lang gtali --with-gnome | |
390 | %find_lang gnome-sudoku --with-gnome | |
391 | %find_lang gnotravex --with-gnome | |
392 | %find_lang gnotski --with-gnome | |
393 | %find_lang glines --with-gnome | |
394 | %find_lang iagno --with-gnome | |
395 | %find_lang gnobots2 --with-gnome | |
396 | %find_lang gnibbles --with-gnome | |
397 | %find_lang quadrapassel --with-gnome | |
398 | %find_lang lightsoff --with-gnome | |
1fe95821 | 399 | |
0add80e9 JB |
400 | %clean |
401 | rm -rf $RPM_BUILD_ROOT | |
402 | ||
d98e0888 MB |
403 | %post |
404 | %glib_compile_schemas | |
f3308006 | 405 | %update_icon_cache hicolor |
d98e0888 MB |
406 | |
407 | %postun | |
408 | %glib_compile_schemas | |
f3308006 | 409 | %update_icon_cache hicolor |
d98e0888 | 410 | |
f9d19920 | 411 | %post glchess |
d98e0888 | 412 | %update_icon_cache hicolor |
f9d19920 | 413 | %update_desktop_database_post |
d98e0888 | 414 | %glib_compile_schemas |
e83112b2 | 415 | |
f9d19920 | 416 | %postun glchess |
d98e0888 | 417 | %update_icon_cache hicolor |
f9d19920 | 418 | %update_desktop_database_postun |
d98e0888 | 419 | %glib_compile_schemas |
cb24a834 | 420 | |
421 | %post glines | |
201aff0c | 422 | %update_icon_cache hicolor |
0c2cb79f | 423 | %glib_compile_schemas |
cb24a834 | 424 | |
425 | if [ ! -f %{_gamesdir}/glines.scores ]; then | |
426 | touch %{_gamesdir}/glines.scores | |
427 | chown root:games %{_gamesdir}/glines.scores | |
428 | chmod 664 %{_gamesdir}/glines.scores | |
429 | fi | |
430 | ||
f22e7290 | 431 | %postun glines |
201aff0c | 432 | %update_icon_cache hicolor |
0c2cb79f | 433 | %glib_compile_schemas |
cb24a834 | 434 | |
435 | %post gnect | |
201aff0c | 436 | %update_icon_cache hicolor |
f3308006 | 437 | %glib_compile_schemas |
e83112b2 | 438 | |
f22e7290 | 439 | %postun gnect |
201aff0c | 440 | %update_icon_cache hicolor |
f3308006 | 441 | %glib_compile_schemas |
cb24a834 | 442 | |
443 | %post gnibbles | |
201aff0c | 444 | %update_icon_cache hicolor |
f3308006 | 445 | %glib_compile_schemas |
cb24a834 | 446 | |
447 | for i in gnibbles.1.0 gnibbles.1.1 gnibbles.2.0 gnibbles.2.1 gnibbles.3.0 \ | |
448 | gnibbles.3.1 gnibbles.4.0 gnibbles.4.1; do | |
449 | if [ ! -f %{_gamesdir}/$i.scores ]; then | |
450 | touch %{_gamesdir}/$i.scores | |
451 | chown root:games %{_gamesdir}/$i.scores | |
452 | chmod 664 %{_gamesdir}/$i.scores | |
453 | fi | |
454 | done | |
455 | ||
f22e7290 | 456 | %postun gnibbles |
201aff0c | 457 | %update_icon_cache hicolor |
f3308006 | 458 | %glib_compile_schemas |
cb24a834 | 459 | |
460 | %post gnobots2 | |
f3308006 | 461 | %glib_compile_schemas |
201aff0c | 462 | %update_icon_cache hicolor |
bb994225 | 463 | |
cb24a834 | 464 | for i in gnobots2.classic_robots-safe gnobots2.classic_robots \ |
465 | gnobots2.classic_robots-super-safe gnobots2.nightmare-safe \ | |
466 | gnobots2.nightmare gnobots2.nightmare-super-safe \ | |
467 | gnobots2.robots2_easy-safe gnobots2.robots2_easy \ | |
468 | gnobots2.robots2_easy-super-safe gnobots2.robots2-safe \ | |
469 | gnobots2.robots2 gnobots2.robots2-super-safe \ | |
e62b95e6 | 470 | gnobots2.robots_with_safe_teleport-safe \ |
cb24a834 | 471 | gnobots2.robots_with_safe_teleport \ |
472 | gnobots2.robots_with_safe_teleport-super-safe; do | |
9a916e56 | 473 | if [ ! -f %{_gamesdir}/$i.scores ]; then |
474 | touch %{_gamesdir}/$i.scores | |
475 | chown root:games %{_gamesdir}/$i.scores | |
476 | chmod 664 %{_gamesdir}/$i.scores | |
477 | fi | |
478 | done | |
479 | ||
f22e7290 | 480 | %postun gnobots2 |
f3308006 | 481 | %glib_compile_schemas |
201aff0c | 482 | %update_icon_cache hicolor |
cb24a834 | 483 | |
cb24a834 | 484 | %post gnomine |
0c2cb79f | 485 | %glib_compile_schemas |
201aff0c | 486 | %update_icon_cache hicolor |
cb24a834 | 487 | |
488 | for i in gnomine.Custom gnomine.Large gnomine.Medium gnomine.Small; do | |
489 | if [ ! -f %{_gamesdir}/$i.scores ]; then | |
490 | touch %{_gamesdir}/$i.scores | |
491 | chown root:games %{_gamesdir}/$i.scores | |
492 | chmod 664 %{_gamesdir}/$i.scores | |
493 | fi | |
494 | done | |
495 | ||
f22e7290 | 496 | %postun gnomine |
201aff0c | 497 | %update_icon_cache hicolor |
0c2cb79f | 498 | %glib_compile_schemas |
cb24a834 | 499 | |
500 | %post gnotravex | |
0c2cb79f | 501 | %glib_compile_schemas |
201aff0c | 502 | %update_icon_cache hicolor |
cb24a834 | 503 | |
504 | for i in gnotravex.2x2 gnotravex.3x3 gnotravex.4x4 gnotravex.5x5 \ | |
505 | gnotravex.6x6; do | |
506 | if [ ! -f %{_gamesdir}/$i.scores ]; then | |
507 | touch %{_gamesdir}/$i.scores | |
508 | chown root:games %{_gamesdir}/$i.scores | |
509 | chmod 664 %{_gamesdir}/$i.scores | |
510 | fi | |
511 | done | |
512 | ||
f22e7290 | 513 | %postun gnotravex |
201aff0c | 514 | %update_icon_cache hicolor |
0c2cb79f | 515 | %glib_compile_schemas |
cb24a834 | 516 | |
517 | %post gnotski | |
f3308006 | 518 | %glib_compile_schemas |
201aff0c | 519 | %update_icon_cache hicolor |
cb24a834 | 520 | |
521 | for i in 1 2 3 4 5 6 7 11 12 13 14 15 16 17 21 22 23 24 25 26; do | |
522 | if [ ! -f %{_gamesdir}/gnotski.$i.scores ]; then | |
523 | touch %{_gamesdir}/gnotski.$i.scores | |
524 | chown root:games %{_gamesdir}/gnotski.$i.scores | |
525 | chmod 664 %{_gamesdir}/gnotski.$i.scores | |
526 | fi | |
527 | done | |
528 | ||
f22e7290 | 529 | %postun gnotski |
f3308006 | 530 | %glib_compile_schemas |
201aff0c | 531 | %update_icon_cache hicolor |
cb24a834 | 532 | |
533 | %post gtali | |
f3308006 | 534 | %glib_compile_schemas |
201aff0c | 535 | %update_icon_cache hicolor |
cb24a834 | 536 | |
537 | if [ ! -f %{_gamesdir}/gtali.scores ]; then | |
538 | touch %{_gamesdir}/gtali.scores | |
539 | chown root:games %{_gamesdir}/gtali.scores | |
540 | chmod 664 %{_gamesdir}/gtali.scores | |
541 | fi | |
542 | ||
f22e7290 | 543 | %postun gtali |
f3308006 | 544 | %glib_compile_schemas |
201aff0c | 545 | %update_icon_cache hicolor |
cb24a834 | 546 | |
547 | %post iagno | |
0c2cb79f | 548 | %glib_compile_schemas |
201aff0c | 549 | %update_icon_cache hicolor |
cb24a834 | 550 | |
f22e7290 | 551 | %postun iagno |
201aff0c | 552 | %update_icon_cache hicolor |
0c2cb79f | 553 | %glib_compile_schemas |
cb24a834 | 554 | |
a4387c20 | 555 | %post lightsoff |
a4387c20 | 556 | %update_icon_cache hicolor |
f3308006 | 557 | %glib_compile_schemas |
a4387c20 MB |
558 | |
559 | %postun lightsoff | |
a4387c20 | 560 | %update_icon_cache hicolor |
f3308006 | 561 | %glib_compile_schemas |
a4387c20 | 562 | |
cb24a834 | 563 | %post mahjongg |
0c2cb79f | 564 | %glib_compile_schemas |
201aff0c | 565 | %update_icon_cache hicolor |
cb24a834 | 566 | |
567 | for i in mahjongg.bridges mahjongg.cloud mahjongg.confounding \ | |
568 | mahjongg.difficult mahjongg.dragon mahjongg.easy \ | |
569 | mahjongg.pyramid mahjongg.tictactoe mahjongg.ziggurat; do | |
570 | if [ ! -f %{_gamesdir}/$i.scores ]; then | |
571 | touch %{_gamesdir}/$i.scores | |
572 | chown root:games %{_gamesdir}/$i.scores | |
573 | chmod 664 %{_gamesdir}/$i.scores | |
574 | fi | |
575 | done | |
576 | ||
f22e7290 | 577 | %postun mahjongg |
201aff0c | 578 | %update_icon_cache hicolor |
0c2cb79f | 579 | %glib_compile_schemas |
cb24a834 | 580 | |
a4387c20 | 581 | %post quadrapassel |
201aff0c | 582 | %update_icon_cache hicolor |
f3308006 | 583 | %glib_compile_schemas |
cb24a834 | 584 | |
a4387c20 MB |
585 | if [ ! -f %{_gamesdir}/quadrapassel.scores ]; then |
586 | touch %{_gamesdir}/quadrapassel.scores | |
587 | chown root:games %{_gamesdir}/quadrapassel.scores | |
588 | chmod 664 %{_gamesdir}/quadrapassel.scores | |
cb24a834 | 589 | fi |
590 | ||
a4387c20 | 591 | %postun quadrapassel |
201aff0c | 592 | %update_icon_cache hicolor |
f3308006 | 593 | %glib_compile_schemas |
cb24a834 | 594 | |
8cd2a484 MB |
595 | %post sudoku |
596 | %update_icon_cache hicolor | |
f3308006 | 597 | %glib_compile_schemas |
8cd2a484 MB |
598 | |
599 | %postun sudoku | |
600 | %update_icon_cache hicolor | |
f3308006 | 601 | %glib_compile_schemas |
8cd2a484 | 602 | |
a4387c20 | 603 | %post swell-foop |
a4387c20 | 604 | %update_icon_cache hicolor |
f3308006 | 605 | %glib_compile_schemas |
a4387c20 | 606 | |
f3308006 MB |
607 | for i in large normal small; do |
608 | if [ ! -f %{_gamesdir}/swell-foop.$i.scores ]; then | |
609 | touch %{_gamesdir}/swell-foop.$i.scores | |
610 | chown root:games %{_gamesdir}/swell-foop.$i.scores | |
611 | chmod 664 %{_gamesdir}/swell-foop.$i.scores | |
612 | fi | |
613 | done | |
a4387c20 MB |
614 | |
615 | %postun swell-foop | |
a4387c20 | 616 | %update_icon_cache hicolor |
f3308006 | 617 | %glib_compile_schemas |
a4387c20 | 618 | |
3cf32ce7 | 619 | %files -f %{name}.lang |
6bc1ab0e | 620 | %defattr(644,root,root,755) |
a24bc91b | 621 | %doc AUTHORS ChangeLog NEWS README |
e191969f | 622 | %dir %{_libdir}/%{name} |
a4387c20 | 623 | %attr(755,root,root) %{_libdir}/%{name}/libgames-support-gi.so* |
6509e3b6 | 624 | %{_libdir}/%{name}/GnomeGamesSupport-1.0.* |
d98e0888 | 625 | %{_datadir}/glib-2.0/schemas/org.gnome.Games.WindowState.gschema.xml |
f3308006 | 626 | %{_iconsdir}/hicolor/*/*/*.png |
3b7b0038 | 627 | %dir %{_datadir}/%{name} |
cb24a834 | 628 | |
f9d19920 | 629 | %files glchess -f glchess.lang |
cb24a834 | 630 | %defattr(644,root,root,755) |
f9d19920 | 631 | %attr(755,root,root) %{_bindir}/glchess |
f9d19920 MB |
632 | %{_desktopdir}/glchess.desktop |
633 | %{_datadir}/glchess | |
d98e0888 | 634 | %{_datadir}/glib-2.0/schemas/org.gnome.glchess.gschema.xml |
f3308006 | 635 | %{_iconsdir}/hicolor/*/*/glchess.* |
a8b0c821 | 636 | %{_mandir}/man6/glchess.6* |
cb24a834 | 637 | |
b86b58a4 | 638 | %files glines -f glines.lang |
cb24a834 | 639 | %defattr(644,root,root,755) |
2597fa95 | 640 | %attr(2755,root,games) %{_bindir}/glines |
f3308006 | 641 | %{_datadir}/glines |
0c2cb79f | 642 | %{_datadir}/glib-2.0/schemas/org.gnome.glines.gschema.xml |
cb24a834 | 643 | %{_desktopdir}/glines.desktop |
f3308006 MB |
644 | %{_iconsdir}/hicolor/*/*/glines.* |
645 | %attr(664,root,games) %ghost %{_gamesdir}/glines.* | |
a8b0c821 | 646 | %{_mandir}/man6/glines.6* |
cb24a834 | 647 | |
b86b58a4 | 648 | %files gnect -f gnect.lang |
cb24a834 | 649 | %defattr(644,root,root,755) |
650 | %attr(755,root,games) %{_bindir}/gnect | |
f3308006 MB |
651 | %{_datadir}/gnect |
652 | %{_datadir}/glib-2.0/schemas/org.gnome.gnect.gschema.xml | |
cb24a834 | 653 | %{_desktopdir}/gnect.desktop |
f3308006 | 654 | %{_iconsdir}/hicolor/*/*/gnect.* |
a8b0c821 | 655 | %{_mandir}/man6/gnect.6* |
cb24a834 | 656 | |
b86b58a4 | 657 | %files gnibbles -f gnibbles.lang |
cb24a834 | 658 | %defattr(644,root,root,755) |
9a916e56 | 659 | %attr(2755,root,games) %{_bindir}/gnibbles |
f3308006 MB |
660 | %{_datadir}/gnibbles |
661 | %{_datadir}/glib-2.0/schemas/org.gnome.gnibbles.gschema.xml | |
cb24a834 | 662 | %{_desktopdir}/gnibbles.desktop |
f3308006 MB |
663 | %{_iconsdir}/hicolor/*/*/gnibbles.* |
664 | %attr(664,root,games) %ghost %{_gamesdir}/gnibbles.* | |
a8b0c821 | 665 | %{_mandir}/man6/gnibbles.6* |
cb24a834 | 666 | |
b86b58a4 | 667 | %files gnobots2 -f gnobots2.lang |
cb24a834 | 668 | %defattr(644,root,root,755) |
9a916e56 | 669 | %attr(2755,root,games) %{_bindir}/gnobots2 |
f3308006 MB |
670 | %{_datadir}/gnobots2 |
671 | %{_datadir}/glib-2.0/schemas/org.gnome.gnobots2.gschema.xml | |
cb24a834 | 672 | %{_desktopdir}/gnobots2.desktop |
f3308006 MB |
673 | %{_iconsdir}/hicolor/*/*/gnobots2.* |
674 | %attr(664,root,games) %ghost %{_gamesdir}/gnobots2.* | |
a8b0c821 | 675 | %{_mandir}/man6/gnobots2.6* |
cb24a834 | 676 | |
b86b58a4 | 677 | %files gnomine -f gnomine.lang |
cb24a834 | 678 | %defattr(644,root,root,755) |
2597fa95 | 679 | %attr(2755,root,games) %{_bindir}/gnomine |
f3308006 | 680 | %{_datadir}/gnomine |
0c2cb79f | 681 | %{_datadir}/glib-2.0/schemas/org.gnome.gnomine.gschema.xml |
cb24a834 | 682 | %{_desktopdir}/gnomine.desktop |
d98e0888 | 683 | %{_iconsdir}/hicolor/*/*/gnomine.* |
f3308006 | 684 | %attr(664,root,games) %ghost %{_gamesdir}/gnomine.* |
a8b0c821 | 685 | %{_mandir}/man6/gnomine.6* |
cb24a834 | 686 | |
b86b58a4 | 687 | %files gnotravex -f gnotravex.lang |
cb24a834 | 688 | %defattr(644,root,root,755) |
2597fa95 | 689 | %attr(2755,root,games) %{_bindir}/gnotravex |
0c2cb79f | 690 | %{_datadir}/glib-2.0/schemas/org.gnome.gnotravex.gschema.xml |
cb24a834 | 691 | %{_desktopdir}/gnotravex.desktop |
f3308006 MB |
692 | %{_datadir}/gnotravex |
693 | %{_iconsdir}/hicolor/*/*/gnotravex.* | |
694 | %attr(664,root,games) %ghost %{_gamesdir}/gnotravex.* | |
a8b0c821 | 695 | %{_mandir}/man6/gnotravex.6* |
cb24a834 | 696 | |
b86b58a4 | 697 | %files gnotski -f gnotski.lang |
cb24a834 | 698 | %defattr(644,root,root,755) |
13ef6290 | 699 | %attr(2755,root,games) %{_bindir}/gnotski |
cb24a834 | 700 | %{_desktopdir}/gnotski.desktop |
f3308006 MB |
701 | %{_datadir}/gnotski |
702 | %{_datadir}/glib-2.0/schemas/org.gnome.gnotski.gschema.xml | |
703 | %{_iconsdir}/hicolor/*/*/gnotski.* | |
704 | %attr(664,root,games) %ghost %{_gamesdir}/gnotski.* | |
a8b0c821 | 705 | %{_mandir}/man6/gnotski.6* |
cb24a834 | 706 | |
b86b58a4 | 707 | %files gtali -f gtali.lang |
cb24a834 | 708 | %defattr(644,root,root,755) |
2597fa95 | 709 | %attr(2755,root,games) %{_bindir}/gtali |
f3308006 MB |
710 | %{_datadir}/gtali |
711 | %{_datadir}/glib-2.0/schemas/org.gnome.gtali.gschema.xml | |
cb24a834 | 712 | %{_desktopdir}/gtali.desktop |
f3308006 MB |
713 | %{_iconsdir}/hicolor/*/*/gtali.* |
714 | %attr(664,root,games) %ghost %{_gamesdir}/gtali.* | |
a8b0c821 | 715 | %{_mandir}/man6/gtali.6* |
cb24a834 | 716 | |
b86b58a4 | 717 | %files iagno -f iagno.lang |
cb24a834 | 718 | %defattr(644,root,root,755) |
719 | %attr(755,root,root) %{_bindir}/iagno | |
f3308006 | 720 | %{_datadir}/iagno |
0c2cb79f | 721 | %{_datadir}/glib-2.0/schemas/org.gnome.iagno.gschema.xml |
cb24a834 | 722 | %{_desktopdir}/iagno.desktop |
f3308006 | 723 | %{_iconsdir}/hicolor/*/*/iagno.* |
a8b0c821 | 724 | %{_mandir}/man6/iagno.6* |
cb24a834 | 725 | |
a4387c20 MB |
726 | %files lightsoff -f lightsoff.lang |
727 | %defattr(644,root,root,755) | |
728 | %attr(755,root,games) %{_bindir}/lightsoff | |
f3308006 MB |
729 | %{_datadir}/lightsoff |
730 | %{_datadir}/glib-2.0/schemas/org.gnome.lightsoff.gschema.xml | |
a4387c20 | 731 | %{_desktopdir}/lightsoff.desktop |
f3308006 | 732 | %{_iconsdir}/hicolor/*/*/lightsoff.* |
a4387c20 | 733 | |
b86b58a4 | 734 | %files mahjongg -f mahjongg.lang |
cb24a834 | 735 | %defattr(644,root,root,755) |
2597fa95 | 736 | %attr(2755,root,games) %{_bindir}/mahjongg |
0c2cb79f | 737 | %{_datadir}/glib-2.0/schemas/org.gnome.mahjongg.gschema.xml |
cb24a834 | 738 | %{_desktopdir}/mahjongg.desktop |
f3308006 MB |
739 | %{_iconsdir}/hicolor/*/*/mahjongg.* |
740 | %{_datadir}/mahjongg | |
741 | %attr(664,root,games) %ghost %{_gamesdir}/mahjongg.* | |
a8b0c821 | 742 | %{_mandir}/man6/mahjongg.6* |
cb24a834 | 743 | |
a4387c20 | 744 | %files quadrapassel -f quadrapassel.lang |
6bc1ab0e | 745 | %defattr(644,root,root,755) |
a4387c20 | 746 | %attr(2755,root,games) %{_bindir}/quadrapassel |
f3308006 MB |
747 | %{_datadir}/quadrapassel |
748 | %{_datadir}/glib-2.0/schemas/org.gnome.quadrapassel.gschema.xml | |
a4387c20 | 749 | %{_desktopdir}/quadrapassel.desktop |
f3308006 MB |
750 | %{_iconsdir}/hicolor/*/*/quadrapassel.* |
751 | %attr(664,root,games) %ghost %{_gamesdir}/quadrapassel.* | |
a4387c20 | 752 | %{_mandir}/man6/quadrapassel.6* |
cb24a834 | 753 | |
f9d19920 MB |
754 | %files sudoku -f gnome-sudoku.lang |
755 | %defattr(644,root,root,755) | |
756 | %attr(755,root,root) %{_bindir}/gnome-sudoku | |
757 | %{_desktopdir}/gnome-sudoku.desktop | |
758 | %dir %{py_sitescriptdir}/gnome_sudoku | |
759 | %{py_sitescriptdir}/gnome_sudoku/*.py[co] | |
760 | %dir %{py_sitescriptdir}/gnome_sudoku/gtk_goodies | |
761 | %{py_sitescriptdir}/gnome_sudoku/gtk_goodies/*.py[co] | |
762 | %{_datadir}/gnome-sudoku | |
f3308006 | 763 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-sudoku.gschema.xml |
e191969f | 764 | %{_iconsdir}/hicolor/*/*/gnome-sudoku.* |
a8b0c821 | 765 | %{_mandir}/man6/gnome-sudoku.6* |
67946874 | 766 | |
a4387c20 | 767 | %files swell-foop -f swell-foop.lang |
67946874 | 768 | %defattr(644,root,root,755) |
a4387c20 | 769 | %attr(755,root,games) %{_bindir}/swell-foop |
a4387c20 | 770 | %{_desktopdir}/swell-foop.desktop |
f3308006 MB |
771 | %{_datadir}/gnome-games/swell-foop |
772 | %{_datadir}/glib-2.0/schemas/org.gnome.swell-foop.gschema.xml | |
773 | %{_iconsdir}/hicolor/*/*/swell-foop.* | |
774 | %attr(664,root,games) %ghost %{_gamesdir}/swell-foop.* |