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