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