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