]> git.pld-linux.org Git - packages/gnome-games.git/blame - gnome-games.spec
- x32 rebuild
[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
e4e79c99 9Version: 3.6.1
c198a08e 10Release: 2
8b8bf796 11Epoch: 1
341d99f9 12License: LGPL
22fa9ef6 13Group: X11/Applications/Games
a8f407c0 14Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-games/3.6/%{name}-%{version}.tar.xz
e4e79c99 15# Source0-md5: 4f57151eefcb5de4349c2b5f570eff64
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
4bf2fee0 24BuildRequires: gettext-tools
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
f9d19920
MB
379%py_postclean
380
f3308006
MB
381%find_lang %{name}
382%find_lang gnect --with-gnome
383%find_lang gnomine --with-gnome
384%find_lang swell-foop --with-gnome
a8f407c0 385%find_lang gnome-mahjongg --with-gnome
f3308006
MB
386%find_lang glchess --with-gnome
387%find_lang gtali --with-gnome
388%find_lang gnome-sudoku --with-gnome
389%find_lang gnotravex --with-gnome
390%find_lang gnotski --with-gnome
391%find_lang glines --with-gnome
392%find_lang iagno --with-gnome
393%find_lang gnobots2 --with-gnome
394%find_lang gnibbles --with-gnome
395%find_lang quadrapassel --with-gnome
396%find_lang lightsoff --with-gnome
1fe95821 397
0add80e9
JB
398%clean
399rm -rf $RPM_BUILD_ROOT
400
d98e0888
MB
401%post
402%glib_compile_schemas
f3308006 403%update_icon_cache hicolor
d98e0888
MB
404
405%postun
406%glib_compile_schemas
f3308006 407%update_icon_cache hicolor
d98e0888 408
f9d19920 409%post glchess
d98e0888 410%update_icon_cache hicolor
f9d19920 411%update_desktop_database_post
d98e0888 412%glib_compile_schemas
e83112b2 413
f9d19920 414%postun glchess
d98e0888 415%update_icon_cache hicolor
f9d19920 416%update_desktop_database_postun
d98e0888 417%glib_compile_schemas
cb24a834 418
419%post glines
201aff0c 420%update_icon_cache hicolor
0c2cb79f 421%glib_compile_schemas
cb24a834 422
423if [ ! -f %{_gamesdir}/glines.scores ]; then
424 touch %{_gamesdir}/glines.scores
425 chown root:games %{_gamesdir}/glines.scores
426 chmod 664 %{_gamesdir}/glines.scores
427fi
428
f22e7290 429%postun glines
201aff0c 430%update_icon_cache hicolor
0c2cb79f 431%glib_compile_schemas
cb24a834 432
433%post gnect
201aff0c 434%update_icon_cache hicolor
f3308006 435%glib_compile_schemas
e83112b2 436
f22e7290 437%postun gnect
201aff0c 438%update_icon_cache hicolor
f3308006 439%glib_compile_schemas
cb24a834 440
441%post gnibbles
201aff0c 442%update_icon_cache hicolor
f3308006 443%glib_compile_schemas
cb24a834 444
445for i in gnibbles.1.0 gnibbles.1.1 gnibbles.2.0 gnibbles.2.1 gnibbles.3.0 \
446 gnibbles.3.1 gnibbles.4.0 gnibbles.4.1; do
447 if [ ! -f %{_gamesdir}/$i.scores ]; then
448 touch %{_gamesdir}/$i.scores
449 chown root:games %{_gamesdir}/$i.scores
450 chmod 664 %{_gamesdir}/$i.scores
451 fi
452done
453
f22e7290 454%postun gnibbles
201aff0c 455%update_icon_cache hicolor
f3308006 456%glib_compile_schemas
cb24a834 457
458%post gnobots2
f3308006 459%glib_compile_schemas
201aff0c 460%update_icon_cache hicolor
bb994225 461
cb24a834 462for i in gnobots2.classic_robots-safe gnobots2.classic_robots \
463 gnobots2.classic_robots-super-safe gnobots2.nightmare-safe \
464 gnobots2.nightmare gnobots2.nightmare-super-safe \
465 gnobots2.robots2_easy-safe gnobots2.robots2_easy \
466 gnobots2.robots2_easy-super-safe gnobots2.robots2-safe \
467 gnobots2.robots2 gnobots2.robots2-super-safe \
e62b95e6 468 gnobots2.robots_with_safe_teleport-safe \
cb24a834 469 gnobots2.robots_with_safe_teleport \
470 gnobots2.robots_with_safe_teleport-super-safe; do
9a916e56 471 if [ ! -f %{_gamesdir}/$i.scores ]; then
472 touch %{_gamesdir}/$i.scores
473 chown root:games %{_gamesdir}/$i.scores
474 chmod 664 %{_gamesdir}/$i.scores
475 fi
476done
477
f22e7290 478%postun gnobots2
f3308006 479%glib_compile_schemas
201aff0c 480%update_icon_cache hicolor
cb24a834 481
cb24a834 482%post gnomine
0c2cb79f 483%glib_compile_schemas
201aff0c 484%update_icon_cache hicolor
cb24a834 485
486for i in gnomine.Custom gnomine.Large gnomine.Medium gnomine.Small; do
487 if [ ! -f %{_gamesdir}/$i.scores ]; then
488 touch %{_gamesdir}/$i.scores
489 chown root:games %{_gamesdir}/$i.scores
490 chmod 664 %{_gamesdir}/$i.scores
491 fi
492done
493
f22e7290 494%postun gnomine
201aff0c 495%update_icon_cache hicolor
0c2cb79f 496%glib_compile_schemas
cb24a834 497
498%post gnotravex
0c2cb79f 499%glib_compile_schemas
201aff0c 500%update_icon_cache hicolor
cb24a834 501
502for i in gnotravex.2x2 gnotravex.3x3 gnotravex.4x4 gnotravex.5x5 \
503 gnotravex.6x6; do
504 if [ ! -f %{_gamesdir}/$i.scores ]; then
505 touch %{_gamesdir}/$i.scores
506 chown root:games %{_gamesdir}/$i.scores
507 chmod 664 %{_gamesdir}/$i.scores
508 fi
509done
510
f22e7290 511%postun gnotravex
201aff0c 512%update_icon_cache hicolor
0c2cb79f 513%glib_compile_schemas
cb24a834 514
515%post gnotski
f3308006 516%glib_compile_schemas
201aff0c 517%update_icon_cache hicolor
cb24a834 518
519for i in 1 2 3 4 5 6 7 11 12 13 14 15 16 17 21 22 23 24 25 26; do
520 if [ ! -f %{_gamesdir}/gnotski.$i.scores ]; then
521 touch %{_gamesdir}/gnotski.$i.scores
522 chown root:games %{_gamesdir}/gnotski.$i.scores
523 chmod 664 %{_gamesdir}/gnotski.$i.scores
524 fi
525done
526
f22e7290 527%postun gnotski
f3308006 528%glib_compile_schemas
201aff0c 529%update_icon_cache hicolor
cb24a834 530
531%post gtali
f3308006 532%glib_compile_schemas
201aff0c 533%update_icon_cache hicolor
cb24a834 534
535if [ ! -f %{_gamesdir}/gtali.scores ]; then
536 touch %{_gamesdir}/gtali.scores
537 chown root:games %{_gamesdir}/gtali.scores
538 chmod 664 %{_gamesdir}/gtali.scores
539fi
540
f22e7290 541%postun gtali
f3308006 542%glib_compile_schemas
201aff0c 543%update_icon_cache hicolor
cb24a834 544
545%post iagno
0c2cb79f 546%glib_compile_schemas
201aff0c 547%update_icon_cache hicolor
cb24a834 548
f22e7290 549%postun iagno
201aff0c 550%update_icon_cache hicolor
0c2cb79f 551%glib_compile_schemas
cb24a834 552
a4387c20 553%post lightsoff
a4387c20 554%update_icon_cache hicolor
f3308006 555%glib_compile_schemas
a4387c20
MB
556
557%postun lightsoff
a4387c20 558%update_icon_cache hicolor
f3308006 559%glib_compile_schemas
a4387c20 560
cb24a834 561%post mahjongg
0c2cb79f 562%glib_compile_schemas
201aff0c 563%update_icon_cache hicolor
cb24a834 564
565for i in mahjongg.bridges mahjongg.cloud mahjongg.confounding \
566 mahjongg.difficult mahjongg.dragon mahjongg.easy \
567 mahjongg.pyramid mahjongg.tictactoe mahjongg.ziggurat; do
a8f407c0
MB
568 if [ -f %{_gamesdir}/$i.scores ]; then
569 mv %{_gamesdir}/$i.scores %{_gamesdir}/gnome-$i.scores
570 elif [ ! -f %{_gamesdir}/gnome-$i.scores ]; then
571 touch %{_gamesdir}/gnome-$i.scores
572 chown root:games %{_gamesdir}/gnome-$i.scores
573 chmod 664 %{_gamesdir}/gnome-$i.scores
cb24a834 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
cb24a834 622
f9d19920 623%files glchess -f glchess.lang
cb24a834 624%defattr(644,root,root,755)
f9d19920 625%attr(755,root,root) %{_bindir}/glchess
f9d19920
MB
626%{_desktopdir}/glchess.desktop
627%{_datadir}/glchess
d98e0888 628%{_datadir}/glib-2.0/schemas/org.gnome.glchess.gschema.xml
f3308006 629%{_iconsdir}/hicolor/*/*/glchess.*
a8b0c821 630%{_mandir}/man6/glchess.6*
cb24a834 631
b86b58a4 632%files glines -f glines.lang
cb24a834 633%defattr(644,root,root,755)
2597fa95 634%attr(2755,root,games) %{_bindir}/glines
f3308006 635%{_datadir}/glines
0c2cb79f 636%{_datadir}/glib-2.0/schemas/org.gnome.glines.gschema.xml
cb24a834 637%{_desktopdir}/glines.desktop
f3308006
MB
638%{_iconsdir}/hicolor/*/*/glines.*
639%attr(664,root,games) %ghost %{_gamesdir}/glines.*
a8b0c821 640%{_mandir}/man6/glines.6*
cb24a834 641
b86b58a4 642%files gnect -f gnect.lang
cb24a834 643%defattr(644,root,root,755)
644%attr(755,root,games) %{_bindir}/gnect
f3308006
MB
645%{_datadir}/gnect
646%{_datadir}/glib-2.0/schemas/org.gnome.gnect.gschema.xml
cb24a834 647%{_desktopdir}/gnect.desktop
f3308006 648%{_iconsdir}/hicolor/*/*/gnect.*
a8b0c821 649%{_mandir}/man6/gnect.6*
cb24a834 650
b86b58a4 651%files gnibbles -f gnibbles.lang
cb24a834 652%defattr(644,root,root,755)
9a916e56 653%attr(2755,root,games) %{_bindir}/gnibbles
f3308006
MB
654%{_datadir}/gnibbles
655%{_datadir}/glib-2.0/schemas/org.gnome.gnibbles.gschema.xml
cb24a834 656%{_desktopdir}/gnibbles.desktop
f3308006
MB
657%{_iconsdir}/hicolor/*/*/gnibbles.*
658%attr(664,root,games) %ghost %{_gamesdir}/gnibbles.*
a8b0c821 659%{_mandir}/man6/gnibbles.6*
cb24a834 660
b86b58a4 661%files gnobots2 -f gnobots2.lang
cb24a834 662%defattr(644,root,root,755)
9a916e56 663%attr(2755,root,games) %{_bindir}/gnobots2
f3308006
MB
664%{_datadir}/gnobots2
665%{_datadir}/glib-2.0/schemas/org.gnome.gnobots2.gschema.xml
cb24a834 666%{_desktopdir}/gnobots2.desktop
f3308006 667%{_iconsdir}/hicolor/*/*/gnobots2.*
a8f407c0
MB
668%{_iconsdir}/hicolor/24x24/actions/teleport-random.png
669%{_iconsdir}/hicolor/24x24/actions/teleport.png
f3308006 670%attr(664,root,games) %ghost %{_gamesdir}/gnobots2.*
a8b0c821 671%{_mandir}/man6/gnobots2.6*
cb24a834 672
b86b58a4 673%files gnomine -f gnomine.lang
cb24a834 674%defattr(644,root,root,755)
2597fa95 675%attr(2755,root,games) %{_bindir}/gnomine
f3308006 676%{_datadir}/gnomine
0c2cb79f 677%{_datadir}/glib-2.0/schemas/org.gnome.gnomine.gschema.xml
cb24a834 678%{_desktopdir}/gnomine.desktop
d98e0888 679%{_iconsdir}/hicolor/*/*/gnomine.*
f3308006 680%attr(664,root,games) %ghost %{_gamesdir}/gnomine.*
a8b0c821 681%{_mandir}/man6/gnomine.6*
cb24a834 682
b86b58a4 683%files gnotravex -f gnotravex.lang
cb24a834 684%defattr(644,root,root,755)
2597fa95 685%attr(2755,root,games) %{_bindir}/gnotravex
0c2cb79f 686%{_datadir}/glib-2.0/schemas/org.gnome.gnotravex.gschema.xml
cb24a834 687%{_desktopdir}/gnotravex.desktop
f3308006
MB
688%{_datadir}/gnotravex
689%{_iconsdir}/hicolor/*/*/gnotravex.*
690%attr(664,root,games) %ghost %{_gamesdir}/gnotravex.*
a8b0c821 691%{_mandir}/man6/gnotravex.6*
cb24a834 692
b86b58a4 693%files gnotski -f gnotski.lang
cb24a834 694%defattr(644,root,root,755)
13ef6290 695%attr(2755,root,games) %{_bindir}/gnotski
cb24a834 696%{_desktopdir}/gnotski.desktop
f3308006
MB
697%{_datadir}/gnotski
698%{_datadir}/glib-2.0/schemas/org.gnome.gnotski.gschema.xml
699%{_iconsdir}/hicolor/*/*/gnotski.*
700%attr(664,root,games) %ghost %{_gamesdir}/gnotski.*
a8b0c821 701%{_mandir}/man6/gnotski.6*
cb24a834 702
b86b58a4 703%files gtali -f gtali.lang
cb24a834 704%defattr(644,root,root,755)
2597fa95 705%attr(2755,root,games) %{_bindir}/gtali
f3308006
MB
706%{_datadir}/gtali
707%{_datadir}/glib-2.0/schemas/org.gnome.gtali.gschema.xml
cb24a834 708%{_desktopdir}/gtali.desktop
f3308006
MB
709%{_iconsdir}/hicolor/*/*/gtali.*
710%attr(664,root,games) %ghost %{_gamesdir}/gtali.*
a8b0c821 711%{_mandir}/man6/gtali.6*
cb24a834 712
b86b58a4 713%files iagno -f iagno.lang
cb24a834 714%defattr(644,root,root,755)
715%attr(755,root,root) %{_bindir}/iagno
f3308006 716%{_datadir}/iagno
0c2cb79f 717%{_datadir}/glib-2.0/schemas/org.gnome.iagno.gschema.xml
cb24a834 718%{_desktopdir}/iagno.desktop
f3308006 719%{_iconsdir}/hicolor/*/*/iagno.*
a8b0c821 720%{_mandir}/man6/iagno.6*
cb24a834 721
a4387c20
MB
722%files lightsoff -f lightsoff.lang
723%defattr(644,root,root,755)
724%attr(755,root,games) %{_bindir}/lightsoff
f3308006
MB
725%{_datadir}/lightsoff
726%{_datadir}/glib-2.0/schemas/org.gnome.lightsoff.gschema.xml
a4387c20 727%{_desktopdir}/lightsoff.desktop
f3308006 728%{_iconsdir}/hicolor/*/*/lightsoff.*
a4387c20 729
a8f407c0 730%files mahjongg -f gnome-mahjongg.lang
cb24a834 731%defattr(644,root,root,755)
a8f407c0
MB
732%attr(2755,root,games) %{_bindir}/gnome-mahjongg
733%{_datadir}/glib-2.0/schemas/org.gnome.gnome-mahjongg.gschema.xml
734%{_desktopdir}/gnome-mahjongg.desktop
735%{_iconsdir}/hicolor/*/*/gnome-mahjongg.*
736%{_datadir}/gnome-mahjongg
737%attr(664,root,games) %ghost %{_gamesdir}/gnome-mahjongg.*
738%{_mandir}/man6/gnome-mahjongg.6*
cb24a834 739
a4387c20 740%files quadrapassel -f quadrapassel.lang
6bc1ab0e 741%defattr(644,root,root,755)
a4387c20 742%attr(2755,root,games) %{_bindir}/quadrapassel
f3308006
MB
743%{_datadir}/quadrapassel
744%{_datadir}/glib-2.0/schemas/org.gnome.quadrapassel.gschema.xml
a4387c20 745%{_desktopdir}/quadrapassel.desktop
f3308006
MB
746%{_iconsdir}/hicolor/*/*/quadrapassel.*
747%attr(664,root,games) %ghost %{_gamesdir}/quadrapassel.*
a4387c20 748%{_mandir}/man6/quadrapassel.6*
cb24a834 749
f9d19920
MB
750%files sudoku -f gnome-sudoku.lang
751%defattr(644,root,root,755)
752%attr(755,root,root) %{_bindir}/gnome-sudoku
753%{_desktopdir}/gnome-sudoku.desktop
754%dir %{py_sitescriptdir}/gnome_sudoku
755%{py_sitescriptdir}/gnome_sudoku/*.py[co]
756%dir %{py_sitescriptdir}/gnome_sudoku/gtk_goodies
757%{py_sitescriptdir}/gnome_sudoku/gtk_goodies/*.py[co]
758%{_datadir}/gnome-sudoku
f3308006 759%{_datadir}/glib-2.0/schemas/org.gnome.gnome-sudoku.gschema.xml
e191969f 760%{_iconsdir}/hicolor/*/*/gnome-sudoku.*
a8b0c821 761%{_mandir}/man6/gnome-sudoku.6*
67946874 762
a4387c20 763%files swell-foop -f swell-foop.lang
67946874 764%defattr(644,root,root,755)
a4387c20 765%attr(755,root,games) %{_bindir}/swell-foop
a4387c20 766%{_desktopdir}/swell-foop.desktop
a8f407c0 767%{_datadir}/swell-foop
f3308006
MB
768%{_datadir}/glib-2.0/schemas/org.gnome.swell-foop.gschema.xml
769%{_iconsdir}/hicolor/*/*/swell-foop.*
770%attr(664,root,games) %ghost %{_gamesdir}/swell-foop.*
This page took 0.197333 seconds and 4 git commands to generate.