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