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