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