]> git.pld-linux.org Git - packages/gnome-games.git/blob - gnome-games.spec
0157a450bf645d6a7e259c1cade95561c7e654f5
[packages/gnome-games.git] / gnome-games.spec
1 Summary:        GNOME games
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
8 Name:           gnome-games
9 Version:        2.28.2
10 Release:        1
11 Epoch:          1
12 License:        LGPL
13 Group:          X11/Applications/Games
14 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gnome-games/2.28/%{name}-%{version}.tar.bz2
15 # Source0-md5:  6dcd006d4393524c1e4f39ca0310ac8d
16 Patch0:         %{name}-schemas.patch
17 URL:            http://live.gnome.org/GnomeGames
18 BuildRequires:  GConf2-devel >= 2.28.0
19 BuildRequires:  autoconf >= 2.53
20 BuildRequires:  automake >= 1:1.9
21 BuildRequires:  check >= 0.9.4
22 BuildRequires:  clutter-devel >= 1.0.0
23 BuildRequires:  clutter-gtk-devel >= 0.10.2
24 BuildRequires:  dbus-glib-devel >= 0.75
25 BuildRequires:  docbook-dtd412-xml
26 BuildRequires:  gettext-devel
27 BuildRequires:  ggz-client-libs-devel >= 0.0.14
28 BuildRequires:  ggz-server-devel >= 0.0.14
29 BuildRequires:  gnome-common >= 2.24.0
30 BuildRequires:  gnome-doc-utils >= 0.14.0
31 BuildRequires:  gstreamer-devel >= 0.10.15
32 BuildRequires:  gtk+2-devel >= 2:2.16.0
33 BuildRequires:  guile-devel >= 5:1.6.5
34 BuildRequires:  intltool >= 0.40.4
35 BuildRequires:  libcanberra-gtk-devel
36 BuildRequires:  librsvg-devel >= 1:2.22.0
37 BuildRequires:  libstdc++-devel
38 BuildRequires:  libtool
39 BuildRequires:  libxml2-devel >= 1:2.6.31
40 BuildRequires:  pkgconfig >= 1:0.15
41 BuildRequires:  python-devel >= 1:2.4
42 BuildRequires:  python-gnome-desktop-devel >= 2.22.0
43 BuildRequires:  python-pygtk-devel >= 2:2.14.0
44 BuildRequires:  rpm-pythonprov
45 BuildRequires:  rpmbuild(find_lang) >= 1.23
46 BuildRequires:  rpmbuild(macros) >= 1.311
47 BuildRequires:  scrollkeeper >= 0.3.8
48 BuildRequires:  xorg-lib-libSM-devel
49 Requires(post,preun):   GConf2
50 Requires:       hicolor-icon-theme
51 Requires:       librsvg >= 1:2.22.0
52 Obsoletes:      gnect
53 Obsoletes:      gnome
54 Obsoletes:      gnome-games-devel
55 Obsoletes:      gnome-games-gataxx
56 Obsoletes:      gnome-games-static
57 Obsoletes:      gnome-games-stones
58 # sr@Latn vs. sr@latin
59 Conflicts:      glibc-misc < 6:2.7
60 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
61
62 %define         _localstatedir  /var
63 %define         _gamesdir       %{_localstatedir}/games
64
65 %description
66 Gnome-games is a collection of simple, but addictive, games from the
67 GNOME desktop project. They represent many of the popular games and
68 include card games, puzzle games and arcade games.
69
70 %description -l pl.UTF-8
71 Gnome-games jest kolekcją prostych, choć uzależniających gier projektu
72 GNOME. Są wśród nich reprezentanci wielu popularnych gier, wliczając
73 karciane, układanki i zręcznościowe.
74
75 %description -l uk.UTF-8
76 Пакет gnome-games включає ігри для середовища робочого столу GNOME,
77 серед яких GnomeScott, freecell, gnibbles, gnobots, gnobots2,
78 gnome-stones, gnomine, gnotravex, gtali, gturing, iagno, mahjongg,
79 same-gnome та sol.
80
81 %description -l ru.UTF-8
82 Пакет gnome-games включает игры для среды рабочего стола GNOME, среди
83 которых GnomeScott, freecell, gnibbles, gnobots, gnobots2,
84 gnome-stones, gnomine, gnotravex, gtali, gturing, iagno, mahjongg,
85 same-gnome и sol.
86
87 %package blackjack
88 Summary:        GNOME's version of blackjack
89 Summary(pl.UTF-8):      Blackjack dla GNOME
90 Group:          X11/Applications/Games
91 Requires(post,postun):  gtk+2
92 Requires(post,postun):  scrollkeeper
93 Requires(post,preun):   GConf2
94 Requires:       %{name} = %{epoch}:%{version}-%{release}
95
96 %description blackjack
97 Casino card game Blackjack.
98
99 %description blackjack -l pl.UTF-8
100 Kasynowa wersja gry oczko.
101
102 %package glchess
103 Summary:        GNOME glChess - a 2D/3D chess interface
104 Summary(pl.UTF-8):      GNOME glChess - dwu i trójwymiarowy interfejs do szachów
105 Group:          X11/Applications/Games
106 Requires(post,postun):  desktop-file-utils
107 Requires(post,postun):  scrollkeeper
108 Requires(post,preun):   GConf2
109 Requires:       %{name} = %{epoch}:%{version}-%{release}
110 Requires:       python-gnome-gconf
111 Suggests:       crafty
112 Suggests:       gnuchess
113 Suggests:       python-PyOpenGL
114 Suggests:       python-pygtkglext >= 1.1.0-2
115 Obsoletes:      glchess
116
117 %description glchess
118 glChess is a 2D/3D chess game interfacing via the Chess Engine
119 Communication Protocol (CECP) by Tim Mann. This means it can currently
120 use engines such as GNUChess, Sjeng, Faile, Amy, Crafty and Phalanx.
121
122 %description glchess -l pl.UTF-8
123 glChess to dwu i trójwymiarowa gra w szachy komunikująca się za pomocą
124 protokołu CECP (Chess Engine Communication Protocol) Tima Manna.
125 Oznacza to, że aktualnie może używać silników takich jak GNUChess,
126 Sjeng, Faile, Amy, Crafty i Phalanx.
127
128 %package glines
129 Summary:        Five or more game
130 Summary(pl.UTF-8):      Gra "Pięć albo więcej"
131 Group:          X11/Applications/Games
132 Requires(post): coreutils
133 Requires(post,postun):  gtk+2
134 Requires(post,postun):  scrollkeeper
135 Requires(post,preun):   GConf2
136 Requires:       %{name} = %{epoch}:%{version}-%{release}
137
138 %description glines
139 Remove colored balls from the board by forming lines.
140
141 %description glines -l pl.UTF-8
142 Gra polegająca na usuwaniu kolorwych kul poprzez układanie ich w
143 linie.
144
145 %package gnect
146 Summary:        Four-in-a-row game
147 Summary(pl.UTF-8):      Gra "Cztery w rzędzie"
148 Group:          X11/Applications/Games
149 Requires(post,postun):  gtk+2
150 Requires(post,postun):  scrollkeeper
151 Requires(post,preun):   GConf2
152 Requires(post,preun):   ggz-client-libs
153 Requires:       %{name} = %{epoch}:%{version}-%{release}
154
155 %description gnect
156 Compete to make lines of the same color.
157
158 %description gnect -l pl.UTF-8
159 Gra, której celem jest utowrzenie linii w jednym kolorze.
160
161 %package gnibbles
162 Summary:        GNOME Nibbles
163 Summary(pl.UTF-8):      Nibbles dla GNOME
164 Group:          X11/Applications/Games
165 Requires(post): coreutils
166 Requires(post,postun):  gtk+2
167 Requires(post,postun):  scrollkeeper
168 Requires(post,preun):   GConf2
169 Requires(post,preun):   ggz-client-libs
170 Requires:       %{name} = %{epoch}:%{version}-%{release}
171
172 %description gnibbles
173 Guide a worm around a maze.
174
175 %description gnibbles -l pl.UTF-8
176 Gra polegająca na przeprowadzeniu robaka przez labirynt.
177
178 %package gnobots2
179 Summary:        GNOME Robots
180 Summary(pl.UTF-8):      Robots dla GNOME
181 Group:          X11/Applications/Games
182 Requires(post): coreutils
183 Requires(post,postun):  gtk+2
184 Requires(post,postun):  scrollkeeper
185 Requires(post,preun):   GConf2
186 Requires:       %{name} = %{epoch}:%{version}-%{release}
187
188 %description gnobots2
189 Avoid the robots and make them crash into each other.
190
191 %description gnobots2 -l pl.UTF-8
192 Gra polegająca na zapobieganiu zderzeniom robotów.
193
194 %package gnometris
195 Summary:        GNOME Tetris
196 Summary(pl.UTF-8):      Tetris dla GNOME
197 Group:          X11/Applications/Games
198 Requires(post): coreutils
199 Requires(post,postun):  gtk+2
200 Requires(post,postun):  scrollkeeper
201 Requires(post,preun):   GConf2
202 Requires:       %{name} = %{epoch}:%{version}-%{release}
203
204 %description gnometris
205 Tetris like game.
206
207 %description gnometris -l pl.UTF-8
208 Gra podobna do Tetrisa.
209
210 %package gnomine
211 Summary:        GNOME Mines
212 Summary(pl.UTF-8):      Miny dla GNOME
213 Group:          X11/Applications/Games
214 Requires(post): coreutils
215 Requires(post,postun):  gtk+2
216 Requires(post,postun):  scrollkeeper
217 Requires(post,preun):   GConf2
218 Requires:       %{name} = %{epoch}:%{version}-%{release}
219
220 %description gnomine
221 Clear mines from a minefield.
222
223 %description gnomine -l pl.UTF-8
224 Gra, której celem jest rozminowanie pola minowego.
225
226 %package gnotravex
227 Summary:        GNOME Tetravex
228 Summary(pl.UTF-8):      Tetravex dla GNOME
229 Group:          X11/Applications/Games
230 Requires(post): coreutils
231 Requires(post,postun):  gtk+2
232 Requires(post,postun):  scrollkeeper
233 Requires(post,preun):   GConf2
234 Requires:       %{name} = %{epoch}:%{version}-%{release}
235
236 %description gnotravex
237 Puzzle game.
238
239 %description gnotravex -l pl.UTF-8
240 Układanka.
241
242 %package gnotski
243 Summary:        Gnome Klotski
244 Summary(pl.UTF-8):      Klotski dla GNOME
245 Group:          X11/Applications/Games
246 Requires(post): coreutils
247 Requires(post,postun):  gtk+2
248 Requires(post,postun):  scrollkeeper
249 Requires(post,preun):   GConf2
250 Requires:       %{name} = %{epoch}:%{version}-%{release}
251
252 %description gnotski
253 Clone of the Klotski game. The objective is to move the patterned
254 block to the area bordered by green markers.
255
256 %description gnotski -l pl.UTF-8
257 Klon gry Klotski. Celem gry jest przesunięcie zaznaczonego klocka w
258 pole ograniczone zielonymi znacznikami.
259
260 %package gtali
261 Summary:        GNOME Tali
262 Summary(pl.UTF-8):      Tali dla GNOME
263 Group:          X11/Applications/Games
264 Requires(post): coreutils
265 Requires(post,postun):  gtk+2
266 Requires(post,postun):  scrollkeeper
267 Requires(post,preun):   GConf2
268 Requires:       %{name} = %{epoch}:%{version}-%{release}
269
270 %description gtali
271 Poker-style dice game.
272
273 %description gtali -l pl.UTF-8
274 Gra w kości w pokerowym stylu.
275
276 %package iagno
277 Summary:        GNOME Iagno
278 Summary(pl.UTF-8):      Iagno dla GNOME
279 Group:          X11/Applications/Games
280 Requires(post,postun):  gtk+2
281 Requires(post,postun):  scrollkeeper
282 Requires(post,preun):   GConf2
283 Requires:       %{name} = %{epoch}:%{version}-%{release}
284
285 %description iagno
286 Reversi like game.
287
288 %description iagno -l pl.UTF-8
289 Gra podobna do Reversi.
290
291 %package mahjongg
292 Summary:        GNOME Mahjongg
293 Summary(pl.UTF-8):      Mahjongg dla GNOME
294 Group:          X11/Applications/Games
295 Requires(post): coreutils
296 Requires(post,postun):  gtk+2
297 Requires(post,postun):  scrollkeeper
298 Requires(post,preun):   GConf2
299 Requires:       %{name} = %{epoch}:%{version}-%{release}
300
301 %description mahjongg
302 Disassemble a pile of tiles by removing matching pairs.
303
304 %description mahjongg -l pl.UTF-8
305 Gra polegjaca na demontażu stosu kafli poprzez usuwanie pasujących
306 par.
307
308 %package same-gnome
309 Summary:        Same GNOME
310 Group:          X11/Applications/Games
311 Requires(post): coreutils
312 Requires(post,postun):  gtk+2
313 Requires(post,postun):  scrollkeeper
314 Requires(post,preun):   GConf2
315 Requires:       %{name} = %{epoch}:%{version}-%{release}
316
317 %description same-gnome
318 Remove groups of balls to try and clear the screen.
319
320 %description same-gnome -l pl.UTF-8
321 Gra, której celem jest oczyszczanie planszy poprzez usuwanie grup kul.
322
323 %package sol
324 Summary:        AisleRiot Solitaire
325 Summary(pl.UTF-8):      Pasjans AisleRiot
326 Group:          X11/Applications/Games
327 Requires(post,postun):  gtk+2
328 Requires(post,postun):  scrollkeeper
329 Requires(post,preun):   GConf2
330 Requires:       %{name} = %{epoch}:%{version}-%{release}
331 Requires:       guile >= 5:1.6.5
332
333 %description sol
334 Many different solitaire games.
335
336 %description sol -l pl.UTF-8
337 Różne gry karciane.
338
339 %package sudoku
340 Summary:        Simple interface for playing, saving, printing and solving Sudoku
341 Summary(pl.UTF-8):      Prosty interfejs do grania, zapisywania, drukowania i rozwiązywania Sudoku
342 Group:          X11/Applications/Games
343 Requires(post,postun):  gtk+2
344 Requires(post,preun):   GConf2
345 Requires:       %{name} = %{epoch}:%{version}-%{release}
346 Requires:       python-gnome-desktop-print >= 2.22.0
347 Requires:       python-gnome-gconf
348 Obsoletes:      gnome-sudoku
349
350 %description sudoku
351 GNOME Sudoku provides a simple interface for playing, saving, printing
352 and solving Sudoku.
353
354 %description sudoku -l pl.UTF-8
355 GNOME Sudoku dostarcza prosty interfejs do grania, zapisywania,
356 drukowania i rozwiązywania Sudoku.
357
358 %package servers
359 Summary:        GGZ Gaming Zone servers for the GNOME games
360 Summary(pl.UTF-8):      Serwery GGZ Gaming Zone dla gier GNOME
361 Group:          Applications
362 Requires:       ggz-server >= 0.0.14
363
364 %description servers
365 GGZ Gaming Zone servers for the GNOME games.
366
367 %description servers -l pl.UTF-8
368 Serwery GGZ Gaming Zone dla gier GNOME.
369
370 %prep
371 %setup -q
372 %patch0 -p1
373
374 %build
375 %{__glib_gettextize}
376 %{__intltoolize}
377 %{__libtoolize}
378 %{__aclocal} -I m4
379 %{__autoconf}
380 %{__autoheader}
381 %{__automake}
382 %configure \
383         --enable-games=all \
384         --with-ggz-server=force \
385         --with-ggzd-confdir=%{_sysconfdir}/ggzd \
386         --disable-introspection \
387         --disable-scrollkeeper \
388         --disable-schemas-install \
389         --disable-static
390
391 %{__make}
392
393 %install
394 rm -rf $RPM_BUILD_ROOT
395 install -d $RPM_BUILD_ROOT%{_datadir}/ggz
396
397 %{__make} install \
398         DESTDIR=$RPM_BUILD_ROOT \
399         ggzserver_dscdir=%{_sysconfdir}/ggzd/games \
400         ggzroomdir=%{_sysconfdir}/ggzd/rooms
401
402 install gnect/data/gnect-client.dsc $RPM_BUILD_ROOT%{_datadir}/ggz
403 install gnibbles/gnibbles-client.dsc $RPM_BUILD_ROOT%{_datadir}/ggz
404 install iagno/iagno-client.dsc $RPM_BUILD_ROOT%{_datadir}/ggz
405
406 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/ggz.modules
407
408 %py_postclean
409
410 %find_lang %{name} --all-name
411 %find_lang gnect --with-gnome --with-omf
412 %find_lang gnomine --with-gnome --with-omf
413 %find_lang same-gnome --with-gnome --with-omf
414 %find_lang mahjongg --with-gnome --with-omf
415 %find_lang glchess --with-gnome --with-omf
416 %find_lang gtali --with-gnome --with-omf
417 %find_lang gnome-sudoku --with-gnome --with-omf
418 %find_lang gnotravex --with-gnome --with-omf
419 %find_lang gnotski --with-gnome --with-omf
420 %find_lang glines --with-gnome --with-omf
421 %find_lang iagno --with-gnome --with-omf
422 %find_lang gnobots2 --with-gnome --with-omf
423 %find_lang gnibbles --with-gnome --with-omf
424 %find_lang gnometris --with-gnome --with-omf
425 %find_lang blackjack --with-gnome --with-omf
426 %find_lang aisleriot --with-gnome --with-omf
427
428 %clean
429 rm -rf $RPM_BUILD_ROOT
430
431 %post blackjack
432 %scrollkeeper_update_post
433 %gconf_schema_install blackjack.schemas
434 %update_icon_cache hicolor
435
436 %preun blackjack
437 %gconf_schema_uninstall blackjack.schemas
438
439 %postun blackjack
440 %scrollkeeper_update_postun
441 %update_icon_cache hicolor
442
443 %post glchess
444 %gconf_schema_install glchess.schemas
445 %update_desktop_database_post
446 %scrollkeeper_update_post
447
448 %preun glchess
449 %gconf_schema_uninstall glchess.schemas
450
451 %postun glchess
452 %update_desktop_database_postun
453 %scrollkeeper_update_postun
454
455 %post glines
456 %scrollkeeper_update_post
457 %gconf_schema_install glines.schemas
458 %update_icon_cache hicolor
459
460 if [ ! -f %{_gamesdir}/glines.scores ]; then
461         touch %{_gamesdir}/glines.scores
462         chown root:games %{_gamesdir}/glines.scores
463         chmod 664 %{_gamesdir}/glines.scores
464 fi
465
466 %preun glines
467 %gconf_schema_uninstall glines.schemas
468
469 %postun glines
470 %scrollkeeper_update_postun
471 %update_icon_cache hicolor
472
473 %post gnect
474 %scrollkeeper_update_post
475 %gconf_schema_install gnect.schemas
476 %update_icon_cache hicolor
477
478 /usr/bin/ggz-config -i -f -m %{_datadir}/ggz/gnect-client.dsc
479
480 %preun gnect
481 %gconf_schema_uninstall gnect.schemas
482
483 if [ "$1" = "0" ]; then
484         /usr/bin/ggz-config -r -m %{_datadir}/ggz/gnect-client.dsc
485 fi
486
487 %postun gnect
488 %scrollkeeper_update_postun
489 %update_icon_cache hicolor
490
491 %post gnibbles
492 %scrollkeeper_update_post
493 %gconf_schema_install gnibbles.schemas
494 %update_icon_cache hicolor
495
496 for i in gnibbles.1.0 gnibbles.1.1 gnibbles.2.0 gnibbles.2.1 gnibbles.3.0 \
497         gnibbles.3.1 gnibbles.4.0 gnibbles.4.1; do
498         if [ ! -f %{_gamesdir}/$i.scores ]; then
499                 touch %{_gamesdir}/$i.scores
500                 chown root:games %{_gamesdir}/$i.scores
501                 chmod 664 %{_gamesdir}/$i.scores
502         fi
503 done
504
505 /usr/bin/ggz-config -i -f -m %{_datadir}/ggz/gnibbles-client.dsc
506
507 %preun gnibbles
508 %gconf_schema_uninstall gnibbles.schemas
509
510 if [ "$1" = "0" ]; then
511         /usr/bin/ggz-config -r -m %{_datadir}/ggz/gnibbles-client.dsc
512 fi
513
514 %postun gnibbles
515 %scrollkeeper_update_postun
516 %update_icon_cache hicolor
517
518 %post gnobots2
519 %scrollkeeper_update_post
520 %gconf_schema_install gnobots2.schemas
521 %update_icon_cache hicolor
522
523 for i in gnobots2.classic_robots-safe gnobots2.classic_robots \
524         gnobots2.classic_robots-super-safe gnobots2.nightmare-safe \
525         gnobots2.nightmare gnobots2.nightmare-super-safe \
526         gnobots2.robots2_easy-safe gnobots2.robots2_easy \
527         gnobots2.robots2_easy-super-safe gnobots2.robots2-safe \
528         gnobots2.robots2 gnobots2.robots2-super-safe \
529         gnobots2.robots_with_safe_teleport-safe \
530         gnobots2.robots_with_safe_teleport \
531         gnobots2.robots_with_safe_teleport-super-safe; do
532         if [ ! -f %{_gamesdir}/$i.scores ]; then
533                 touch %{_gamesdir}/$i.scores
534                 chown root:games %{_gamesdir}/$i.scores
535                 chmod 664 %{_gamesdir}/$i.scores
536         fi
537 done
538
539 %preun gnobots2
540 %gconf_schema_uninstall gnobots2.schemas
541
542 %postun gnobots2
543 %scrollkeeper_update_postun
544 %update_icon_cache hicolor
545
546 %post gnometris
547 %scrollkeeper_update_post
548 %gconf_schema_install gnometris.schemas
549 %update_icon_cache hicolor
550
551 if [ ! -f %{_gamesdir}/gnometris.scores ]; then
552         touch %{_gamesdir}/gnometris.scores
553         chown root:games %{_gamesdir}/gnometris.scores
554         chmod 664 %{_gamesdir}/gnometris.scores
555 fi
556
557 %preun gnometris
558 %gconf_schema_uninstall gnometris.schemas
559
560 %postun gnometris
561 %scrollkeeper_update_postun
562 %update_icon_cache hicolor
563
564 %post gnomine
565 %scrollkeeper_update_post
566 %gconf_schema_install gnomine.schemas
567 %update_icon_cache hicolor
568
569 for i in gnomine.Custom gnomine.Large gnomine.Medium gnomine.Small; 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
577 %preun gnomine
578 %gconf_schema_uninstall gnomine.schemas
579
580 %postun gnomine
581 %scrollkeeper_update_postun
582 %update_icon_cache hicolor
583
584 %post gnotravex
585 %scrollkeeper_update_post
586 %gconf_schema_install gnotravex.schemas
587 %update_icon_cache hicolor
588
589 for i in gnotravex.2x2 gnotravex.3x3 gnotravex.4x4 gnotravex.5x5 \
590         gnotravex.6x6; do
591         if [ ! -f %{_gamesdir}/$i.scores ]; then
592                 touch %{_gamesdir}/$i.scores
593                 chown root:games %{_gamesdir}/$i.scores
594                 chmod 664 %{_gamesdir}/$i.scores
595         fi
596 done
597
598 %preun gnotravex
599 %gconf_schema_uninstall gnotravex.schemas
600
601 %postun gnotravex
602 %scrollkeeper_update_postun
603 %update_icon_cache hicolor
604
605 %post gnotski
606 %scrollkeeper_update_post
607 %gconf_schema_install gnotski.schemas
608 %update_icon_cache hicolor
609
610 for i in 1 2 3 4 5 6 7 11 12 13 14 15 16 17 21 22 23 24 25 26; do
611         if [ ! -f %{_gamesdir}/gnotski.$i.scores ]; then
612         touch %{_gamesdir}/gnotski.$i.scores
613         chown root:games %{_gamesdir}/gnotski.$i.scores
614         chmod 664 %{_gamesdir}/gnotski.$i.scores
615         fi
616 done
617
618 %preun gnotski
619 %gconf_schema_uninstall gnotski.schemas
620
621 %postun gnotski
622 %scrollkeeper_update_postun
623 %update_icon_cache hicolor
624
625 %post gtali
626 %scrollkeeper_update_post
627 %gconf_schema_install gtali.schemas
628 %update_icon_cache hicolor
629
630 if [ ! -f %{_gamesdir}/gtali.scores ]; then
631         touch %{_gamesdir}/gtali.scores
632         chown root:games %{_gamesdir}/gtali.scores
633         chmod 664 %{_gamesdir}/gtali.scores
634 fi
635
636 %preun gtali
637 %gconf_schema_uninstall gtali.schemas
638
639 %postun gtali
640 %scrollkeeper_update_postun
641 %update_icon_cache hicolor
642
643 %post iagno
644 %scrollkeeper_update_post
645 %gconf_schema_install iagno.schemas
646 %update_icon_cache hicolor
647
648 /usr/bin/ggz-config -i -f -m %{_datadir}/ggz/iagno-client.dsc
649
650 %preun iagno
651 %gconf_schema_uninstall iagno.schemas
652
653 if [ "$1" = "0" ]; then
654         /usr/bin/ggz-config -r -m %{_datadir}/ggz/iagno-client.dsc
655 fi
656
657 %postun iagno
658 %scrollkeeper_update_postun
659 %update_icon_cache hicolor
660
661 %post mahjongg
662 %scrollkeeper_update_post
663 %gconf_schema_install mahjongg.schemas
664 %update_icon_cache hicolor
665
666 for i in mahjongg.bridges mahjongg.cloud mahjongg.confounding \
667         mahjongg.difficult mahjongg.dragon mahjongg.easy \
668         mahjongg.pyramid mahjongg.tictactoe mahjongg.ziggurat; do
669         if [ ! -f %{_gamesdir}/$i.scores ]; then
670                 touch %{_gamesdir}/$i.scores
671                 chown root:games %{_gamesdir}/$i.scores
672                 chmod 664 %{_gamesdir}/$i.scores
673         fi
674 done
675
676 %preun mahjongg
677 %gconf_schema_uninstall mahjongg.schemas
678
679 %postun mahjongg
680 %scrollkeeper_update_postun
681 %update_icon_cache hicolor
682
683 %post same-gnome
684 %scrollkeeper_update_post
685 %gconf_schema_install same-gnome.schemas
686 %update_icon_cache hicolor
687
688 if [ ! -f %{_gamesdir}/same-gnome.scores ]; then
689         touch %{_gamesdir}/same-gnome.scores
690         chown root:games %{_gamesdir}/same-gnome.scores
691         chmod 664 %{_gamesdir}/same-gnome.scores
692 fi
693
694 %preun same-gnome
695 %gconf_schema_uninstall same-gnome.schemas
696
697 %postun same-gnome
698 %scrollkeeper_update_postun
699 %update_icon_cache hicolor
700
701 %post sol
702 %scrollkeeper_update_post
703 %gconf_schema_install aisleriot.schemas
704 %update_icon_cache hicolor
705
706 %preun sol
707 %gconf_schema_uninstall aisleriot.schemas
708
709 %postun sol
710 %scrollkeeper_update_postun
711 %update_icon_cache hicolor
712
713 %post sudoku
714 %update_icon_cache hicolor
715 %gconf_schema_install gnome-sudoku.schemas
716
717 %preun sudoku
718 %gconf_schema_uninstall gnome-sudoku.schemas
719
720 %postun sudoku
721 %update_icon_cache hicolor
722
723 %files -f %{name}.lang
724 %defattr(644,root,root,755)
725 %doc AUTHORS ChangeLog NEWS README
726 %dir %{_libdir}/%{name}
727 %attr(755,root,root) %{_libdir}/%{name}/gnome-games-render-cards
728 %dir %{_datadir}/%{name}
729 %{_datadir}/%{name}/icons
730 %{_datadir}/%{name}/sounds
731 %{_datadir}/%{name}/pixmaps
732 %{_datadir}/gnome-games-common
733 %{_datadir}/ggz/gnome-games
734
735 %files blackjack -f blackjack.lang
736 %defattr(644,root,root,755)
737 %attr(755,root,root) %{_bindir}/blackjack
738 %{_sysconfdir}/gconf/schemas/blackjack.schemas
739 %{_datadir}/%{name}/blackjack
740 %{_desktopdir}/blackjack.desktop
741 %{_iconsdir}/hicolor/*/*/gnome-blackjack.*
742 %{_mandir}/man6/blackjack.6*
743
744 %files glchess -f glchess.lang
745 %defattr(644,root,root,755)
746 %attr(755,root,root) %{_bindir}/glchess
747 %attr(755,root,root) %{_bindir}/gnome-gnuchess
748 %{_sysconfdir}/gconf/schemas/glchess.schemas
749 %{_desktopdir}/glchess.desktop
750 %{_datadir}/glchess
751 %{py_sitescriptdir}/glchess
752 %{_iconsdir}/hicolor/*/*/gnome-glchess.*
753 %{_mandir}/man6/glchess.6*
754
755 %files glines -f glines.lang
756 %defattr(644,root,root,755)
757 %attr(2755,root,games) %{_bindir}/glines
758 %{_sysconfdir}/gconf/schemas/glines.schemas
759 %{_datadir}/%{name}/glines
760 %{_desktopdir}/glines.desktop
761 %{_iconsdir}/hicolor/*/*/gnome-glines.*
762 %attr(664,root,games) %ghost %{_localstatedir}/games/glines.*
763 %{_mandir}/man6/glines.6*
764
765 %files gnect -f gnect.lang
766 %defattr(644,root,root,755)
767 %attr(755,root,games) %{_bindir}/gnect
768 %{_sysconfdir}/gconf/schemas/gnect.schemas
769 %{_datadir}/%{name}/gnect
770 %{_datadir}/ggz/gnect-client.dsc
771 %{_desktopdir}/gnect.desktop
772 %{_iconsdir}/hicolor/*/*/gnome-gnect.*
773 %{_mandir}/man6/gnect.6*
774
775 %files gnibbles -f gnibbles.lang
776 %defattr(644,root,root,755)
777 %attr(2755,root,games) %{_bindir}/gnibbles
778 %{_sysconfdir}/gconf/schemas/gnibbles.schemas
779 %{_datadir}/%{name}/gnibbles
780 %{_datadir}/ggz/gnibbles-client.dsc
781 %{_desktopdir}/gnibbles.desktop
782 %{_iconsdir}/hicolor/*/*/gnome-gnibbles.*
783 %attr(664,root,games) %ghost %{_localstatedir}/games/gnibbles.*
784 %{_mandir}/man6/gnibbles.6*
785
786 %files gnobots2 -f gnobots2.lang
787 %defattr(644,root,root,755)
788 %attr(2755,root,games) %{_bindir}/gnobots2
789 %{_sysconfdir}/gconf/schemas/gnobots2.schemas
790 %{_datadir}/%{name}/gnobots2
791 %{_desktopdir}/gnobots2.desktop
792 %{_iconsdir}/hicolor/*/*/gnome-robots.*
793 %attr(664,root,games) %ghost %{_localstatedir}/games/gnobots2.*
794 %{_mandir}/man6/gnobots2.6*
795
796 %files gnometris -f gnometris.lang
797 %defattr(644,root,root,755)
798 %attr(2755,root,games) %{_bindir}/gnometris
799 %{_sysconfdir}/gconf/schemas/gnometris.schemas
800 %{_datadir}/%{name}/gnometris
801 %{_desktopdir}/gnometris.desktop
802 %{_iconsdir}/hicolor/*/*/gnome-gnometris.*
803 %attr(664,root,games) %ghost %{_localstatedir}/games/gnometris.*
804 %{_mandir}/man6/gnometris.6*
805
806 %files gnomine -f gnomine.lang
807 %defattr(644,root,root,755)
808 %attr(2755,root,games) %{_bindir}/gnomine
809 %{_sysconfdir}/gconf/schemas/gnomine.schemas
810 %{_datadir}/%{name}/gnomine
811 %{_desktopdir}/gnomine.desktop
812 %{_iconsdir}/hicolor/*/*/gnome-mines.*
813 %attr(664,root,games) %ghost %{_localstatedir}/games/gnomine.*
814 %{_mandir}/man6/gnomine.6*
815
816 %files gnotravex -f gnotravex.lang
817 %defattr(644,root,root,755)
818 %attr(2755,root,games) %{_bindir}/gnotravex
819 %{_sysconfdir}/gconf/schemas/gnotravex.schemas
820 %{_desktopdir}/gnotravex.desktop
821 %{_iconsdir}/hicolor/*/*/gnome-tetravex.*
822 %attr(664,root,games) %ghost %{_localstatedir}/games/gnotravex.*
823 %{_mandir}/man6/gnotravex.6*
824
825 %files gnotski -f gnotski.lang
826 %defattr(644,root,root,755)
827 %attr(2755,root,games) %{_bindir}/gnotski
828 %{_sysconfdir}/gconf/schemas/gnotski.schemas
829 %{_desktopdir}/gnotski.desktop
830 %{_datadir}/%{name}/gnotski
831 %{_iconsdir}/hicolor/*/*/gnome-klotski.*
832 %attr(664,root,games) %ghost %{_localstatedir}/games/gnotski.*
833 %{_mandir}/man6/gnotski.6*
834
835 %files gtali -f gtali.lang
836 %defattr(644,root,root,755)
837 %attr(2755,root,games) %{_bindir}/gtali
838 %{_sysconfdir}/gconf/schemas/gtali.schemas
839 %{_datadir}/%{name}/gtali
840 %{_desktopdir}/gtali.desktop
841 %{_iconsdir}/hicolor/*/*/gnome-tali.*
842 %attr(664,root,games) %ghost %{_localstatedir}/games/gtali.*
843 %{_mandir}/man6/gtali.6*
844
845 %files iagno -f iagno.lang
846 %defattr(644,root,root,755)
847 %attr(755,root,root) %{_bindir}/iagno
848 %{_sysconfdir}/gconf/schemas/iagno.schemas
849 %{_datadir}/%{name}/iagno
850 %{_datadir}/ggz/iagno-client.dsc
851 %{_desktopdir}/iagno.desktop
852 %{_iconsdir}/hicolor/*/*/gnome-iagno.*
853 %{_mandir}/man6/iagno.6*
854
855 %files mahjongg -f mahjongg.lang
856 %defattr(644,root,root,755)
857 %attr(2755,root,games) %{_bindir}/mahjongg
858 %{_sysconfdir}/gconf/schemas/mahjongg.schemas
859 %{_desktopdir}/mahjongg.desktop
860 %{_iconsdir}/hicolor/*/*/gnome-mahjongg.png
861 %{_iconsdir}/hicolor/*/*/gnome-mahjongg.svg
862 %{_datadir}/%{name}/mahjongg
863 %attr(664,root,games) %ghost %{_localstatedir}/games/mahjongg.*
864 %{_mandir}/man6/mahjongg.6*
865
866 %files same-gnome -f same-gnome.lang
867 %defattr(644,root,root,755)
868 %attr(2755,root,games) %{_bindir}/same-gnome
869 %{_sysconfdir}/gconf/schemas/same-gnome.schemas
870 %{_desktopdir}/same-gnome.desktop
871 %{_datadir}/%{name}/same-gnome
872 %{_iconsdir}/hicolor/*/*/gnome-samegnome.*
873 %attr(664,root,games) %ghost %{_localstatedir}/games/same-gnome.*
874 %{_mandir}/man6/same-gnome.6*
875
876 %files sol -f aisleriot.lang
877 %defattr(644,root,root,755)
878 %attr(755,root,games) %{_bindir}/sol
879 %{_sysconfdir}/gconf/schemas/aisleriot.schemas
880 %{_datadir}/%{name}/aisleriot
881 %{_desktopdir}/freecell.desktop
882 %{_desktopdir}/sol.desktop
883 %{_iconsdir}/hicolor/*/*/gnome-aisleriot.*
884 %{_iconsdir}/hicolor/*/*/gnome-freecell.*
885 %{_mandir}/man6/sol.6*
886
887 %files sudoku -f gnome-sudoku.lang
888 %defattr(644,root,root,755)
889 %attr(755,root,root) %{_bindir}/gnome-sudoku
890 %{_desktopdir}/gnome-sudoku.desktop
891 %dir %{py_sitescriptdir}/gnome_sudoku
892 %{py_sitescriptdir}/gnome_sudoku/*.py[co]
893 %dir %{py_sitescriptdir}/gnome_sudoku/gtk_goodies
894 %{py_sitescriptdir}/gnome_sudoku/gtk_goodies/*.py[co]
895 %{_datadir}/gnome-sudoku
896 %{_iconsdir}/hicolor/*/*/gnome-sudoku.*
897 %{_sysconfdir}/gconf/schemas/gnome-sudoku.schemas
898 %{_mandir}/man6/gnome-sudoku.6*
899
900 %files servers
901 %defattr(644,root,root,755)
902 %attr(755,root,root) %{_libdir}/ggz/gnectd
903 %attr(755,root,root) %{_libdir}/ggz/gnibblesd
904 %attr(755,root,root) %{_libdir}/ggz/iagnod
905 %{_sysconfdir}/ggzd/games/gnect-server.dsc
906 %{_sysconfdir}/ggzd/games/gnibbles-server.dsc
907 %{_sysconfdir}/ggzd/games/iagno-server.dsc
908 %{_sysconfdir}/ggzd/rooms/gnect.room
909 %{_sysconfdir}/ggzd/rooms/gnibbles.room
910 %{_sysconfdir}/ggzd/rooms/iagno.room
This page took 0.157025 seconds and 2 git commands to generate.