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