]> git.pld-linux.org Git - packages/gnome-games.git/blame - gnome-games.spec
- converted to UTF-8
[packages/gnome-games.git] / gnome-games.spec
CommitLineData
1fe95821 1Summary: GNOME games
829f10ae
JR
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
193428b1 9Version: 2.16.3
e1c0a3b4 10Release: 1
8b8bf796 11Epoch: 1
341d99f9 12License: LGPL
22fa9ef6 13Group: X11/Applications/Games
cba79c02 14Source0: http://ftp.gnome.org/pub/gnome/sources/gnome-games/2.16/%{name}-%{version}.tar.bz2
193428b1 15# Source0-md5: 88baa9ab64b84bfcac2a1ba05f84d2f9
62f2f88f 16Patch0: %{name}-schemas.patch
cb24a834 17Patch1: %{name}-include.patch
0fd2ab97 18Patch2: %{name}-desktop.patch
0add80e9 19URL: http://www.gnome.org/
e23150be 20BuildRequires: GConf2-devel >= 2.16.0
cb24a834 21BuildRequires: autoconf >= 2.53
3a75cb9f 22BuildRequires: automake
e23150be 23BuildRequires: avahi-glib-devel >= 0.6.15
3a75cb9f 24BuildRequires: esound-devel
9632a862 25BuildRequires: gnome-common >= 2.12.0
193428b1 26BuildRequires: gnome-vfs2-devel >= 2.16.3
9632a862 27BuildRequires: gob2 >= 2.0.14
cba79c02 28BuildRequires: guile-devel >= 5:1.8.0
e23150be
MB
29BuildRequires: gtk+2-devel >= 2:2.10.6
30BuildRequires: intltool >= 0.35.0
e8bd4cf3 31BuildRequires: libglade2-devel >= 1:2.6.0
e23150be 32BuildRequires: libgnomeui-devel >= 2.16.1
6092a75f 33BuildRequires: libltdl-devel
cba79c02 34BuildRequires: librsvg-devel >= 1:2.16.0
6092a75f 35BuildRequires: libstdc++-devel
704d6f59 36BuildRequires: libtool
7004b7a2 37BuildRequires: pkgconfig
201aff0c 38BuildRequires: rpmbuild(macros) >= 1.311
cd1ac38a 39BuildRequires: scrollkeeper >= 0.3.8
40Requires(post,preun): GConf2
193428b1 41Requires: gnome-vfs2 >= 2.16.3
6b419bb7 42Requires: hicolor-icon-theme
cba79c02 43Requires: libgnomeui >= 2.16.0
44Requires: librsvg >= 1:2.16.0
4fd78e1f 45Obsoletes: gnect
617bfb5a 46Obsoletes: gnome
cb24a834 47Obsoletes: gnome-games-devel
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
829f10ae 80Summary(pl.UTF-8): Blackjack dla GNOME
cb24a834 81Group: X11/Applications/Games
e23150be
MB
82Requires(post,preun): GConf2 >= 2.16.0
83Requires(post,postun): gtk+2 >= 2:2.10.6
cd1ac38a 84Requires(post,postun): scrollkeeper
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
93%package gataxx
94Summary: GNOME Ataxx
829f10ae 95Summary(pl.UTF-8): Ataxx dla GNOME
cb24a834 96Group: X11/Applications/Games
e23150be
MB
97Requires(post,preun): GConf2 >= 2.16.0
98Requires(post,postun): gtk+2 >= 2:2.10.6
cd1ac38a 99Requires(post,postun): scrollkeeper
cb24a834 100Requires: %{name} = %{epoch}:%{version}-%{release}
7f3383bc 101
cb24a834 102%description gataxx
103Reversi like game.
7f3383bc 104
829f10ae 105%description gataxx -l pl.UTF-8
cb24a834 106Gra podobna do Reversi.
0624d8ae 107
cb24a834 108%package glines
109Summary: Five or more game
829f10ae 110Summary(pl.UTF-8): Gra "Pięć albo więcej"
cb24a834 111Group: X11/Applications/Games
e23150be 112Requires(post,preun): GConf2 >= 2.16.0
cb24a834 113Requires(post): coreutils
e23150be 114Requires(post,postun): gtk+2 >= 2:2.10.6
cd1ac38a 115Requires(post,postun): scrollkeeper
cb24a834 116Requires: %{name} = %{epoch}:%{version}-%{release}
77818e62 117
cb24a834 118%description glines
119Remove colored balls from the board by forming lines.
77818e62 120
829f10ae
JR
121%description glines -l pl.UTF-8
122Gra polegająca na usuwaniu kolorwych kul poprzez układanie ich w
cb24a834 123linie.
7f3383bc 124
cb24a834 125%package gnect
126Summary: Four-in-a-row game
829f10ae 127Summary(pl.UTF-8): Gra "Cztery w rzędzie"
cb24a834 128Group: X11/Applications/Games
e23150be
MB
129Requires(post,preun): GConf2 >= 2.16.0
130Requires(post,postun): gtk+2 >= 2:2.10.6
cd1ac38a 131Requires(post,postun): scrollkeeper
cb24a834 132Requires: %{name} = %{epoch}:%{version}-%{release}
133
134%description gnect
135Compete to make lines of the same color.
136
829f10ae
JR
137%description gnect -l pl.UTF-8
138Gra, której celem jest utowrzenie linii w jednym kolorze.
cb24a834 139
140%package gnibbles
141Summary: GNOME Nibbles
829f10ae 142Summary(pl.UTF-8): Nibbles dla GNOME
cb24a834 143Group: X11/Applications/Games
e23150be 144Requires(post,preun): GConf2 >= 2.16.0
cb24a834 145Requires(post): coreutils
e23150be 146Requires(post,postun): gtk+2 >= 2:2.10.6
cd1ac38a 147Requires(post,postun): scrollkeeper
cb24a834 148Requires: %{name} = %{epoch}:%{version}-%{release}
149
150%description gnibbles
151Guide a worm around a maze.
152
829f10ae
JR
153%description gnibbles -l pl.UTF-8
154Gra polegająca na przeprowadzeniu robaka przez labirynt.
cb24a834 155
156%package gnobots2
157Summary: GNOME Robots
829f10ae 158Summary(pl.UTF-8): Robots dla GNOME
cb24a834 159Group: X11/Applications/Games
e23150be 160Requires(post,preun): GConf2 >= 2.16.0
cb24a834 161Requires(post): coreutils
e23150be 162Requires(post,postun): gtk+2 >= 2:2.10.6
cd1ac38a 163Requires(post,postun): scrollkeeper
cb24a834 164Requires: %{name} = %{epoch}:%{version}-%{release}
7f3383bc 165
cb24a834 166%description gnobots2
167Avoid the robots and make them crash into each other.
168
829f10ae
JR
169%description gnobots2 -l pl.UTF-8
170Gra polegająca na zapobieganiu zderzeniom robotów.
cb24a834 171
cb24a834 172%package gnometris
173Summary: GNOME Tetris
829f10ae 174Summary(pl.UTF-8): Tetris dla GNOME
cb24a834 175Group: X11/Applications/Games
e23150be 176Requires(post,preun): GConf2 >= 2.16.0
cb24a834 177Requires(post): coreutils
e23150be 178Requires(post,postun): gtk+2 >= 2:2.10.6
cd1ac38a 179Requires(post,postun): scrollkeeper
cb24a834 180Requires: %{name} = %{epoch}:%{version}-%{release}
181
182%description gnometris
183Tetris like game.
184
829f10ae 185%description gnometris -l pl.UTF-8
cb24a834 186Gra podobna do Tetrisa.
187
188%package gnomine
189Summary: GNOME Mines
829f10ae 190Summary(pl.UTF-8): Miny dla GNOME
cb24a834 191Group: X11/Applications/Games
e23150be 192Requires(post,preun): GConf2 >= 2.16.0
cb24a834 193Requires(post): coreutils
e23150be 194Requires(post,postun): gtk+2 >= 2:2.10.6
cd1ac38a 195Requires(post,postun): scrollkeeper
cb24a834 196Requires: %{name} = %{epoch}:%{version}-%{release}
197
198%description gnomine
199Clear mines from a minefield.
200
829f10ae
JR
201%description gnomine -l pl.UTF-8
202Gra, której celem jest rozminowanie pola minowego.
cb24a834 203
204%package gnotravex
205Summary: GNOME Tetravex
829f10ae 206Summary(pl.UTF-8): Tetravex dla GNOME
cb24a834 207Group: X11/Applications/Games
e23150be 208Requires(post,preun): GConf2 >= 2.16.0
cb24a834 209Requires(post): coreutils
e23150be 210Requires(post,postun): gtk+2 >= 2:2.10.6
cd1ac38a 211Requires(post,postun): scrollkeeper
cb24a834 212Requires: %{name} = %{epoch}:%{version}-%{release}
213
214%description gnotravex
215Puzzle game.
216
829f10ae
JR
217%description gnotravex -l pl.UTF-8
218Układanka.
cb24a834 219
220%package gnotski
221Summary: Gnome Klotski
829f10ae 222Summary(pl.UTF-8): Klotski dla GNOME
cb24a834 223Group: X11/Applications/Games
e23150be 224Requires(post,preun): GConf2 >= 2.16.0
cb24a834 225Requires(post): coreutils
e23150be 226Requires(post,postun): gtk+2 >= 2:2.10.6
cd1ac38a 227Requires(post,postun): scrollkeeper
cb24a834 228Requires: %{name} = %{epoch}:%{version}-%{release}
229
230%description gnotski
231Clone of the Klotski game. The objective is to move the patterned
232block to the area bordered by green markers.
233
829f10ae
JR
234%description gnotski -l pl.UTF-8
235Klon gry Klotski. Celem gry jest przesunięcie zaznaczonego klocka
cb24a834 236w pole ograniczone zielonymi znacznikami.
237
238%package gtali
239Summary: GNOME Tali
829f10ae 240Summary(pl.UTF-8): Tali dla GNOME
cb24a834 241Group: X11/Applications/Games
e23150be 242Requires(post,preun): GConf2 >= 2.16.0
cb24a834 243Requires(post): coreutils
e23150be 244Requires(post,postun): gtk+2 >= 2:2.10.6
cd1ac38a 245Requires(post,postun): scrollkeeper
cb24a834 246Requires: %{name} = %{epoch}:%{version}-%{release}
247
248%description gtali
249Poker-style dice game.
250
829f10ae
JR
251%description gtali -l pl.UTF-8
252Gra w kości w pokerowym stylu.
cb24a834 253
254%package iagno
255Summary: GNOME Iagno
829f10ae 256Summary(pl.UTF-8): Iagno dla GNOME
cb24a834 257Group: X11/Applications/Games
e23150be
MB
258Requires(post,preun): GConf2 >= 2.16.0
259Requires(post,postun): gtk+2 >= 2:2.10.6
cd1ac38a 260Requires(post,postun): scrollkeeper
cb24a834 261Requires: %{name} = %{epoch}:%{version}-%{release}
262
263%description iagno
264Reversi like game.
265
829f10ae 266%description iagno -l pl.UTF-8
cb24a834 267Gra podobna do Reversi.
268
269%package mahjongg
270Summary: GNOME Mahjongg
829f10ae 271Summary(pl.UTF-8): Mahjongg dla GNOME
cb24a834 272Group: X11/Applications/Games
e23150be 273Requires(post,preun): GConf2 >= 2.16.0
cb24a834 274Requires(post): coreutils
e23150be 275Requires(post,postun): gtk+2 >= 2:2.10.6
cd1ac38a 276Requires(post,postun): scrollkeeper
cb24a834 277Requires: %{name} = %{epoch}:%{version}-%{release}
278
279%description mahjongg
280Disassemble a pile of tiles by removing matching pairs.
281
829f10ae
JR
282%description mahjongg -l pl.UTF-8
283Gra polegjaca na demontażu stosu kafli poprzez usuwanie pasujących
cb24a834 284par.
285
286%package same-gnome
287Summary: Same GNOME
288Group: X11/Applications/Games
e23150be 289Requires(post,preun): GConf2 >= 2.16.0
cb24a834 290Requires(post): coreutils
e23150be 291Requires(post,postun): gtk+2 >= 2:2.10.6
cd1ac38a 292Requires(post,postun): scrollkeeper
cb24a834 293Requires: %{name} = %{epoch}:%{version}-%{release}
294
295%description same-gnome
296Remove groups of balls to try and clear the screen.
297
829f10ae
JR
298%description same-gnome -l pl.UTF-8
299Gra, której celem jest oczyszczanie planszy poprzez usuwanie grup kul.
cb24a834 300
301%package sol
302Summary: AisleRiot Solitaire
829f10ae 303Summary(pl.UTF-8): Pasjans AisleRiot
cb24a834 304Group: X11/Applications/Games
e23150be
MB
305Requires(post,preun): GConf2 >= 2.16.0
306Requires(post,postun): gtk+2 >= 2:2.10.6
cd1ac38a 307Requires(post,postun): scrollkeeper
cb24a834 308Requires: %{name} = %{epoch}:%{version}-%{release}
cba79c02 309Requires: guile >= 5:1.8.0
cb24a834 310
311%description sol
312Many different solitaire games.
313
829f10ae
JR
314%description sol -l pl.UTF-8
315Różne gry karciane.
0624d8ae 316
7f3383bc 317%prep
318%setup -q
62f2f88f 319%patch0 -p1
3a75cb9f 320%patch1 -p1
0fd2ab97 321%patch2 -p1
3a75cb9f 322
7f3383bc 323%build
1a744321 324%{__glib_gettextize}
325%{__intltoolize}
704d6f59 326%{__libtoolize}
4230e747 327%{__aclocal}
3a75cb9f 328%{__autoheader}
329%{__autoconf}
330%{__automake}
cb24a834 331%configure \
9632a862 332 --disable-bonjour \
923f5cfa 333 --disable-howl \
cb24a834 334 --disable-static
0919fe29 335%{__make}
7f3383bc 336
337%install
338rm -rf $RPM_BUILD_ROOT
339
7a9ee3e3 340%{__make} install \
548e80c0 341 DESTDIR=$RPM_BUILD_ROOT \
342 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
7f3383bc 343
2f1e894d
JB
344rm -f $RPM_BUILD_ROOT%{_libdir}/gnome-stones/objects/lib*.la
345
cb24a834 346%find_lang %{name} --all-name
b86b58a4 347%find_lang gnect --with-gnome
348%find_lang gnomine --with-gnome
349%find_lang same-gnome --with-gnome
350%find_lang mahjongg --with-gnome
351%find_lang gtali --with-gnome
b86b58a4 352%find_lang gataxx --with-gnome
353%find_lang gnotravex --with-gnome
354%find_lang gnotski --with-gnome
355%find_lang glines --with-gnome
356%find_lang iagno --with-gnome
357%find_lang gnobots2 --with-gnome
358%find_lang gnibbles --with-gnome
359%find_lang gnometris --with-gnome
360%find_lang blackjack --with-gnome
361%find_lang aisleriot --with-gnome
1fe95821 362
0add80e9
JB
363%clean
364rm -rf $RPM_BUILD_ROOT
365
6bfed4d9 366%post
1a744321 367%gconf_schema_install libgnomegames.schemas
6bfed4d9 368
e83112b2 369%preun
1a744321 370%gconf_schema_uninstall libgnomegames.schemas
f22e7290 371
cb24a834 372%post blackjack
1a744321 373%scrollkeeper_update_post
374%gconf_schema_install blackjack.schemas
201aff0c 375%update_icon_cache hicolor
cb24a834 376
e83112b2 377%preun blackjack
1a744321 378%gconf_schema_uninstall blackjack.schemas
e83112b2 379
f22e7290 380%postun blackjack
1a744321 381%scrollkeeper_update_postun
201aff0c 382%update_icon_cache hicolor
cb24a834 383
384%post gataxx
1a744321 385%scrollkeeper_update_post
386%gconf_schema_install gataxx.schemas
201aff0c 387%update_icon_cache hicolor
cb24a834 388
e83112b2 389%preun gataxx
1a744321 390%gconf_schema_uninstall gataxx.schemas
e83112b2 391
f22e7290 392%postun gataxx
1a744321 393%scrollkeeper_update_postun
201aff0c 394%update_icon_cache hicolor
cb24a834 395
396%post glines
1a744321 397%scrollkeeper_update_post
398%gconf_schema_install glines.schemas
201aff0c 399%update_icon_cache hicolor
cb24a834 400
401if [ ! -f %{_gamesdir}/glines.scores ]; then
402 touch %{_gamesdir}/glines.scores
403 chown root:games %{_gamesdir}/glines.scores
404 chmod 664 %{_gamesdir}/glines.scores
405fi
406
e83112b2 407%preun glines
1a744321 408%gconf_schema_uninstall glines.schemas
e83112b2 409
f22e7290 410%postun glines
1a744321 411%scrollkeeper_update_postun
201aff0c 412%update_icon_cache hicolor
cb24a834 413
414%post gnect
1a744321 415%scrollkeeper_update_post
416%gconf_schema_install gnect.schemas
201aff0c 417%update_icon_cache hicolor
cb24a834 418
e83112b2 419%preun gnect
1a744321 420%gconf_schema_uninstall gnect.schemas
e83112b2 421
f22e7290 422%postun gnect
1a744321 423%scrollkeeper_update_postun
201aff0c 424%update_icon_cache hicolor
cb24a834 425
426%post gnibbles
1a744321 427%scrollkeeper_update_post
428%gconf_schema_install gnibbles.schemas
201aff0c 429%update_icon_cache hicolor
cb24a834 430
431for i in gnibbles.1.0 gnibbles.1.1 gnibbles.2.0 gnibbles.2.1 gnibbles.3.0 \
432 gnibbles.3.1 gnibbles.4.0 gnibbles.4.1; do
433 if [ ! -f %{_gamesdir}/$i.scores ]; then
434 touch %{_gamesdir}/$i.scores
435 chown root:games %{_gamesdir}/$i.scores
436 chmod 664 %{_gamesdir}/$i.scores
437 fi
438done
439
e83112b2 440%preun gnibbles
1a744321 441%gconf_schema_uninstall gnibbles.schemas
e83112b2 442
f22e7290 443%postun gnibbles
1a744321 444%scrollkeeper_update_postun
201aff0c 445%update_icon_cache hicolor
cb24a834 446
447%post gnobots2
1a744321 448%scrollkeeper_update_post
449%gconf_schema_install gnobots2.schemas
201aff0c 450%update_icon_cache hicolor
bb994225 451
cb24a834 452for i in gnobots2.classic_robots-safe gnobots2.classic_robots \
453 gnobots2.classic_robots-super-safe gnobots2.nightmare-safe \
454 gnobots2.nightmare gnobots2.nightmare-super-safe \
455 gnobots2.robots2_easy-safe gnobots2.robots2_easy \
456 gnobots2.robots2_easy-super-safe gnobots2.robots2-safe \
457 gnobots2.robots2 gnobots2.robots2-super-safe \
e62b95e6 458 gnobots2.robots_with_safe_teleport-safe \
cb24a834 459 gnobots2.robots_with_safe_teleport \
460 gnobots2.robots_with_safe_teleport-super-safe; do
9a916e56 461 if [ ! -f %{_gamesdir}/$i.scores ]; then
462 touch %{_gamesdir}/$i.scores
463 chown root:games %{_gamesdir}/$i.scores
464 chmod 664 %{_gamesdir}/$i.scores
465 fi
466done
467
e83112b2 468%preun gnobots2
1a744321 469%gconf_schema_uninstall gnobots2.schemas
e83112b2 470
f22e7290 471%postun gnobots2
1a744321 472%scrollkeeper_update_postun
201aff0c 473%update_icon_cache hicolor
cb24a834 474
cb24a834 475%post gnometris
1a744321 476%scrollkeeper_update_post
477%gconf_schema_install gnometris.schemas
201aff0c 478%update_icon_cache hicolor
cb24a834 479
480if [ ! -f %{_gamesdir}/gnometris.scores ]; then
481 touch %{_gamesdir}/gnometris.scores
482 chown root:games %{_gamesdir}/gnometris.scores
483 chmod 664 %{_gamesdir}/gnometris.scores
484fi
485
e83112b2 486%preun gnometris
1a744321 487%gconf_schema_uninstall gnometris.schemas
e83112b2 488
f22e7290 489%postun gnometris
1a744321 490%scrollkeeper_update_postun
201aff0c 491%update_icon_cache hicolor
cb24a834 492
493%post gnomine
1a744321 494%scrollkeeper_update_post
495%gconf_schema_install gnomine.schemas
201aff0c 496%update_icon_cache hicolor
cb24a834 497
498for i in gnomine.Custom gnomine.Large gnomine.Medium gnomine.Small; do
499 if [ ! -f %{_gamesdir}/$i.scores ]; then
500 touch %{_gamesdir}/$i.scores
501 chown root:games %{_gamesdir}/$i.scores
502 chmod 664 %{_gamesdir}/$i.scores
503 fi
504done
505
e83112b2 506%preun gnomine
1a744321 507%gconf_schema_uninstall gnomine.schemas
e83112b2 508
f22e7290 509%postun gnomine
1a744321 510%scrollkeeper_update_postun
201aff0c 511%update_icon_cache hicolor
cb24a834 512
513%post gnotravex
1a744321 514%scrollkeeper_update_post
515%gconf_schema_install gnotravex.schemas
201aff0c 516%update_icon_cache hicolor
cb24a834 517
518for i in gnotravex.2x2 gnotravex.3x3 gnotravex.4x4 gnotravex.5x5 \
519 gnotravex.6x6; do
520 if [ ! -f %{_gamesdir}/$i.scores ]; then
521 touch %{_gamesdir}/$i.scores
522 chown root:games %{_gamesdir}/$i.scores
523 chmod 664 %{_gamesdir}/$i.scores
524 fi
525done
526
e83112b2 527%preun gnotravex
1a744321 528%gconf_schema_uninstall gnotravex.schemas
e83112b2 529
f22e7290 530%postun gnotravex
1a744321 531%scrollkeeper_update_postun
201aff0c 532%update_icon_cache hicolor
cb24a834 533
534%post gnotski
1a744321 535%scrollkeeper_update_post
536%gconf_schema_install gnotski.schemas
201aff0c 537%update_icon_cache hicolor
cb24a834 538
539for i in 1 2 3 4 5 6 7 11 12 13 14 15 16 17 21 22 23 24 25 26; do
540 if [ ! -f %{_gamesdir}/gnotski.$i.scores ]; then
541 touch %{_gamesdir}/gnotski.$i.scores
542 chown root:games %{_gamesdir}/gnotski.$i.scores
543 chmod 664 %{_gamesdir}/gnotski.$i.scores
544 fi
545done
546
e83112b2 547%preun gnotski
1a744321 548%gconf_schema_uninstall gnotski.schemas
e83112b2 549
f22e7290 550%postun gnotski
1a744321 551%scrollkeeper_update_postun
201aff0c 552%update_icon_cache hicolor
cb24a834 553
554%post gtali
1a744321 555%scrollkeeper_update_post
556%gconf_schema_install gtali.schemas
201aff0c 557%update_icon_cache hicolor
cb24a834 558
559if [ ! -f %{_gamesdir}/gtali.scores ]; then
560 touch %{_gamesdir}/gtali.scores
561 chown root:games %{_gamesdir}/gtali.scores
562 chmod 664 %{_gamesdir}/gtali.scores
563fi
564
e83112b2 565%preun gtali
1a744321 566%gconf_schema_uninstall gtali.schemas
e83112b2 567
f22e7290 568%postun gtali
1a744321 569%scrollkeeper_update_postun
201aff0c 570%update_icon_cache hicolor
cb24a834 571
572%post iagno
1a744321 573%scrollkeeper_update_post
574%gconf_schema_install iagno.schemas
201aff0c 575%update_icon_cache hicolor
cb24a834 576
e83112b2 577%preun iagno
1a744321 578%gconf_schema_uninstall iagno.schemas
e83112b2 579
f22e7290 580%postun iagno
1a744321 581%scrollkeeper_update_postun
201aff0c 582%update_icon_cache hicolor
cb24a834 583
584%post mahjongg
1a744321 585%scrollkeeper_update_post
586%gconf_schema_install mahjongg.schemas
201aff0c 587%update_icon_cache hicolor
cb24a834 588
589for i in mahjongg.bridges mahjongg.cloud mahjongg.confounding \
590 mahjongg.difficult mahjongg.dragon mahjongg.easy \
591 mahjongg.pyramid mahjongg.tictactoe mahjongg.ziggurat; do
592 if [ ! -f %{_gamesdir}/$i.scores ]; then
593 touch %{_gamesdir}/$i.scores
594 chown root:games %{_gamesdir}/$i.scores
595 chmod 664 %{_gamesdir}/$i.scores
596 fi
597done
598
e83112b2 599%preun mahjongg
1a744321 600%gconf_schema_uninstall mahjongg.schemas
e83112b2 601
f22e7290 602%postun mahjongg
1a744321 603%scrollkeeper_update_postun
201aff0c 604%update_icon_cache hicolor
cb24a834 605
606%post same-gnome
1a744321 607%scrollkeeper_update_post
608%gconf_schema_install same-gnome.schemas
201aff0c 609%update_icon_cache hicolor
cb24a834 610
611if [ ! -f %{_gamesdir}/same-gnome.scores ]; then
612 touch %{_gamesdir}/same-gnome.scores
613 chown root:games %{_gamesdir}/same-gnome.scores
614 chmod 664 %{_gamesdir}/same-gnome.scores
615fi
616
e83112b2 617%preun same-gnome
1a744321 618%gconf_schema_uninstall same-gnome.schemas
e83112b2 619
f22e7290 620%postun same-gnome
1a744321 621%scrollkeeper_update_postun
201aff0c 622%update_icon_cache hicolor
cb24a834 623
624%post sol
1a744321 625%scrollkeeper_update_post
626%gconf_schema_install aisleriot.schemas
201aff0c 627%update_icon_cache hicolor
cb24a834 628
e83112b2 629%preun sol
1a744321 630%gconf_schema_uninstall aisleriot.schemas
e83112b2 631
f22e7290 632%postun sol
1a744321 633%scrollkeeper_update_postun
201aff0c 634%update_icon_cache hicolor
7f3383bc 635
3cf32ce7 636%files -f %{name}.lang
6bc1ab0e 637%defattr(644,root,root,755)
a24bc91b 638%doc AUTHORS ChangeLog NEWS README
6bfed4d9 639%attr(755,root,root) %{_bindir}/games-server.py
640%{_sysconfdir}/gconf/schemas/libgnomegames.schemas
3b7b0038
JB
641%dir %{_datadir}/%{name}
642%dir %{_omf_dest_dir}/%{name}
cb24a834 643%{_pixmapsdir}/gnome-games-common
3b7b0038 644%dir %{_pixmapsdir}/iagno
afe926dd 645%{_pixmapsdir}/iagno/classic.png
c8e45619 646
b86b58a4 647%files blackjack -f blackjack.lang
cb24a834 648%defattr(644,root,root,755)
32d840e0 649%attr(755,root,root) %{_bindir}/blackjack
cb24a834 650%{_sysconfdir}/gconf/schemas/blackjack.schemas
651%{_datadir}/blackjack
652%{_desktopdir}/blackjack.desktop
653%{_omf_dest_dir}/%{name}/blackjack-C.omf
654%{_pixmapsdir}/blackjack
9632a862 655%{_iconsdir}/hicolor/*/*/gnome-blackjack.png
cb24a834 656
b86b58a4 657%files gataxx -f gataxx.lang
cb24a834 658%defattr(644,root,root,755)
659%attr(755,root,root) %{_bindir}/gataxx
660%{_sysconfdir}/gconf/schemas/gataxx.schemas
923f5cfa 661%{_datadir}/%{name}/ataxx
cb24a834 662%{_desktopdir}/gataxx.desktop
663%{_omf_dest_dir}/%{name}/gataxx-C.omf
6b419bb7 664%{_iconsdir}/hicolor/*/*/gnome-ataxx.*
cb24a834 665
b86b58a4 666%files glines -f glines.lang
cb24a834 667%defattr(644,root,root,755)
2597fa95 668%attr(2755,root,games) %{_bindir}/glines
cb24a834 669%{_sysconfdir}/gconf/schemas/glines.schemas
670%{_desktopdir}/glines.desktop
671%{_omf_dest_dir}/%{name}/glines-C.omf
672%{_pixmapsdir}/glines
e1c0a3b4 673%{_iconsdir}/hicolor/*/*/gnome-five-or-more.png
cb24a834 674%attr(664,root,games) %ghost %{_localstatedir}/games/glines.*
cb24a834 675
b86b58a4 676%files gnect -f gnect.lang
cb24a834 677%defattr(644,root,root,755)
678%attr(755,root,games) %{_bindir}/gnect
679%{_sysconfdir}/gconf/schemas/gnect.schemas
cb24a834 680%{_datadir}/gnect
681%{_desktopdir}/gnect.desktop
682%{_omf_dest_dir}/%{name}/gnect-C.omf
683%{_pixmapsdir}/gnect
e1c0a3b4 684%{_iconsdir}/hicolor/*/*/gnome-four-in-a-row.png
cb24a834 685
b86b58a4 686%files gnibbles -f gnibbles.lang
cb24a834 687%defattr(644,root,root,755)
9a916e56 688%attr(2755,root,games) %{_bindir}/gnibbles
cb24a834 689%{_sysconfdir}/gconf/schemas/gnibbles.schemas
690%{_sysconfdir}/sound/events/gnibbles.soundlist
691%{_datadir}/gnibbles
692%{_datadir}/sounds/gnibbles
693%{_desktopdir}/gnibbles.desktop
694%{_omf_dest_dir}/%{name}/gnibbles-C.omf
695%{_pixmapsdir}/gnibbles
6b419bb7 696%{_iconsdir}/hicolor/*/*/gnome-nibbles.*
cb24a834 697%attr(664,root,games) %ghost %{_localstatedir}/games/gnibbles.*
cb24a834 698
b86b58a4 699%files gnobots2 -f gnobots2.lang
cb24a834 700%defattr(644,root,root,755)
9a916e56 701%attr(2755,root,games) %{_bindir}/gnobots2
cb24a834 702%{_sysconfdir}/gconf/schemas/gnobots2.schemas
703%{_sysconfdir}/sound/events/gnobots2.soundlist
704%{_datadir}/gnobots2
705%{_datadir}/sounds/gnobots2
706%{_desktopdir}/gnobots2.desktop
707%{_omf_dest_dir}/%{name}/gnobots2-C.omf
708%lang(da) %{_omf_dest_dir}/%{name}/gnobots2-da.omf
709%lang(es) %{_omf_dest_dir}/%{name}/gnobots2-es.omf
710%lang(it) %{_omf_dest_dir}/%{name}/gnobots2-it.omf
711%{_pixmapsdir}/gnobots2
e1c0a3b4 712%{_iconsdir}/hicolor/*/*/gnome-robots.*
cb24a834 713%attr(664,root,games) %ghost %{_localstatedir}/games/gnobots2.*
cb24a834 714
b86b58a4 715%files gnometris -f gnometris.lang
cb24a834 716%defattr(644,root,root,755)
2597fa95 717%attr(2755,root,games) %{_bindir}/gnometris
cb24a834 718%{_sysconfdir}/gconf/schemas/gnometris.schemas
719%{_desktopdir}/gnometris.desktop
720%{_omf_dest_dir}/%{name}/gnometris-C.omf
721%{_pixmapsdir}/gnometris
9632a862 722%{_iconsdir}/hicolor/*/*/gnome-gnometris.png
cb24a834 723%{_datadir}/sounds/gnometris
724%attr(664,root,games) %ghost %{_localstatedir}/games/gnometris.*
cb24a834 725
b86b58a4 726%files gnomine -f gnomine.lang
cb24a834 727%defattr(644,root,root,755)
2597fa95 728%attr(2755,root,games) %{_bindir}/gnomine
cb24a834 729%{_sysconfdir}/gconf/schemas/gnomine.schemas
730%{_desktopdir}/gnomine.desktop
731%{_omf_dest_dir}/%{name}/gnomine-C.omf
732%{_pixmapsdir}/gnomine
6b419bb7 733%{_iconsdir}/hicolor/*/*/gnome-gnomine.*
cb24a834 734%attr(664,root,games) %ghost %{_localstatedir}/games/gnomine.*
cb24a834 735
b86b58a4 736%files gnotravex -f gnotravex.lang
cb24a834 737%defattr(644,root,root,755)
2597fa95 738%attr(2755,root,games) %{_bindir}/gnotravex
cb24a834 739%{_sysconfdir}/gconf/schemas/gnotravex.schemas
740%{_desktopdir}/gnotravex.desktop
741%{_omf_dest_dir}/%{name}/gnotravex-C.omf
9632a862 742%{_iconsdir}/hicolor/*/*/gnome-tetravex.png
cb24a834 743%attr(664,root,games) %ghost %{_localstatedir}/games/gnotravex.*
cb24a834 744
b86b58a4 745%files gnotski -f gnotski.lang
cb24a834 746%defattr(644,root,root,755)
13ef6290 747%attr(2755,root,games) %{_bindir}/gnotski
6bfed4d9 748%{_sysconfdir}/gconf/schemas/gnotski.schemas
cb24a834 749%{_desktopdir}/gnotski.desktop
750%{_omf_dest_dir}/%{name}/gnotski-C.omf
6bfed4d9 751%{_pixmapsdir}/gnotski.svg
e1c0a3b4 752%{_iconsdir}/hicolor/*/*/gnome-klotski.png
cb24a834 753%attr(664,root,games) %ghost %{_localstatedir}/games/gnotski.*
cb24a834 754
b86b58a4 755%files gtali -f gtali.lang
cb24a834 756%defattr(644,root,root,755)
2597fa95 757%attr(2755,root,games) %{_bindir}/gtali
cb24a834 758%{_sysconfdir}/gconf/schemas/gtali.schemas
759%{_desktopdir}/gtali.desktop
760%{_omf_dest_dir}/%{name}/gtali-C.omf
761%lang(da) %{_omf_dest_dir}/%{name}/gtali-da.omf
762%{_pixmapsdir}/gtali
6b419bb7 763%{_iconsdir}/hicolor/*/*/gnome-tali.*
cb24a834 764%attr(664,root,games) %ghost %{_localstatedir}/games/gtali.*
cb24a834 765
b86b58a4 766%files iagno -f iagno.lang
cb24a834 767%defattr(644,root,root,755)
768%attr(755,root,root) %{_bindir}/iagno
769%{_sysconfdir}/gconf/schemas/iagno.schemas
770%{_sysconfdir}/sound/events/iagno.soundlist
771%{_datadir}/sounds/iagno
772%{_desktopdir}/iagno.desktop
773%{_omf_dest_dir}/%{name}/iagno-C.omf
6b419bb7 774%{_iconsdir}/hicolor/*/*/gnome-iagno.*
9632a862 775%{_pixmapsdir}/iagno/woodtrim.png
cb24a834 776
b86b58a4 777%files mahjongg -f mahjongg.lang
cb24a834 778%defattr(644,root,root,755)
2597fa95 779%attr(2755,root,games) %{_bindir}/mahjongg
cb24a834 780%{_sysconfdir}/gconf/schemas/mahjongg.schemas
781%{_desktopdir}/mahjongg.desktop
782%{_omf_dest_dir}/%{name}/mahjongg-C.omf
783%{_pixmapsdir}/mahjongg
9632a862 784%{_iconsdir}/hicolor/*/*/gnome-mahjongg.png
6bfed4d9 785%{_datadir}/%{name}/mahjongg
cb24a834 786%attr(664,root,games) %ghost %{_localstatedir}/games/mahjongg.*
cb24a834 787
b86b58a4 788%files same-gnome -f same-gnome.lang
6bc1ab0e 789%defattr(644,root,root,755)
cb24a834 790%attr(2755,root,games) %{_bindir}/same-gnome
791%{_sysconfdir}/gconf/schemas/same-gnome.schemas
792%{_desktopdir}/same-gnome.desktop
793%{_omf_dest_dir}/%{name}/same-gnome-C.omf
6bfed4d9 794%{_datadir}/%{name}/same-gnome
9632a862 795%{_iconsdir}/hicolor/*/*/gnome-same-gnome.png
cb24a834 796%attr(664,root,games) %ghost %{_localstatedir}/games/same-gnome.*
cb24a834 797
b86b58a4 798%files sol -f aisleriot.lang
341d99f9 799%defattr(644,root,root,755)
cb24a834 800%attr(755,root,games) %{_bindir}/sol
801%{_sysconfdir}/gconf/schemas/aisleriot.schemas
802%{_datadir}/sol-games
803%{_desktopdir}/freecell.desktop
804%{_desktopdir}/sol.desktop
805%{_omf_dest_dir}/%{name}/aisleriot-C.omf
6bfed4d9 806%lang(fr) %{_omf_dest_dir}/%{name}/aisleriot-fr.omf
cb24a834 807%{_pixmapsdir}/cards
9632a862 808%{_iconsdir}/hicolor/*/*/gnome-aisleriot.png
e1c0a3b4 809%{_iconsdir}/hicolor/*/*/gnome-freecell.png
This page took 0.299734 seconds and 4 git commands to generate.