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