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