]> git.pld-linux.org Git - packages/gnome-games.git/blob - gnome-games.spec
- updated to 3.0.1.1
[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:        3.0.1.1
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/3.0/%{name}-%{version}.tar.bz2
15 # Source0-md5:  2b59a0e039d015180e3340707092b408
16 Patch0:         %{name}-schemas.patch
17 URL:            http://live.gnome.org/GnomeGames
18 BuildRequires:  GConf2-devel >= 2.28.0
19 BuildRequires:  OpenGL-GLU-devel
20 BuildRequires:  autoconf >= 2.53
21 BuildRequires:  automake >= 1:1.9
22 BuildRequires:  clutter-devel >= 1.0.0
23 BuildRequires:  clutter-gtk-devel >= 1.0.0
24 BuildRequires:  docbook-dtd412-xml
25 BuildRequires:  gettext-devel
26 BuildRequires:  glib2-devel >= 1:2.26.0
27 BuildRequires:  glibc-misc
28 BuildRequires:  gnome-common >= 2.24.0
29 BuildRequires:  gnome-doc-utils >= 0.14.0
30 BuildRequires:  gobject-introspection-devel >= 0.10.0
31 BuildRequires:  gtk+3-devel >= 3.0.0
32 BuildRequires:  guile-devel >= 5:1.6.5
33 BuildRequires:  intltool >= 0.40.4
34 BuildRequires:  libcanberra-gtk3-devel >= 0.26
35 BuildRequires:  librsvg-devel >= 1:2.32.0
36 BuildRequires:  libstdc++-devel
37 BuildRequires:  libtool
38 BuildRequires:  pkgconfig >= 1:0.15
39 BuildRequires:  python-devel >= 1:2.4
40 BuildRequires:  python-pygtk-devel >= 2:2.16.0
41 BuildRequires:  rpm-pythonprov
42 BuildRequires:  rpmbuild(find_lang) >= 1.23
43 BuildRequires:  rpmbuild(macros) >= 1.311
44 BuildRequires:  scrollkeeper >= 0.3.8
45 BuildRequires:  sqlite3-devel
46 BuildRequires:  vala >= 0.11.6
47 BuildRequires:  xorg-lib-libSM-devel
48 BuildRequires:  xorg-proto-glproto-devel
49 Requires(post,postun):  gtk-update-icon-cache
50 Requires(post,postun):  glib2 >= 1:2.26.0
51 Requires:       hicolor-icon-theme
52 Requires:       librsvg >= 1:2.32.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):  gtk-update-icon-cache
96 Requires(post,postun):  scrollkeeper
97 Requires(post,postun):  glib2 >= 1:2.26.0
98 Requires:       %{name} = %{epoch}:%{version}-%{release}
99 Requires:       hicolor-icon-theme
100 Requires:       python-gnome-gconf
101 Suggests:       crafty
102 Suggests:       gnuchess
103 Suggests:       python-PyOpenGL
104 Suggests:       python-pygtkglext >= 1.1.0-2
105 Obsoletes:      glchess
106
107 %description glchess
108 glChess is a 2D/3D chess game interfacing via the Chess Engine
109 Communication Protocol (CECP) by Tim Mann. This means it can currently
110 use engines such as GNUChess, Sjeng, Faile, Amy, Crafty and Phalanx.
111
112 %description glchess -l pl.UTF-8
113 glChess to dwu i trójwymiarowa gra w szachy komunikująca się za pomocą
114 protokołu CECP (Chess Engine Communication Protocol) Tima Manna.
115 Oznacza to, że aktualnie może używać silników takich jak GNUChess,
116 Sjeng, Faile, Amy, Crafty i Phalanx.
117
118 %package glines
119 Summary:        Five or more game
120 Summary(pl.UTF-8):      Gra "Pięć albo więcej"
121 Group:          X11/Applications/Games
122 Requires(post): coreutils
123 Requires(post,postun):  gtk-update-icon-cache
124 Requires(post,postun):  scrollkeeper
125 Requires(post,preun):   GConf2
126 Requires:       %{name} = %{epoch}:%{version}-%{release}
127 Requires:       hicolor-icon-theme
128
129 %description glines
130 Remove colored balls from the board by forming lines.
131
132 %description glines -l pl.UTF-8
133 Gra polegająca na usuwaniu kolorowych kul poprzez układanie ich w
134 linie.
135
136 %package gnect
137 Summary:        Four-in-a-row game
138 Summary(pl.UTF-8):      Gra "Cztery w rzędzie"
139 Group:          X11/Applications/Games
140 Requires(post,postun):  gtk-update-icon-cache
141 Requires(post,postun):  scrollkeeper
142 Requires(post,preun):   GConf2
143 Requires:       %{name} = %{epoch}:%{version}-%{release}
144 Requires:       hicolor-icon-theme
145
146 %description gnect
147 Compete to make lines of the same color.
148
149 %description gnect -l pl.UTF-8
150 Gra, której celem jest utworzenie linii w jednym kolorze.
151
152 %package gnibbles
153 Summary:        GNOME Nibbles
154 Summary(pl.UTF-8):      Nibbles dla GNOME
155 Group:          X11/Applications/Games
156 Requires(post): coreutils
157 Requires(post,postun):  gtk-update-icon-cache
158 Requires(post,postun):  scrollkeeper
159 Requires(post,preun):   GConf2
160 Requires:       %{name} = %{epoch}:%{version}-%{release}
161 Requires:       hicolor-icon-theme
162
163 %description gnibbles
164 Guide a worm around a maze.
165
166 %description gnibbles -l pl.UTF-8
167 Gra polegająca na przeprowadzeniu robaka przez labirynt.
168
169 %package gnobots2
170 Summary:        GNOME Robots
171 Summary(pl.UTF-8):      Robots dla GNOME
172 Group:          X11/Applications/Games
173 Requires(post): coreutils
174 Requires(post,postun):  gtk-update-icon-cache
175 Requires(post,postun):  scrollkeeper
176 Requires(post,preun):   GConf2
177 Requires:       %{name} = %{epoch}:%{version}-%{release}
178 Requires:       hicolor-icon-theme
179
180 %description gnobots2
181 Avoid the robots and make them crash into each other.
182
183 %description gnobots2 -l pl.UTF-8
184 Gra polegająca na zapobieganiu zderzeniom robotów.
185
186 %package gnomine
187 Summary:        GNOME Mines
188 Summary(pl.UTF-8):      Miny dla GNOME
189 Group:          X11/Applications/Games
190 Requires(post): coreutils
191 Requires(post,postun):  gtk-update-icon-cache
192 Requires(post,postun):  scrollkeeper
193 Requires(post,preun):   GConf2
194 Requires:       %{name} = %{epoch}:%{version}-%{release}
195 Requires:       hicolor-icon-theme
196
197 %description gnomine
198 Clear mines from a minefield.
199
200 %description gnomine -l pl.UTF-8
201 Gra, której celem jest rozminowanie pola minowego.
202
203 %package gnotravex
204 Summary:        GNOME Tetravex
205 Summary(pl.UTF-8):      Tetravex dla GNOME
206 Group:          X11/Applications/Games
207 Requires(post): coreutils
208 Requires(post,postun):  gtk-update-icon-cache
209 Requires(post,postun):  scrollkeeper
210 Requires(post,preun):   GConf2
211 Requires:       %{name} = %{epoch}:%{version}-%{release}
212 Requires:       hicolor-icon-theme
213
214 %description gnotravex
215 Puzzle game.
216
217 %description gnotravex -l pl.UTF-8
218 Układanka.
219
220 %package gnotski
221 Summary:        Gnome Klotski
222 Summary(pl.UTF-8):      Klotski dla GNOME
223 Group:          X11/Applications/Games
224 Requires(post): coreutils
225 Requires(post,postun):  gtk-update-icon-cache
226 Requires(post,postun):  scrollkeeper
227 Requires(post,preun):   GConf2
228 Requires:       %{name} = %{epoch}:%{version}-%{release}
229 Requires:       hicolor-icon-theme
230
231 %description gnotski
232 Clone of the Klotski game. The objective is to move the patterned
233 block to the area bordered by green markers.
234
235 %description gnotski -l pl.UTF-8
236 Klon gry Klotski. Celem gry jest przesunięcie zaznaczonego klocka w
237 pole ograniczone zielonymi znacznikami.
238
239 %package gtali
240 Summary:        GNOME Tali
241 Summary(pl.UTF-8):      Tali dla GNOME
242 Group:          X11/Applications/Games
243 Requires(post): coreutils
244 Requires(post,postun):  gtk-update-icon-cache
245 Requires(post,postun):  scrollkeeper
246 Requires(post,preun):   GConf2
247 Requires:       %{name} = %{epoch}:%{version}-%{release}
248 Requires:       hicolor-icon-theme
249
250 %description gtali
251 Poker-style dice game.
252
253 %description gtali -l pl.UTF-8
254 Gra w kości w pokerowym stylu.
255
256 %package iagno
257 Summary:        GNOME Iagno
258 Summary(pl.UTF-8):      Iagno dla GNOME
259 Group:          X11/Applications/Games
260 Requires(post,postun):  gtk-update-icon-cache
261 Requires(post,postun):  scrollkeeper
262 Requires(post,preun):   GConf2
263 Requires:       %{name} = %{epoch}:%{version}-%{release}
264 Requires:       hicolor-icon-theme
265
266 %description iagno
267 Reversi like game.
268
269 %description iagno -l pl.UTF-8
270 Gra podobna do Reversi.
271
272 %package lightsoff
273 Summary:        Lights Off
274 Summary(pl.UTF-8):      Gra Lights Off dla GNOME
275 Group:          X11/Applications/Games
276 Requires(post,postun):  gtk-update-icon-cache
277 Requires(post,postun):  scrollkeeper
278 Requires(post,preun):   GConf2
279 Requires:       %{name} = %{epoch}:%{version}-%{release}
280 Requires:       hicolor-icon-theme
281 Requires:       seed
282
283 %description lightsoff
284 Lights Off is a puzzle game, where the objective is to turn off all of
285 the tiles on the board. Each click toggles the state of the clicked
286 tile and its non-diagonal neighbors.
287
288 %description lightsoff -l pl.UTF-8
289 Lights Off to układanka, której celem jest zgaszenie wszystkich pól na
290 planszy. Każde kliknięcie zmienia stan klikniętego pola oraz jego
291 najbliższych sąsiadów (nie po przekątnej).
292
293 %package mahjongg
294 Summary:        GNOME Mahjongg
295 Summary(pl.UTF-8):      Mahjongg dla GNOME
296 Group:          X11/Applications/Games
297 Requires(post): coreutils
298 Requires(post,postun):  gtk-update-icon-cache
299 Requires(post,postun):  scrollkeeper
300 Requires(post,preun):   GConf2
301 Requires:       %{name} = %{epoch}:%{version}-%{release}
302 Requires:       hicolor-icon-theme
303
304 %description mahjongg
305 Disassemble a pile of tiles by removing matching pairs.
306
307 %description mahjongg -l pl.UTF-8
308 Gra polegająca na demontażu stosu kafli poprzez usuwanie pasujących
309 par.
310
311 %package quadrapassel
312 Summary:        GNOME Tetris
313 Summary(pl.UTF-8):      Tetris dla GNOME
314 Group:          X11/Applications/Games
315 Requires(post): coreutils
316 Requires(post,postun):  gtk-update-icon-cache
317 Requires(post,postun):  scrollkeeper
318 Requires(post,preun):   GConf2
319 Requires:       %{name} = %{epoch}:%{version}-%{release}
320 Requires:       hicolor-icon-theme
321 Provides:       gnome-games-gnometris
322 Obsoletes:      gnome-games-gnometris
323
324 %description quadrapassel
325 Tetris like game.
326
327 %description quadrapassel -l pl.UTF-8
328 Gra podobna do Tetrisa.
329
330 %package sol
331 Summary:        AisleRiot Solitaire
332 Summary(pl.UTF-8):      Pasjans AisleRiot
333 Group:          X11/Applications/Games
334 Requires(post,postun):  gtk-update-icon-cache
335 Requires(post,postun):  scrollkeeper
336 Requires(post,preun):   GConf2
337 Requires:       %{name} = %{epoch}:%{version}-%{release}
338 Requires:       guile >= 5:1.6.5
339 Requires:       hicolor-icon-theme
340
341 %description sol
342 Many different solitaire games.
343
344 %description sol -l pl.UTF-8
345 Różne gry karciane.
346
347 %package sudoku
348 Summary:        Simple interface for playing, saving, printing and solving Sudoku
349 Summary(pl.UTF-8):      Prosty interfejs do grania, zapisywania, drukowania i rozwiązywania Sudoku
350 Group:          X11/Applications/Games
351 Requires(post,postun):  gtk-update-icon-cache
352 Requires(post,preun):   GConf2
353 Requires:       %{name} = %{epoch}:%{version}-%{release}
354 Requires:       hicolor-icon-theme
355 Requires:       python-gnome-desktop-print >= 2.22.0
356 Requires:       python-gnome-gconf
357 Obsoletes:      gnome-sudoku
358
359 %description sudoku
360 GNOME Sudoku provides a simple interface for playing, saving, printing
361 and solving Sudoku.
362
363 %description sudoku -l pl.UTF-8
364 GNOME Sudoku dostarcza prosty interfejs do grania, zapisywania,
365 drukowania i rozwiązywania Sudoku.
366
367 %package swell-foop
368 Summary:        Swell Foop
369 Summary(pl.UTF-8):      Gra Swell Foop dla GNOME
370 Group:          X11/Applications/Games
371 Requires(post): coreutils
372 Requires(post,postun):  gtk-update-icon-cache
373 Requires(post,postun):  scrollkeeper
374 Requires(post,preun):   GConf2
375 Requires:       %{name} = %{epoch}:%{version}-%{release}
376 Requires:       hicolor-icon-theme
377 Requires:       seed
378 Provides:       gnome-games-same-gnome
379 Obsoletes:      gnome-games-same-gnome
380
381 %description swell-foop
382 Remove groups of balls to try and clear the screen.
383
384 %description swell-foop -l pl.UTF-8
385 Gra, której celem jest oczyszczanie planszy poprzez usuwanie grup kul.
386
387 %prep
388 %setup -q
389 %patch0 -p1
390
391 %build
392 %{__glib_gettextize}
393 %{__intltoolize}
394 %{__libtoolize}
395 %{__aclocal} -I m4
396 %{__autoconf}
397 %{__autoheader}
398 %{__automake}
399 %configure \
400         --enable-games=all \
401         --enable-staging \
402         --disable-scrollkeeper \
403         --disable-schemas-install \
404         --disable-silent-rules \
405         --disable-static
406
407 %{__make}
408
409 %install
410 rm -rf $RPM_BUILD_ROOT
411
412 %{__make} install \
413         DESTDIR=$RPM_BUILD_ROOT
414
415 %py_postclean
416
417 %find_lang %{name} --all-name
418 %find_lang gnect --with-gnome --with-omf
419 %find_lang gnomine --with-gnome --with-omf
420 %find_lang swell-foop --with-gnome --with-omf
421 %find_lang mahjongg --with-gnome --with-omf
422 %find_lang glchess --with-gnome --with-omf
423 %find_lang gtali --with-gnome --with-omf
424 %find_lang gnome-sudoku --with-gnome --with-omf
425 %find_lang gnotravex --with-gnome --with-omf
426 %find_lang gnotski --with-gnome --with-omf
427 %find_lang glines --with-gnome --with-omf
428 %find_lang iagno --with-gnome --with-omf
429 %find_lang gnobots2 --with-gnome --with-omf
430 %find_lang gnibbles --with-gnome --with-omf
431 %find_lang quadrapassel --with-gnome --with-omf
432 %find_lang aisleriot --with-gnome --with-omf
433 %find_lang lightsoff --with-gnome --with-omf
434
435 %clean
436 rm -rf $RPM_BUILD_ROOT
437
438 %post
439 %glib_compile_schemas
440
441 %postun
442 %glib_compile_schemas
443
444 %post glchess
445 %update_icon_cache hicolor
446 %update_desktop_database_post
447 %scrollkeeper_update_post
448 %glib_compile_schemas
449
450 %postun glchess
451 %update_icon_cache hicolor
452 %update_desktop_database_postun
453 %scrollkeeper_update_postun
454 %glib_compile_schemas
455
456 %post glines
457 %scrollkeeper_update_post
458 %gconf_schema_install glines.schemas
459 %update_icon_cache hicolor
460
461 if [ ! -f %{_gamesdir}/glines.scores ]; then
462         touch %{_gamesdir}/glines.scores
463         chown root:games %{_gamesdir}/glines.scores
464         chmod 664 %{_gamesdir}/glines.scores
465 fi
466
467 %preun glines
468 %gconf_schema_uninstall glines.schemas
469
470 %postun glines
471 %scrollkeeper_update_postun
472 %update_icon_cache hicolor
473
474 %post gnect
475 %scrollkeeper_update_post
476 %gconf_schema_install gnect.schemas
477 %update_icon_cache hicolor
478
479 %preun gnect
480 %gconf_schema_uninstall gnect.schemas
481
482 %postun gnect
483 %scrollkeeper_update_postun
484 %update_icon_cache hicolor
485
486 %post gnibbles
487 %scrollkeeper_update_post
488 %gconf_schema_install gnibbles.schemas
489 %update_icon_cache hicolor
490
491 for i in gnibbles.1.0 gnibbles.1.1 gnibbles.2.0 gnibbles.2.1 gnibbles.3.0 \
492         gnibbles.3.1 gnibbles.4.0 gnibbles.4.1; do
493         if [ ! -f %{_gamesdir}/$i.scores ]; then
494                 touch %{_gamesdir}/$i.scores
495                 chown root:games %{_gamesdir}/$i.scores
496                 chmod 664 %{_gamesdir}/$i.scores
497         fi
498 done
499
500 %preun gnibbles
501 %gconf_schema_uninstall gnibbles.schemas
502
503 %postun gnibbles
504 %scrollkeeper_update_postun
505 %update_icon_cache hicolor
506
507 %post gnobots2
508 %scrollkeeper_update_post
509 %gconf_schema_install gnobots2.schemas
510 %update_icon_cache hicolor
511
512 for i in gnobots2.classic_robots-safe gnobots2.classic_robots \
513         gnobots2.classic_robots-super-safe gnobots2.nightmare-safe \
514         gnobots2.nightmare gnobots2.nightmare-super-safe \
515         gnobots2.robots2_easy-safe gnobots2.robots2_easy \
516         gnobots2.robots2_easy-super-safe gnobots2.robots2-safe \
517         gnobots2.robots2 gnobots2.robots2-super-safe \
518         gnobots2.robots_with_safe_teleport-safe \
519         gnobots2.robots_with_safe_teleport \
520         gnobots2.robots_with_safe_teleport-super-safe; 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 gnobots2
529 %gconf_schema_uninstall gnobots2.schemas
530
531 %postun gnobots2
532 %scrollkeeper_update_postun
533 %update_icon_cache hicolor
534
535 %post gnomine
536 %scrollkeeper_update_post
537 %gconf_schema_install gnomine.schemas
538 %update_icon_cache hicolor
539
540 for i in gnomine.Custom gnomine.Large gnomine.Medium gnomine.Small; do
541         if [ ! -f %{_gamesdir}/$i.scores ]; then
542                 touch %{_gamesdir}/$i.scores
543                 chown root:games %{_gamesdir}/$i.scores
544                 chmod 664 %{_gamesdir}/$i.scores
545         fi
546 done
547
548 %preun gnomine
549 %gconf_schema_uninstall gnomine.schemas
550
551 %postun gnomine
552 %scrollkeeper_update_postun
553 %update_icon_cache hicolor
554
555 %post gnotravex
556 %scrollkeeper_update_post
557 %gconf_schema_install gnotravex.schemas
558 %update_icon_cache hicolor
559
560 for i in gnotravex.2x2 gnotravex.3x3 gnotravex.4x4 gnotravex.5x5 \
561         gnotravex.6x6; do
562         if [ ! -f %{_gamesdir}/$i.scores ]; then
563                 touch %{_gamesdir}/$i.scores
564                 chown root:games %{_gamesdir}/$i.scores
565                 chmod 664 %{_gamesdir}/$i.scores
566         fi
567 done
568
569 %preun gnotravex
570 %gconf_schema_uninstall gnotravex.schemas
571
572 %postun gnotravex
573 %scrollkeeper_update_postun
574 %update_icon_cache hicolor
575
576 %post gnotski
577 %scrollkeeper_update_post
578 %gconf_schema_install gnotski.schemas
579 %update_icon_cache hicolor
580
581 for i in 1 2 3 4 5 6 7 11 12 13 14 15 16 17 21 22 23 24 25 26; do
582         if [ ! -f %{_gamesdir}/gnotski.$i.scores ]; then
583         touch %{_gamesdir}/gnotski.$i.scores
584         chown root:games %{_gamesdir}/gnotski.$i.scores
585         chmod 664 %{_gamesdir}/gnotski.$i.scores
586         fi
587 done
588
589 %preun gnotski
590 %gconf_schema_uninstall gnotski.schemas
591
592 %postun gnotski
593 %scrollkeeper_update_postun
594 %update_icon_cache hicolor
595
596 %post gtali
597 %scrollkeeper_update_post
598 %gconf_schema_install gtali.schemas
599 %update_icon_cache hicolor
600
601 if [ ! -f %{_gamesdir}/gtali.scores ]; then
602         touch %{_gamesdir}/gtali.scores
603         chown root:games %{_gamesdir}/gtali.scores
604         chmod 664 %{_gamesdir}/gtali.scores
605 fi
606
607 %preun gtali
608 %gconf_schema_uninstall gtali.schemas
609
610 %postun gtali
611 %scrollkeeper_update_postun
612 %update_icon_cache hicolor
613
614 %post iagno
615 %scrollkeeper_update_post
616 %gconf_schema_install iagno.schemas
617 %update_icon_cache hicolor
618
619 %preun iagno
620 %gconf_schema_uninstall iagno.schemas
621
622 %postun iagno
623 %scrollkeeper_update_postun
624 %update_icon_cache hicolor
625
626 %post lightsoff
627 %scrollkeeper_update_post
628 %gconf_schema_install lightsoff.schemas
629 %update_icon_cache hicolor
630
631 %preun lightsoff
632 %gconf_schema_uninstall lightsoff.schemas
633
634 %postun lightsoff
635 %scrollkeeper_update_postun
636 %update_icon_cache hicolor
637
638 %post mahjongg
639 %scrollkeeper_update_post
640 %gconf_schema_install mahjongg.schemas
641 %update_icon_cache hicolor
642
643 for i in mahjongg.bridges mahjongg.cloud mahjongg.confounding \
644         mahjongg.difficult mahjongg.dragon mahjongg.easy \
645         mahjongg.pyramid mahjongg.tictactoe mahjongg.ziggurat; do
646         if [ ! -f %{_gamesdir}/$i.scores ]; then
647                 touch %{_gamesdir}/$i.scores
648                 chown root:games %{_gamesdir}/$i.scores
649                 chmod 664 %{_gamesdir}/$i.scores
650         fi
651 done
652
653 %preun mahjongg
654 %gconf_schema_uninstall mahjongg.schemas
655
656 %postun mahjongg
657 %scrollkeeper_update_postun
658 %update_icon_cache hicolor
659
660 %post quadrapassel
661 %scrollkeeper_update_post
662 %gconf_schema_install quadrapassel.schemas
663 %update_icon_cache hicolor
664
665 if [ ! -f %{_gamesdir}/quadrapassel.scores ]; then
666         touch %{_gamesdir}/quadrapassel.scores
667         chown root:games %{_gamesdir}/quadrapassel.scores
668         chmod 664 %{_gamesdir}/quadrapassel.scores
669 fi
670
671 %preun quadrapassel
672 %gconf_schema_uninstall quadrapassel.schemas
673
674 %postun quadrapassel
675 %scrollkeeper_update_postun
676 %update_icon_cache hicolor
677
678 %post sol
679 %scrollkeeper_update_post
680 %gconf_schema_install aisleriot.schemas
681 %update_icon_cache hicolor
682
683 %preun sol
684 %gconf_schema_uninstall aisleriot.schemas
685
686 %postun sol
687 %scrollkeeper_update_postun
688 %update_icon_cache hicolor
689
690 %post sudoku
691 %update_icon_cache hicolor
692 %gconf_schema_install gnome-sudoku.schemas
693
694 %preun sudoku
695 %gconf_schema_uninstall gnome-sudoku.schemas
696
697 %postun sudoku
698 %update_icon_cache hicolor
699
700 %post swell-foop
701 %scrollkeeper_update_post
702 %gconf_schema_install swell-foop.schemas
703 %update_icon_cache hicolor
704
705 %preun swell-foop
706 %gconf_schema_uninstall swell-foop.schemas
707
708 %postun swell-foop
709 %scrollkeeper_update_postun
710 %update_icon_cache hicolor
711
712 %files -f %{name}.lang
713 %defattr(644,root,root,755)
714 %doc AUTHORS ChangeLog NEWS README
715 %dir %{_libdir}/%{name}
716 %attr(755,root,root) %{_libdir}/%{name}/ar-cards-renderer
717 %attr(755,root,root) %{_libdir}/%{name}/libgames-support-gi.so*
718 %{_libdir}/%{name}/GnomeGamesSupport-1.0.*
719 %{_datadir}/glib-2.0/schemas/org.gnome.Games.WindowState.gschema.xml
720 %dir %{_datadir}/%{name}
721 %{_datadir}/%{name}/icons
722 %{_datadir}/%{name}/sounds
723 %{_datadir}/%{name}/pixmaps
724 %{_datadir}/gnome-games-common
725
726 %files glchess -f glchess.lang
727 %defattr(644,root,root,755)
728 %attr(755,root,root) %{_bindir}/glchess
729 %attr(755,root,root) %{_bindir}/gnome-gnuchess
730 %{_desktopdir}/glchess.desktop
731 %{_datadir}/glchess
732 %{_datadir}/glib-2.0/schemas/org.gnome.glchess.gschema.xml
733 %{_iconsdir}/hicolor/*/*/gnome-glchess.*
734 %{_mandir}/man6/glchess.6*
735
736 %files glines -f glines.lang
737 %defattr(644,root,root,755)
738 %attr(2755,root,games) %{_bindir}/glines
739 %{_sysconfdir}/gconf/schemas/glines.schemas
740 %{_datadir}/%{name}/glines
741 %{_desktopdir}/glines.desktop
742 %{_iconsdir}/hicolor/*/*/gnome-glines.*
743 %attr(664,root,games) %ghost %{_localstatedir}/games/glines.*
744 %{_mandir}/man6/glines.6*
745
746 %files gnect -f gnect.lang
747 %defattr(644,root,root,755)
748 %attr(755,root,games) %{_bindir}/gnect
749 %{_sysconfdir}/gconf/schemas/gnect.schemas
750 %{_datadir}/%{name}/gnect
751 %{_desktopdir}/gnect.desktop
752 %{_iconsdir}/hicolor/*/*/gnome-gnect.*
753 %{_mandir}/man6/gnect.6*
754
755 %files gnibbles -f gnibbles.lang
756 %defattr(644,root,root,755)
757 %attr(2755,root,games) %{_bindir}/gnibbles
758 %{_sysconfdir}/gconf/schemas/gnibbles.schemas
759 %{_datadir}/%{name}/gnibbles
760 %{_desktopdir}/gnibbles.desktop
761 %{_iconsdir}/hicolor/*/*/gnome-gnibbles.*
762 %attr(664,root,games) %ghost %{_localstatedir}/games/gnibbles.*
763 %{_mandir}/man6/gnibbles.6*
764
765 %files gnobots2 -f gnobots2.lang
766 %defattr(644,root,root,755)
767 %attr(2755,root,games) %{_bindir}/gnobots2
768 %{_sysconfdir}/gconf/schemas/gnobots2.schemas
769 %{_datadir}/%{name}/gnobots2
770 %{_desktopdir}/gnobots2.desktop
771 %{_iconsdir}/hicolor/*/*/gnome-robots.*
772 %attr(664,root,games) %ghost %{_localstatedir}/games/gnobots2.*
773 %{_mandir}/man6/gnobots2.6*
774
775 %files gnomine -f gnomine.lang
776 %defattr(644,root,root,755)
777 %attr(2755,root,games) %{_bindir}/gnomine
778 %{_sysconfdir}/gconf/schemas/gnomine.schemas
779 %{_datadir}/%{name}/gnomine
780 %{_desktopdir}/gnomine.desktop
781 %{_iconsdir}/hicolor/*/*/gnomine.*
782 %attr(664,root,games) %ghost %{_localstatedir}/games/gnomine.*
783 %{_mandir}/man6/gnomine.6*
784
785 %files gnotravex -f gnotravex.lang
786 %defattr(644,root,root,755)
787 %attr(2755,root,games) %{_bindir}/gnotravex
788 %{_sysconfdir}/gconf/schemas/gnotravex.schemas
789 %{_desktopdir}/gnotravex.desktop
790 %{_iconsdir}/hicolor/*/*/gnome-tetravex.*
791 %attr(664,root,games) %ghost %{_localstatedir}/games/gnotravex.*
792 %{_mandir}/man6/gnotravex.6*
793
794 %files gnotski -f gnotski.lang
795 %defattr(644,root,root,755)
796 %attr(2755,root,games) %{_bindir}/gnotski
797 %{_sysconfdir}/gconf/schemas/gnotski.schemas
798 %{_desktopdir}/gnotski.desktop
799 %{_datadir}/%{name}/gnotski
800 %{_iconsdir}/hicolor/*/*/gnome-klotski.*
801 %attr(664,root,games) %ghost %{_localstatedir}/games/gnotski.*
802 %{_mandir}/man6/gnotski.6*
803
804 %files gtali -f gtali.lang
805 %defattr(644,root,root,755)
806 %attr(2755,root,games) %{_bindir}/gtali
807 %{_sysconfdir}/gconf/schemas/gtali.schemas
808 %{_datadir}/%{name}/gtali
809 %{_desktopdir}/gtali.desktop
810 %{_iconsdir}/hicolor/*/*/gnome-tali.*
811 %attr(664,root,games) %ghost %{_localstatedir}/games/gtali.*
812 %{_mandir}/man6/gtali.6*
813
814 %files iagno -f iagno.lang
815 %defattr(644,root,root,755)
816 %attr(755,root,root) %{_bindir}/iagno
817 %{_sysconfdir}/gconf/schemas/iagno.schemas
818 %{_datadir}/%{name}/iagno
819 %{_desktopdir}/iagno.desktop
820 %{_iconsdir}/hicolor/*/*/gnome-iagno.*
821 %{_mandir}/man6/iagno.6*
822
823 %files lightsoff -f lightsoff.lang
824 %defattr(644,root,root,755)
825 %attr(755,root,games) %{_bindir}/lightsoff
826 %{_datadir}/%{name}/lightsoff
827 %{_desktopdir}/lightsoff.desktop
828 %{_sysconfdir}/gconf/schemas/lightsoff.schemas
829 %{_iconsdir}/hicolor/*/*/gnome-lightsoff.*
830
831 %files mahjongg -f mahjongg.lang
832 %defattr(644,root,root,755)
833 %attr(2755,root,games) %{_bindir}/mahjongg
834 %{_sysconfdir}/gconf/schemas/mahjongg.schemas
835 %{_desktopdir}/mahjongg.desktop
836 %{_iconsdir}/hicolor/*/*/gnome-mahjongg.png
837 %{_iconsdir}/hicolor/*/*/gnome-mahjongg.svg
838 %{_datadir}/%{name}/mahjongg
839 %attr(664,root,games) %ghost %{_localstatedir}/games/mahjongg.*
840 %{_mandir}/man6/mahjongg.6*
841
842 %files quadrapassel -f quadrapassel.lang
843 %defattr(644,root,root,755)
844 %attr(2755,root,games) %{_bindir}/quadrapassel
845 %{_sysconfdir}/gconf/schemas/quadrapassel.schemas
846 %{_datadir}/%{name}/quadrapassel
847 %{_desktopdir}/quadrapassel.desktop
848 %{_iconsdir}/hicolor/*/*/gnome-quadrapassel.*
849 %attr(664,root,games) %ghost %{_localstatedir}/games/quadrapassel.*
850 %{_mandir}/man6/quadrapassel.6*
851
852 %files sol -f aisleriot.lang
853 %defattr(644,root,root,755)
854 %attr(755,root,games) %{_bindir}/sol
855 %{_sysconfdir}/gconf/schemas/aisleriot.schemas
856 %{_datadir}/%{name}/aisleriot
857 %{_desktopdir}/freecell.desktop
858 %{_desktopdir}/sol.desktop
859 %{_iconsdir}/hicolor/16x16/*/gnome-aisleriot.*
860 %{_iconsdir}/hicolor/22x22/*/gnome-aisleriot.*
861 %{_iconsdir}/hicolor/24x24/*/gnome-aisleriot.*
862 %{_iconsdir}/hicolor/32x32/*/gnome-aisleriot.*
863 %{_iconsdir}/hicolor/48x48/*/gnome-aisleriot.*
864 %{_iconsdir}/hicolor/256x256/*/gnome-aisleriot.*
865 %{_iconsdir}/hicolor/16x16/*/gnome-freecell.*
866 %{_iconsdir}/hicolor/22x22/*/gnome-freecell.*
867 %{_iconsdir}/hicolor/24x24/*/gnome-freecell.*
868 %{_iconsdir}/hicolor/32x32/*/gnome-freecell.*
869 %{_iconsdir}/hicolor/48x48/*/gnome-freecell.*
870 %{_mandir}/man6/sol.6*
871
872 %files sudoku -f gnome-sudoku.lang
873 %defattr(644,root,root,755)
874 %attr(755,root,root) %{_bindir}/gnome-sudoku
875 %{_desktopdir}/gnome-sudoku.desktop
876 %dir %{py_sitescriptdir}/gnome_sudoku
877 %{py_sitescriptdir}/gnome_sudoku/*.py[co]
878 %dir %{py_sitescriptdir}/gnome_sudoku/gtk_goodies
879 %{py_sitescriptdir}/gnome_sudoku/gtk_goodies/*.py[co]
880 %{_datadir}/gnome-sudoku
881 %{_iconsdir}/hicolor/*/*/gnome-sudoku.*
882 %{_sysconfdir}/gconf/schemas/gnome-sudoku.schemas
883 %{_mandir}/man6/gnome-sudoku.6*
884
885 %files swell-foop -f swell-foop.lang
886 %defattr(644,root,root,755)
887 %attr(755,root,games) %{_bindir}/swell-foop
888 %{_sysconfdir}/gconf/schemas/swell-foop.schemas
889 %{_desktopdir}/swell-foop.desktop
890 %{_datadir}/%{name}/swell-foop
891 %{_iconsdir}/hicolor/*/*/gnome-swell-foop.*
This page took 0.144193 seconds and 3 git commands to generate.