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