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