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