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