]>
Commit | Line | Data |
---|---|---|
1fe95821 | 1 | Summary: GNOME games |
829f10ae JR |
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 |
193428b1 | 9 | Version: 2.16.3 |
e1c0a3b4 | 10 | Release: 1 |
8b8bf796 | 11 | Epoch: 1 |
341d99f9 | 12 | License: LGPL |
22fa9ef6 | 13 | Group: X11/Applications/Games |
cba79c02 | 14 | Source0: http://ftp.gnome.org/pub/gnome/sources/gnome-games/2.16/%{name}-%{version}.tar.bz2 |
193428b1 | 15 | # Source0-md5: 88baa9ab64b84bfcac2a1ba05f84d2f9 |
62f2f88f | 16 | Patch0: %{name}-schemas.patch |
cb24a834 | 17 | Patch1: %{name}-include.patch |
0fd2ab97 | 18 | Patch2: %{name}-desktop.patch |
0add80e9 | 19 | URL: http://www.gnome.org/ |
e23150be | 20 | BuildRequires: GConf2-devel >= 2.16.0 |
cb24a834 | 21 | BuildRequires: autoconf >= 2.53 |
3a75cb9f | 22 | BuildRequires: automake |
e23150be | 23 | BuildRequires: avahi-glib-devel >= 0.6.15 |
3a75cb9f | 24 | BuildRequires: esound-devel |
9632a862 | 25 | BuildRequires: gnome-common >= 2.12.0 |
193428b1 | 26 | BuildRequires: gnome-vfs2-devel >= 2.16.3 |
9632a862 | 27 | BuildRequires: gob2 >= 2.0.14 |
cba79c02 | 28 | BuildRequires: guile-devel >= 5:1.8.0 |
e23150be MB |
29 | BuildRequires: gtk+2-devel >= 2:2.10.6 |
30 | BuildRequires: intltool >= 0.35.0 | |
e8bd4cf3 | 31 | BuildRequires: libglade2-devel >= 1:2.6.0 |
e23150be | 32 | BuildRequires: libgnomeui-devel >= 2.16.1 |
6092a75f | 33 | BuildRequires: libltdl-devel |
cba79c02 | 34 | BuildRequires: librsvg-devel >= 1:2.16.0 |
6092a75f | 35 | BuildRequires: libstdc++-devel |
704d6f59 | 36 | BuildRequires: libtool |
7004b7a2 | 37 | BuildRequires: pkgconfig |
201aff0c | 38 | BuildRequires: rpmbuild(macros) >= 1.311 |
cd1ac38a | 39 | BuildRequires: scrollkeeper >= 0.3.8 |
40 | Requires(post,preun): GConf2 | |
193428b1 | 41 | Requires: gnome-vfs2 >= 2.16.3 |
6b419bb7 | 42 | Requires: hicolor-icon-theme |
cba79c02 | 43 | Requires: libgnomeui >= 2.16.0 |
44 | Requires: librsvg >= 1:2.16.0 | |
4fd78e1f | 45 | Obsoletes: gnect |
617bfb5a | 46 | Obsoletes: gnome |
cb24a834 | 47 | Obsoletes: gnome-games-devel |
96ccf482 | 48 | Obsoletes: gnome-games-static |
923f5cfa | 49 | Obsoletes: gnome-games-stones |
617bfb5a | 50 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
7f3383bc | 51 | |
2597fa95 | 52 | %define _localstatedir /var |
cb24a834 | 53 | %define _gnomehelpdir %{_datadir}/gnome/help |
608d1777 | 54 | %define _gamesdir %{_localstatedir}/games |
2597fa95 | 55 | |
7f3383bc | 56 | %description |
cb24a834 | 57 | Gnome-games is a collection of simple, but addictive, games from the |
58 | GNOME desktop project. They represent many of the popular games and | |
59 | include card games, puzzle games and arcade games. | |
7f3383bc | 60 | |
829f10ae JR |
61 | %description -l pl.UTF-8 |
62 | Gnome-games jest kolekcją prostych, choć uzależniających gier projektu | |
63 | GNOME. Są wśród nich reprezentanci wielu popularnych gier, wliczając | |
64 | karciane, układanki i zręcznościowe. | |
0624d8ae | 65 | |
829f10ae JR |
66 | %description -l uk.UTF-8 |
67 | Пакет gnome-games включає ігри для середовища робочого столу GNOME, | |
68 | серед яких GnomeScott, freecell, gnibbles, gnobots, gnobots2, | |
77818e62 | 69 | gnome-stones, gnomine, gnotravex, gtali, gturing, iagno, mahjongg, |
829f10ae | 70 | same-gnome та sol. |
77818e62 | 71 | |
829f10ae JR |
72 | %description -l ru.UTF-8 |
73 | Пакет gnome-games включает игры для среды рабочего стола GNOME, среди | |
74 | которых GnomeScott, freecell, gnibbles, gnobots, gnobots2, | |
77818e62 | 75 | gnome-stones, gnomine, gnotravex, gtali, gturing, iagno, mahjongg, |
829f10ae | 76 | same-gnome и sol. |
77818e62 | 77 | |
cb24a834 | 78 | %package blackjack |
79 | Summary: GNOME's version of blackjack | |
829f10ae | 80 | Summary(pl.UTF-8): Blackjack dla GNOME |
cb24a834 | 81 | Group: X11/Applications/Games |
e23150be MB |
82 | Requires(post,preun): GConf2 >= 2.16.0 |
83 | Requires(post,postun): gtk+2 >= 2:2.10.6 | |
cd1ac38a | 84 | Requires(post,postun): scrollkeeper |
3a75cb9f | 85 | Requires: %{name} = %{epoch}:%{version}-%{release} |
7f3383bc | 86 | |
cb24a834 | 87 | %description blackjack |
88 | Casino card game Blackjack. | |
89 | ||
829f10ae | 90 | %description blackjack -l pl.UTF-8 |
cb24a834 | 91 | Kasynowa wersja gry oczko. |
92 | ||
93 | %package gataxx | |
94 | Summary: GNOME Ataxx | |
829f10ae | 95 | Summary(pl.UTF-8): Ataxx dla GNOME |
cb24a834 | 96 | Group: X11/Applications/Games |
e23150be MB |
97 | Requires(post,preun): GConf2 >= 2.16.0 |
98 | Requires(post,postun): gtk+2 >= 2:2.10.6 | |
cd1ac38a | 99 | Requires(post,postun): scrollkeeper |
cb24a834 | 100 | Requires: %{name} = %{epoch}:%{version}-%{release} |
7f3383bc | 101 | |
cb24a834 | 102 | %description gataxx |
103 | Reversi like game. | |
7f3383bc | 104 | |
829f10ae | 105 | %description gataxx -l pl.UTF-8 |
cb24a834 | 106 | Gra podobna do Reversi. |
0624d8ae | 107 | |
cb24a834 | 108 | %package glines |
109 | Summary: Five or more game | |
829f10ae | 110 | Summary(pl.UTF-8): Gra "Pięć albo więcej" |
cb24a834 | 111 | Group: X11/Applications/Games |
e23150be | 112 | Requires(post,preun): GConf2 >= 2.16.0 |
cb24a834 | 113 | Requires(post): coreutils |
e23150be | 114 | Requires(post,postun): gtk+2 >= 2:2.10.6 |
cd1ac38a | 115 | Requires(post,postun): scrollkeeper |
cb24a834 | 116 | Requires: %{name} = %{epoch}:%{version}-%{release} |
77818e62 | 117 | |
cb24a834 | 118 | %description glines |
119 | Remove colored balls from the board by forming lines. | |
77818e62 | 120 | |
829f10ae JR |
121 | %description glines -l pl.UTF-8 |
122 | Gra polegająca na usuwaniu kolorwych kul poprzez układanie ich w | |
cb24a834 | 123 | linie. |
7f3383bc | 124 | |
cb24a834 | 125 | %package gnect |
126 | Summary: Four-in-a-row game | |
829f10ae | 127 | Summary(pl.UTF-8): Gra "Cztery w rzędzie" |
cb24a834 | 128 | Group: X11/Applications/Games |
e23150be MB |
129 | Requires(post,preun): GConf2 >= 2.16.0 |
130 | Requires(post,postun): gtk+2 >= 2:2.10.6 | |
cd1ac38a | 131 | Requires(post,postun): scrollkeeper |
cb24a834 | 132 | Requires: %{name} = %{epoch}:%{version}-%{release} |
133 | ||
134 | %description gnect | |
135 | Compete to make lines of the same color. | |
136 | ||
829f10ae JR |
137 | %description gnect -l pl.UTF-8 |
138 | Gra, której celem jest utowrzenie linii w jednym kolorze. | |
cb24a834 | 139 | |
140 | %package gnibbles | |
141 | Summary: GNOME Nibbles | |
829f10ae | 142 | Summary(pl.UTF-8): Nibbles dla GNOME |
cb24a834 | 143 | Group: X11/Applications/Games |
e23150be | 144 | Requires(post,preun): GConf2 >= 2.16.0 |
cb24a834 | 145 | Requires(post): coreutils |
e23150be | 146 | Requires(post,postun): gtk+2 >= 2:2.10.6 |
cd1ac38a | 147 | Requires(post,postun): scrollkeeper |
cb24a834 | 148 | Requires: %{name} = %{epoch}:%{version}-%{release} |
149 | ||
150 | %description gnibbles | |
151 | Guide a worm around a maze. | |
152 | ||
829f10ae JR |
153 | %description gnibbles -l pl.UTF-8 |
154 | Gra polegająca na przeprowadzeniu robaka przez labirynt. | |
cb24a834 | 155 | |
156 | %package gnobots2 | |
157 | Summary: GNOME Robots | |
829f10ae | 158 | Summary(pl.UTF-8): Robots dla GNOME |
cb24a834 | 159 | Group: X11/Applications/Games |
e23150be | 160 | Requires(post,preun): GConf2 >= 2.16.0 |
cb24a834 | 161 | Requires(post): coreutils |
e23150be | 162 | Requires(post,postun): gtk+2 >= 2:2.10.6 |
cd1ac38a | 163 | Requires(post,postun): scrollkeeper |
cb24a834 | 164 | Requires: %{name} = %{epoch}:%{version}-%{release} |
7f3383bc | 165 | |
cb24a834 | 166 | %description gnobots2 |
167 | Avoid the robots and make them crash into each other. | |
168 | ||
829f10ae JR |
169 | %description gnobots2 -l pl.UTF-8 |
170 | Gra polegająca na zapobieganiu zderzeniom robotów. | |
cb24a834 | 171 | |
cb24a834 | 172 | %package gnometris |
173 | Summary: GNOME Tetris | |
829f10ae | 174 | Summary(pl.UTF-8): Tetris dla GNOME |
cb24a834 | 175 | Group: X11/Applications/Games |
e23150be | 176 | Requires(post,preun): GConf2 >= 2.16.0 |
cb24a834 | 177 | Requires(post): coreutils |
e23150be | 178 | Requires(post,postun): gtk+2 >= 2:2.10.6 |
cd1ac38a | 179 | Requires(post,postun): scrollkeeper |
cb24a834 | 180 | Requires: %{name} = %{epoch}:%{version}-%{release} |
181 | ||
182 | %description gnometris | |
183 | Tetris like game. | |
184 | ||
829f10ae | 185 | %description gnometris -l pl.UTF-8 |
cb24a834 | 186 | Gra podobna do Tetrisa. |
187 | ||
188 | %package gnomine | |
189 | Summary: GNOME Mines | |
829f10ae | 190 | Summary(pl.UTF-8): Miny dla GNOME |
cb24a834 | 191 | Group: X11/Applications/Games |
e23150be | 192 | Requires(post,preun): GConf2 >= 2.16.0 |
cb24a834 | 193 | Requires(post): coreutils |
e23150be | 194 | Requires(post,postun): gtk+2 >= 2:2.10.6 |
cd1ac38a | 195 | Requires(post,postun): scrollkeeper |
cb24a834 | 196 | Requires: %{name} = %{epoch}:%{version}-%{release} |
197 | ||
198 | %description gnomine | |
199 | Clear mines from a minefield. | |
200 | ||
829f10ae JR |
201 | %description gnomine -l pl.UTF-8 |
202 | Gra, której celem jest rozminowanie pola minowego. | |
cb24a834 | 203 | |
204 | %package gnotravex | |
205 | Summary: GNOME Tetravex | |
829f10ae | 206 | Summary(pl.UTF-8): Tetravex dla GNOME |
cb24a834 | 207 | Group: X11/Applications/Games |
e23150be | 208 | Requires(post,preun): GConf2 >= 2.16.0 |
cb24a834 | 209 | Requires(post): coreutils |
e23150be | 210 | Requires(post,postun): gtk+2 >= 2:2.10.6 |
cd1ac38a | 211 | Requires(post,postun): scrollkeeper |
cb24a834 | 212 | Requires: %{name} = %{epoch}:%{version}-%{release} |
213 | ||
214 | %description gnotravex | |
215 | Puzzle game. | |
216 | ||
829f10ae JR |
217 | %description gnotravex -l pl.UTF-8 |
218 | Układanka. | |
cb24a834 | 219 | |
220 | %package gnotski | |
221 | Summary: Gnome Klotski | |
829f10ae | 222 | Summary(pl.UTF-8): Klotski dla GNOME |
cb24a834 | 223 | Group: X11/Applications/Games |
e23150be | 224 | Requires(post,preun): GConf2 >= 2.16.0 |
cb24a834 | 225 | Requires(post): coreutils |
e23150be | 226 | Requires(post,postun): gtk+2 >= 2:2.10.6 |
cd1ac38a | 227 | Requires(post,postun): scrollkeeper |
cb24a834 | 228 | Requires: %{name} = %{epoch}:%{version}-%{release} |
229 | ||
230 | %description gnotski | |
231 | Clone of the Klotski game. The objective is to move the patterned | |
232 | block to the area bordered by green markers. | |
233 | ||
829f10ae JR |
234 | %description gnotski -l pl.UTF-8 |
235 | Klon gry Klotski. Celem gry jest przesunięcie zaznaczonego klocka | |
cb24a834 | 236 | w pole ograniczone zielonymi znacznikami. |
237 | ||
238 | %package gtali | |
239 | Summary: GNOME Tali | |
829f10ae | 240 | Summary(pl.UTF-8): Tali dla GNOME |
cb24a834 | 241 | Group: X11/Applications/Games |
e23150be | 242 | Requires(post,preun): GConf2 >= 2.16.0 |
cb24a834 | 243 | Requires(post): coreutils |
e23150be | 244 | Requires(post,postun): gtk+2 >= 2:2.10.6 |
cd1ac38a | 245 | Requires(post,postun): scrollkeeper |
cb24a834 | 246 | Requires: %{name} = %{epoch}:%{version}-%{release} |
247 | ||
248 | %description gtali | |
249 | Poker-style dice game. | |
250 | ||
829f10ae JR |
251 | %description gtali -l pl.UTF-8 |
252 | Gra w kości w pokerowym stylu. | |
cb24a834 | 253 | |
254 | %package iagno | |
255 | Summary: GNOME Iagno | |
829f10ae | 256 | Summary(pl.UTF-8): Iagno dla GNOME |
cb24a834 | 257 | Group: X11/Applications/Games |
e23150be MB |
258 | Requires(post,preun): GConf2 >= 2.16.0 |
259 | Requires(post,postun): gtk+2 >= 2:2.10.6 | |
cd1ac38a | 260 | Requires(post,postun): scrollkeeper |
cb24a834 | 261 | Requires: %{name} = %{epoch}:%{version}-%{release} |
262 | ||
263 | %description iagno | |
264 | Reversi like game. | |
265 | ||
829f10ae | 266 | %description iagno -l pl.UTF-8 |
cb24a834 | 267 | Gra podobna do Reversi. |
268 | ||
269 | %package mahjongg | |
270 | Summary: GNOME Mahjongg | |
829f10ae | 271 | Summary(pl.UTF-8): Mahjongg dla GNOME |
cb24a834 | 272 | Group: X11/Applications/Games |
e23150be | 273 | Requires(post,preun): GConf2 >= 2.16.0 |
cb24a834 | 274 | Requires(post): coreutils |
e23150be | 275 | Requires(post,postun): gtk+2 >= 2:2.10.6 |
cd1ac38a | 276 | Requires(post,postun): scrollkeeper |
cb24a834 | 277 | Requires: %{name} = %{epoch}:%{version}-%{release} |
278 | ||
279 | %description mahjongg | |
280 | Disassemble a pile of tiles by removing matching pairs. | |
281 | ||
829f10ae JR |
282 | %description mahjongg -l pl.UTF-8 |
283 | Gra polegjaca na demontażu stosu kafli poprzez usuwanie pasujących | |
cb24a834 | 284 | par. |
285 | ||
286 | %package same-gnome | |
287 | Summary: Same GNOME | |
288 | Group: X11/Applications/Games | |
e23150be | 289 | Requires(post,preun): GConf2 >= 2.16.0 |
cb24a834 | 290 | Requires(post): coreutils |
e23150be | 291 | Requires(post,postun): gtk+2 >= 2:2.10.6 |
cd1ac38a | 292 | Requires(post,postun): scrollkeeper |
cb24a834 | 293 | Requires: %{name} = %{epoch}:%{version}-%{release} |
294 | ||
295 | %description same-gnome | |
296 | Remove groups of balls to try and clear the screen. | |
297 | ||
829f10ae JR |
298 | %description same-gnome -l pl.UTF-8 |
299 | Gra, której celem jest oczyszczanie planszy poprzez usuwanie grup kul. | |
cb24a834 | 300 | |
301 | %package sol | |
302 | Summary: AisleRiot Solitaire | |
829f10ae | 303 | Summary(pl.UTF-8): Pasjans AisleRiot |
cb24a834 | 304 | Group: X11/Applications/Games |
e23150be MB |
305 | Requires(post,preun): GConf2 >= 2.16.0 |
306 | Requires(post,postun): gtk+2 >= 2:2.10.6 | |
cd1ac38a | 307 | Requires(post,postun): scrollkeeper |
cb24a834 | 308 | Requires: %{name} = %{epoch}:%{version}-%{release} |
cba79c02 | 309 | Requires: guile >= 5:1.8.0 |
cb24a834 | 310 | |
311 | %description sol | |
312 | Many different solitaire games. | |
313 | ||
829f10ae JR |
314 | %description sol -l pl.UTF-8 |
315 | Różne gry karciane. | |
0624d8ae | 316 | |
7f3383bc | 317 | %prep |
318 | %setup -q | |
62f2f88f | 319 | %patch0 -p1 |
3a75cb9f | 320 | %patch1 -p1 |
0fd2ab97 | 321 | %patch2 -p1 |
3a75cb9f | 322 | |
7f3383bc | 323 | %build |
1a744321 | 324 | %{__glib_gettextize} |
325 | %{__intltoolize} | |
704d6f59 | 326 | %{__libtoolize} |
4230e747 | 327 | %{__aclocal} |
3a75cb9f | 328 | %{__autoheader} |
329 | %{__autoconf} | |
330 | %{__automake} | |
cb24a834 | 331 | %configure \ |
9632a862 | 332 | --disable-bonjour \ |
923f5cfa | 333 | --disable-howl \ |
cb24a834 | 334 | --disable-static |
0919fe29 | 335 | %{__make} |
7f3383bc | 336 | |
337 | %install | |
338 | rm -rf $RPM_BUILD_ROOT | |
339 | ||
7a9ee3e3 | 340 | %{__make} install \ |
548e80c0 | 341 | DESTDIR=$RPM_BUILD_ROOT \ |
342 | GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 | |
7f3383bc | 343 | |
2f1e894d JB |
344 | rm -f $RPM_BUILD_ROOT%{_libdir}/gnome-stones/objects/lib*.la |
345 | ||
cb24a834 | 346 | %find_lang %{name} --all-name |
b86b58a4 | 347 | %find_lang gnect --with-gnome |
348 | %find_lang gnomine --with-gnome | |
349 | %find_lang same-gnome --with-gnome | |
350 | %find_lang mahjongg --with-gnome | |
351 | %find_lang gtali --with-gnome | |
b86b58a4 | 352 | %find_lang gataxx --with-gnome |
353 | %find_lang gnotravex --with-gnome | |
354 | %find_lang gnotski --with-gnome | |
355 | %find_lang glines --with-gnome | |
356 | %find_lang iagno --with-gnome | |
357 | %find_lang gnobots2 --with-gnome | |
358 | %find_lang gnibbles --with-gnome | |
359 | %find_lang gnometris --with-gnome | |
360 | %find_lang blackjack --with-gnome | |
361 | %find_lang aisleriot --with-gnome | |
1fe95821 | 362 | |
0add80e9 JB |
363 | %clean |
364 | rm -rf $RPM_BUILD_ROOT | |
365 | ||
6bfed4d9 | 366 | %post |
1a744321 | 367 | %gconf_schema_install libgnomegames.schemas |
6bfed4d9 | 368 | |
e83112b2 | 369 | %preun |
1a744321 | 370 | %gconf_schema_uninstall libgnomegames.schemas |
f22e7290 | 371 | |
cb24a834 | 372 | %post blackjack |
1a744321 | 373 | %scrollkeeper_update_post |
374 | %gconf_schema_install blackjack.schemas | |
201aff0c | 375 | %update_icon_cache hicolor |
cb24a834 | 376 | |
e83112b2 | 377 | %preun blackjack |
1a744321 | 378 | %gconf_schema_uninstall blackjack.schemas |
e83112b2 | 379 | |
f22e7290 | 380 | %postun blackjack |
1a744321 | 381 | %scrollkeeper_update_postun |
201aff0c | 382 | %update_icon_cache hicolor |
cb24a834 | 383 | |
384 | %post gataxx | |
1a744321 | 385 | %scrollkeeper_update_post |
386 | %gconf_schema_install gataxx.schemas | |
201aff0c | 387 | %update_icon_cache hicolor |
cb24a834 | 388 | |
e83112b2 | 389 | %preun gataxx |
1a744321 | 390 | %gconf_schema_uninstall gataxx.schemas |
e83112b2 | 391 | |
f22e7290 | 392 | %postun gataxx |
1a744321 | 393 | %scrollkeeper_update_postun |
201aff0c | 394 | %update_icon_cache hicolor |
cb24a834 | 395 | |
396 | %post glines | |
1a744321 | 397 | %scrollkeeper_update_post |
398 | %gconf_schema_install glines.schemas | |
201aff0c | 399 | %update_icon_cache hicolor |
cb24a834 | 400 | |
401 | if [ ! -f %{_gamesdir}/glines.scores ]; then | |
402 | touch %{_gamesdir}/glines.scores | |
403 | chown root:games %{_gamesdir}/glines.scores | |
404 | chmod 664 %{_gamesdir}/glines.scores | |
405 | fi | |
406 | ||
e83112b2 | 407 | %preun glines |
1a744321 | 408 | %gconf_schema_uninstall glines.schemas |
e83112b2 | 409 | |
f22e7290 | 410 | %postun glines |
1a744321 | 411 | %scrollkeeper_update_postun |
201aff0c | 412 | %update_icon_cache hicolor |
cb24a834 | 413 | |
414 | %post gnect | |
1a744321 | 415 | %scrollkeeper_update_post |
416 | %gconf_schema_install gnect.schemas | |
201aff0c | 417 | %update_icon_cache hicolor |
cb24a834 | 418 | |
e83112b2 | 419 | %preun gnect |
1a744321 | 420 | %gconf_schema_uninstall gnect.schemas |
e83112b2 | 421 | |
f22e7290 | 422 | %postun gnect |
1a744321 | 423 | %scrollkeeper_update_postun |
201aff0c | 424 | %update_icon_cache hicolor |
cb24a834 | 425 | |
426 | %post gnibbles | |
1a744321 | 427 | %scrollkeeper_update_post |
428 | %gconf_schema_install gnibbles.schemas | |
201aff0c | 429 | %update_icon_cache hicolor |
cb24a834 | 430 | |
431 | for i in gnibbles.1.0 gnibbles.1.1 gnibbles.2.0 gnibbles.2.1 gnibbles.3.0 \ | |
432 | gnibbles.3.1 gnibbles.4.0 gnibbles.4.1; do | |
433 | if [ ! -f %{_gamesdir}/$i.scores ]; then | |
434 | touch %{_gamesdir}/$i.scores | |
435 | chown root:games %{_gamesdir}/$i.scores | |
436 | chmod 664 %{_gamesdir}/$i.scores | |
437 | fi | |
438 | done | |
439 | ||
e83112b2 | 440 | %preun gnibbles |
1a744321 | 441 | %gconf_schema_uninstall gnibbles.schemas |
e83112b2 | 442 | |
f22e7290 | 443 | %postun gnibbles |
1a744321 | 444 | %scrollkeeper_update_postun |
201aff0c | 445 | %update_icon_cache hicolor |
cb24a834 | 446 | |
447 | %post gnobots2 | |
1a744321 | 448 | %scrollkeeper_update_post |
449 | %gconf_schema_install gnobots2.schemas | |
201aff0c | 450 | %update_icon_cache hicolor |
bb994225 | 451 | |
cb24a834 | 452 | for i in gnobots2.classic_robots-safe gnobots2.classic_robots \ |
453 | gnobots2.classic_robots-super-safe gnobots2.nightmare-safe \ | |
454 | gnobots2.nightmare gnobots2.nightmare-super-safe \ | |
455 | gnobots2.robots2_easy-safe gnobots2.robots2_easy \ | |
456 | gnobots2.robots2_easy-super-safe gnobots2.robots2-safe \ | |
457 | gnobots2.robots2 gnobots2.robots2-super-safe \ | |
e62b95e6 | 458 | gnobots2.robots_with_safe_teleport-safe \ |
cb24a834 | 459 | gnobots2.robots_with_safe_teleport \ |
460 | gnobots2.robots_with_safe_teleport-super-safe; do | |
9a916e56 | 461 | if [ ! -f %{_gamesdir}/$i.scores ]; then |
462 | touch %{_gamesdir}/$i.scores | |
463 | chown root:games %{_gamesdir}/$i.scores | |
464 | chmod 664 %{_gamesdir}/$i.scores | |
465 | fi | |
466 | done | |
467 | ||
e83112b2 | 468 | %preun gnobots2 |
1a744321 | 469 | %gconf_schema_uninstall gnobots2.schemas |
e83112b2 | 470 | |
f22e7290 | 471 | %postun gnobots2 |
1a744321 | 472 | %scrollkeeper_update_postun |
201aff0c | 473 | %update_icon_cache hicolor |
cb24a834 | 474 | |
cb24a834 | 475 | %post gnometris |
1a744321 | 476 | %scrollkeeper_update_post |
477 | %gconf_schema_install gnometris.schemas | |
201aff0c | 478 | %update_icon_cache hicolor |
cb24a834 | 479 | |
480 | if [ ! -f %{_gamesdir}/gnometris.scores ]; then | |
481 | touch %{_gamesdir}/gnometris.scores | |
482 | chown root:games %{_gamesdir}/gnometris.scores | |
483 | chmod 664 %{_gamesdir}/gnometris.scores | |
484 | fi | |
485 | ||
e83112b2 | 486 | %preun gnometris |
1a744321 | 487 | %gconf_schema_uninstall gnometris.schemas |
e83112b2 | 488 | |
f22e7290 | 489 | %postun gnometris |
1a744321 | 490 | %scrollkeeper_update_postun |
201aff0c | 491 | %update_icon_cache hicolor |
cb24a834 | 492 | |
493 | %post gnomine | |
1a744321 | 494 | %scrollkeeper_update_post |
495 | %gconf_schema_install gnomine.schemas | |
201aff0c | 496 | %update_icon_cache hicolor |
cb24a834 | 497 | |
498 | for i in gnomine.Custom gnomine.Large gnomine.Medium gnomine.Small; do | |
499 | if [ ! -f %{_gamesdir}/$i.scores ]; then | |
500 | touch %{_gamesdir}/$i.scores | |
501 | chown root:games %{_gamesdir}/$i.scores | |
502 | chmod 664 %{_gamesdir}/$i.scores | |
503 | fi | |
504 | done | |
505 | ||
e83112b2 | 506 | %preun gnomine |
1a744321 | 507 | %gconf_schema_uninstall gnomine.schemas |
e83112b2 | 508 | |
f22e7290 | 509 | %postun gnomine |
1a744321 | 510 | %scrollkeeper_update_postun |
201aff0c | 511 | %update_icon_cache hicolor |
cb24a834 | 512 | |
513 | %post gnotravex | |
1a744321 | 514 | %scrollkeeper_update_post |
515 | %gconf_schema_install gnotravex.schemas | |
201aff0c | 516 | %update_icon_cache hicolor |
cb24a834 | 517 | |
518 | for i in gnotravex.2x2 gnotravex.3x3 gnotravex.4x4 gnotravex.5x5 \ | |
519 | gnotravex.6x6; do | |
520 | if [ ! -f %{_gamesdir}/$i.scores ]; then | |
521 | touch %{_gamesdir}/$i.scores | |
522 | chown root:games %{_gamesdir}/$i.scores | |
523 | chmod 664 %{_gamesdir}/$i.scores | |
524 | fi | |
525 | done | |
526 | ||
e83112b2 | 527 | %preun gnotravex |
1a744321 | 528 | %gconf_schema_uninstall gnotravex.schemas |
e83112b2 | 529 | |
f22e7290 | 530 | %postun gnotravex |
1a744321 | 531 | %scrollkeeper_update_postun |
201aff0c | 532 | %update_icon_cache hicolor |
cb24a834 | 533 | |
534 | %post gnotski | |
1a744321 | 535 | %scrollkeeper_update_post |
536 | %gconf_schema_install gnotski.schemas | |
201aff0c | 537 | %update_icon_cache hicolor |
cb24a834 | 538 | |
539 | for i in 1 2 3 4 5 6 7 11 12 13 14 15 16 17 21 22 23 24 25 26; do | |
540 | if [ ! -f %{_gamesdir}/gnotski.$i.scores ]; then | |
541 | touch %{_gamesdir}/gnotski.$i.scores | |
542 | chown root:games %{_gamesdir}/gnotski.$i.scores | |
543 | chmod 664 %{_gamesdir}/gnotski.$i.scores | |
544 | fi | |
545 | done | |
546 | ||
e83112b2 | 547 | %preun gnotski |
1a744321 | 548 | %gconf_schema_uninstall gnotski.schemas |
e83112b2 | 549 | |
f22e7290 | 550 | %postun gnotski |
1a744321 | 551 | %scrollkeeper_update_postun |
201aff0c | 552 | %update_icon_cache hicolor |
cb24a834 | 553 | |
554 | %post gtali | |
1a744321 | 555 | %scrollkeeper_update_post |
556 | %gconf_schema_install gtali.schemas | |
201aff0c | 557 | %update_icon_cache hicolor |
cb24a834 | 558 | |
559 | if [ ! -f %{_gamesdir}/gtali.scores ]; then | |
560 | touch %{_gamesdir}/gtali.scores | |
561 | chown root:games %{_gamesdir}/gtali.scores | |
562 | chmod 664 %{_gamesdir}/gtali.scores | |
563 | fi | |
564 | ||
e83112b2 | 565 | %preun gtali |
1a744321 | 566 | %gconf_schema_uninstall gtali.schemas |
e83112b2 | 567 | |
f22e7290 | 568 | %postun gtali |
1a744321 | 569 | %scrollkeeper_update_postun |
201aff0c | 570 | %update_icon_cache hicolor |
cb24a834 | 571 | |
572 | %post iagno | |
1a744321 | 573 | %scrollkeeper_update_post |
574 | %gconf_schema_install iagno.schemas | |
201aff0c | 575 | %update_icon_cache hicolor |
cb24a834 | 576 | |
e83112b2 | 577 | %preun iagno |
1a744321 | 578 | %gconf_schema_uninstall iagno.schemas |
e83112b2 | 579 | |
f22e7290 | 580 | %postun iagno |
1a744321 | 581 | %scrollkeeper_update_postun |
201aff0c | 582 | %update_icon_cache hicolor |
cb24a834 | 583 | |
584 | %post mahjongg | |
1a744321 | 585 | %scrollkeeper_update_post |
586 | %gconf_schema_install mahjongg.schemas | |
201aff0c | 587 | %update_icon_cache hicolor |
cb24a834 | 588 | |
589 | for i in mahjongg.bridges mahjongg.cloud mahjongg.confounding \ | |
590 | mahjongg.difficult mahjongg.dragon mahjongg.easy \ | |
591 | mahjongg.pyramid mahjongg.tictactoe mahjongg.ziggurat; do | |
592 | if [ ! -f %{_gamesdir}/$i.scores ]; then | |
593 | touch %{_gamesdir}/$i.scores | |
594 | chown root:games %{_gamesdir}/$i.scores | |
595 | chmod 664 %{_gamesdir}/$i.scores | |
596 | fi | |
597 | done | |
598 | ||
e83112b2 | 599 | %preun mahjongg |
1a744321 | 600 | %gconf_schema_uninstall mahjongg.schemas |
e83112b2 | 601 | |
f22e7290 | 602 | %postun mahjongg |
1a744321 | 603 | %scrollkeeper_update_postun |
201aff0c | 604 | %update_icon_cache hicolor |
cb24a834 | 605 | |
606 | %post same-gnome | |
1a744321 | 607 | %scrollkeeper_update_post |
608 | %gconf_schema_install same-gnome.schemas | |
201aff0c | 609 | %update_icon_cache hicolor |
cb24a834 | 610 | |
611 | if [ ! -f %{_gamesdir}/same-gnome.scores ]; then | |
612 | touch %{_gamesdir}/same-gnome.scores | |
613 | chown root:games %{_gamesdir}/same-gnome.scores | |
614 | chmod 664 %{_gamesdir}/same-gnome.scores | |
615 | fi | |
616 | ||
e83112b2 | 617 | %preun same-gnome |
1a744321 | 618 | %gconf_schema_uninstall same-gnome.schemas |
e83112b2 | 619 | |
f22e7290 | 620 | %postun same-gnome |
1a744321 | 621 | %scrollkeeper_update_postun |
201aff0c | 622 | %update_icon_cache hicolor |
cb24a834 | 623 | |
624 | %post sol | |
1a744321 | 625 | %scrollkeeper_update_post |
626 | %gconf_schema_install aisleriot.schemas | |
201aff0c | 627 | %update_icon_cache hicolor |
cb24a834 | 628 | |
e83112b2 | 629 | %preun sol |
1a744321 | 630 | %gconf_schema_uninstall aisleriot.schemas |
e83112b2 | 631 | |
f22e7290 | 632 | %postun sol |
1a744321 | 633 | %scrollkeeper_update_postun |
201aff0c | 634 | %update_icon_cache hicolor |
7f3383bc | 635 | |
3cf32ce7 | 636 | %files -f %{name}.lang |
6bc1ab0e | 637 | %defattr(644,root,root,755) |
a24bc91b | 638 | %doc AUTHORS ChangeLog NEWS README |
6bfed4d9 | 639 | %attr(755,root,root) %{_bindir}/games-server.py |
640 | %{_sysconfdir}/gconf/schemas/libgnomegames.schemas | |
3b7b0038 JB |
641 | %dir %{_datadir}/%{name} |
642 | %dir %{_omf_dest_dir}/%{name} | |
cb24a834 | 643 | %{_pixmapsdir}/gnome-games-common |
3b7b0038 | 644 | %dir %{_pixmapsdir}/iagno |
afe926dd | 645 | %{_pixmapsdir}/iagno/classic.png |
c8e45619 | 646 | |
b86b58a4 | 647 | %files blackjack -f blackjack.lang |
cb24a834 | 648 | %defattr(644,root,root,755) |
32d840e0 | 649 | %attr(755,root,root) %{_bindir}/blackjack |
cb24a834 | 650 | %{_sysconfdir}/gconf/schemas/blackjack.schemas |
651 | %{_datadir}/blackjack | |
652 | %{_desktopdir}/blackjack.desktop | |
653 | %{_omf_dest_dir}/%{name}/blackjack-C.omf | |
654 | %{_pixmapsdir}/blackjack | |
9632a862 | 655 | %{_iconsdir}/hicolor/*/*/gnome-blackjack.png |
cb24a834 | 656 | |
b86b58a4 | 657 | %files gataxx -f gataxx.lang |
cb24a834 | 658 | %defattr(644,root,root,755) |
659 | %attr(755,root,root) %{_bindir}/gataxx | |
660 | %{_sysconfdir}/gconf/schemas/gataxx.schemas | |
923f5cfa | 661 | %{_datadir}/%{name}/ataxx |
cb24a834 | 662 | %{_desktopdir}/gataxx.desktop |
663 | %{_omf_dest_dir}/%{name}/gataxx-C.omf | |
6b419bb7 | 664 | %{_iconsdir}/hicolor/*/*/gnome-ataxx.* |
cb24a834 | 665 | |
b86b58a4 | 666 | %files glines -f glines.lang |
cb24a834 | 667 | %defattr(644,root,root,755) |
2597fa95 | 668 | %attr(2755,root,games) %{_bindir}/glines |
cb24a834 | 669 | %{_sysconfdir}/gconf/schemas/glines.schemas |
670 | %{_desktopdir}/glines.desktop | |
671 | %{_omf_dest_dir}/%{name}/glines-C.omf | |
672 | %{_pixmapsdir}/glines | |
e1c0a3b4 | 673 | %{_iconsdir}/hicolor/*/*/gnome-five-or-more.png |
cb24a834 | 674 | %attr(664,root,games) %ghost %{_localstatedir}/games/glines.* |
cb24a834 | 675 | |
b86b58a4 | 676 | %files gnect -f gnect.lang |
cb24a834 | 677 | %defattr(644,root,root,755) |
678 | %attr(755,root,games) %{_bindir}/gnect | |
679 | %{_sysconfdir}/gconf/schemas/gnect.schemas | |
cb24a834 | 680 | %{_datadir}/gnect |
681 | %{_desktopdir}/gnect.desktop | |
682 | %{_omf_dest_dir}/%{name}/gnect-C.omf | |
683 | %{_pixmapsdir}/gnect | |
e1c0a3b4 | 684 | %{_iconsdir}/hicolor/*/*/gnome-four-in-a-row.png |
cb24a834 | 685 | |
b86b58a4 | 686 | %files gnibbles -f gnibbles.lang |
cb24a834 | 687 | %defattr(644,root,root,755) |
9a916e56 | 688 | %attr(2755,root,games) %{_bindir}/gnibbles |
cb24a834 | 689 | %{_sysconfdir}/gconf/schemas/gnibbles.schemas |
690 | %{_sysconfdir}/sound/events/gnibbles.soundlist | |
691 | %{_datadir}/gnibbles | |
692 | %{_datadir}/sounds/gnibbles | |
693 | %{_desktopdir}/gnibbles.desktop | |
694 | %{_omf_dest_dir}/%{name}/gnibbles-C.omf | |
695 | %{_pixmapsdir}/gnibbles | |
6b419bb7 | 696 | %{_iconsdir}/hicolor/*/*/gnome-nibbles.* |
cb24a834 | 697 | %attr(664,root,games) %ghost %{_localstatedir}/games/gnibbles.* |
cb24a834 | 698 | |
b86b58a4 | 699 | %files gnobots2 -f gnobots2.lang |
cb24a834 | 700 | %defattr(644,root,root,755) |
9a916e56 | 701 | %attr(2755,root,games) %{_bindir}/gnobots2 |
cb24a834 | 702 | %{_sysconfdir}/gconf/schemas/gnobots2.schemas |
703 | %{_sysconfdir}/sound/events/gnobots2.soundlist | |
704 | %{_datadir}/gnobots2 | |
705 | %{_datadir}/sounds/gnobots2 | |
706 | %{_desktopdir}/gnobots2.desktop | |
707 | %{_omf_dest_dir}/%{name}/gnobots2-C.omf | |
708 | %lang(da) %{_omf_dest_dir}/%{name}/gnobots2-da.omf | |
709 | %lang(es) %{_omf_dest_dir}/%{name}/gnobots2-es.omf | |
710 | %lang(it) %{_omf_dest_dir}/%{name}/gnobots2-it.omf | |
711 | %{_pixmapsdir}/gnobots2 | |
e1c0a3b4 | 712 | %{_iconsdir}/hicolor/*/*/gnome-robots.* |
cb24a834 | 713 | %attr(664,root,games) %ghost %{_localstatedir}/games/gnobots2.* |
cb24a834 | 714 | |
b86b58a4 | 715 | %files gnometris -f gnometris.lang |
cb24a834 | 716 | %defattr(644,root,root,755) |
2597fa95 | 717 | %attr(2755,root,games) %{_bindir}/gnometris |
cb24a834 | 718 | %{_sysconfdir}/gconf/schemas/gnometris.schemas |
719 | %{_desktopdir}/gnometris.desktop | |
720 | %{_omf_dest_dir}/%{name}/gnometris-C.omf | |
721 | %{_pixmapsdir}/gnometris | |
9632a862 | 722 | %{_iconsdir}/hicolor/*/*/gnome-gnometris.png |
cb24a834 | 723 | %{_datadir}/sounds/gnometris |
724 | %attr(664,root,games) %ghost %{_localstatedir}/games/gnometris.* | |
cb24a834 | 725 | |
b86b58a4 | 726 | %files gnomine -f gnomine.lang |
cb24a834 | 727 | %defattr(644,root,root,755) |
2597fa95 | 728 | %attr(2755,root,games) %{_bindir}/gnomine |
cb24a834 | 729 | %{_sysconfdir}/gconf/schemas/gnomine.schemas |
730 | %{_desktopdir}/gnomine.desktop | |
731 | %{_omf_dest_dir}/%{name}/gnomine-C.omf | |
732 | %{_pixmapsdir}/gnomine | |
6b419bb7 | 733 | %{_iconsdir}/hicolor/*/*/gnome-gnomine.* |
cb24a834 | 734 | %attr(664,root,games) %ghost %{_localstatedir}/games/gnomine.* |
cb24a834 | 735 | |
b86b58a4 | 736 | %files gnotravex -f gnotravex.lang |
cb24a834 | 737 | %defattr(644,root,root,755) |
2597fa95 | 738 | %attr(2755,root,games) %{_bindir}/gnotravex |
cb24a834 | 739 | %{_sysconfdir}/gconf/schemas/gnotravex.schemas |
740 | %{_desktopdir}/gnotravex.desktop | |
741 | %{_omf_dest_dir}/%{name}/gnotravex-C.omf | |
9632a862 | 742 | %{_iconsdir}/hicolor/*/*/gnome-tetravex.png |
cb24a834 | 743 | %attr(664,root,games) %ghost %{_localstatedir}/games/gnotravex.* |
cb24a834 | 744 | |
b86b58a4 | 745 | %files gnotski -f gnotski.lang |
cb24a834 | 746 | %defattr(644,root,root,755) |
13ef6290 | 747 | %attr(2755,root,games) %{_bindir}/gnotski |
6bfed4d9 | 748 | %{_sysconfdir}/gconf/schemas/gnotski.schemas |
cb24a834 | 749 | %{_desktopdir}/gnotski.desktop |
750 | %{_omf_dest_dir}/%{name}/gnotski-C.omf | |
6bfed4d9 | 751 | %{_pixmapsdir}/gnotski.svg |
e1c0a3b4 | 752 | %{_iconsdir}/hicolor/*/*/gnome-klotski.png |
cb24a834 | 753 | %attr(664,root,games) %ghost %{_localstatedir}/games/gnotski.* |
cb24a834 | 754 | |
b86b58a4 | 755 | %files gtali -f gtali.lang |
cb24a834 | 756 | %defattr(644,root,root,755) |
2597fa95 | 757 | %attr(2755,root,games) %{_bindir}/gtali |
cb24a834 | 758 | %{_sysconfdir}/gconf/schemas/gtali.schemas |
759 | %{_desktopdir}/gtali.desktop | |
760 | %{_omf_dest_dir}/%{name}/gtali-C.omf | |
761 | %lang(da) %{_omf_dest_dir}/%{name}/gtali-da.omf | |
762 | %{_pixmapsdir}/gtali | |
6b419bb7 | 763 | %{_iconsdir}/hicolor/*/*/gnome-tali.* |
cb24a834 | 764 | %attr(664,root,games) %ghost %{_localstatedir}/games/gtali.* |
cb24a834 | 765 | |
b86b58a4 | 766 | %files iagno -f iagno.lang |
cb24a834 | 767 | %defattr(644,root,root,755) |
768 | %attr(755,root,root) %{_bindir}/iagno | |
769 | %{_sysconfdir}/gconf/schemas/iagno.schemas | |
770 | %{_sysconfdir}/sound/events/iagno.soundlist | |
771 | %{_datadir}/sounds/iagno | |
772 | %{_desktopdir}/iagno.desktop | |
773 | %{_omf_dest_dir}/%{name}/iagno-C.omf | |
6b419bb7 | 774 | %{_iconsdir}/hicolor/*/*/gnome-iagno.* |
9632a862 | 775 | %{_pixmapsdir}/iagno/woodtrim.png |
cb24a834 | 776 | |
b86b58a4 | 777 | %files mahjongg -f mahjongg.lang |
cb24a834 | 778 | %defattr(644,root,root,755) |
2597fa95 | 779 | %attr(2755,root,games) %{_bindir}/mahjongg |
cb24a834 | 780 | %{_sysconfdir}/gconf/schemas/mahjongg.schemas |
781 | %{_desktopdir}/mahjongg.desktop | |
782 | %{_omf_dest_dir}/%{name}/mahjongg-C.omf | |
783 | %{_pixmapsdir}/mahjongg | |
9632a862 | 784 | %{_iconsdir}/hicolor/*/*/gnome-mahjongg.png |
6bfed4d9 | 785 | %{_datadir}/%{name}/mahjongg |
cb24a834 | 786 | %attr(664,root,games) %ghost %{_localstatedir}/games/mahjongg.* |
cb24a834 | 787 | |
b86b58a4 | 788 | %files same-gnome -f same-gnome.lang |
6bc1ab0e | 789 | %defattr(644,root,root,755) |
cb24a834 | 790 | %attr(2755,root,games) %{_bindir}/same-gnome |
791 | %{_sysconfdir}/gconf/schemas/same-gnome.schemas | |
792 | %{_desktopdir}/same-gnome.desktop | |
793 | %{_omf_dest_dir}/%{name}/same-gnome-C.omf | |
6bfed4d9 | 794 | %{_datadir}/%{name}/same-gnome |
9632a862 | 795 | %{_iconsdir}/hicolor/*/*/gnome-same-gnome.png |
cb24a834 | 796 | %attr(664,root,games) %ghost %{_localstatedir}/games/same-gnome.* |
cb24a834 | 797 | |
b86b58a4 | 798 | %files sol -f aisleriot.lang |
341d99f9 | 799 | %defattr(644,root,root,755) |
cb24a834 | 800 | %attr(755,root,games) %{_bindir}/sol |
801 | %{_sysconfdir}/gconf/schemas/aisleriot.schemas | |
802 | %{_datadir}/sol-games | |
803 | %{_desktopdir}/freecell.desktop | |
804 | %{_desktopdir}/sol.desktop | |
805 | %{_omf_dest_dir}/%{name}/aisleriot-C.omf | |
6bfed4d9 | 806 | %lang(fr) %{_omf_dest_dir}/%{name}/aisleriot-fr.omf |
cb24a834 | 807 | %{_pixmapsdir}/cards |
9632a862 | 808 | %{_iconsdir}/hicolor/*/*/gnome-aisleriot.png |
e1c0a3b4 | 809 | %{_iconsdir}/hicolor/*/*/gnome-freecell.png |