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