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