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