]>
Commit | Line | Data |
---|---|---|
1fe95821 | 1 | Summary: GNOME games |
80e8e7f5 ER |
2 | Summary(es.UTF-8): Juegos de GNOME |
3 | Summary(fr.UTF-8): Jeux pour GNOME | |
4 | Summary(pl.UTF-8): GNOME - gry | |
5 | Summary(ru.UTF-8): Игры под GNOME | |
6 | Summary(uk.UTF-8): Ігри під GNOME | |
7 | Summary(wa.UTF-8): Djeus po GNOME | |
1fe95821 | 8 | Name: gnome-games |
e4e79c99 | 9 | Version: 3.6.1 |
c198a08e | 10 | Release: 2 |
8b8bf796 | 11 | Epoch: 1 |
341d99f9 | 12 | License: LGPL |
22fa9ef6 | 13 | Group: X11/Applications/Games |
a8f407c0 | 14 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-games/3.6/%{name}-%{version}.tar.xz |
e4e79c99 | 15 | # Source0-md5: 4f57151eefcb5de4349c2b5f570eff64 |
2acc7a2d | 16 | URL: http://live.gnome.org/GnomeGames |
d98e0888 | 17 | BuildRequires: OpenGL-GLU-devel |
cb24a834 | 18 | BuildRequires: autoconf >= 2.53 |
0c2cb79f | 19 | BuildRequires: automake >= 1:1.11 |
f3308006 | 20 | BuildRequires: cairo-devel >= 1.10.0 |
a8b0c821 | 21 | BuildRequires: clutter-devel >= 1.0.0 |
d98e0888 | 22 | BuildRequires: clutter-gtk-devel >= 1.0.0 |
a438c923 | 23 | BuildRequires: docbook-dtd412-xml |
4bf2fee0 | 24 | BuildRequires: gettext-tools |
d98e0888 | 25 | BuildRequires: glib2-devel >= 1:2.26.0 |
27139cab | 26 | BuildRequires: glibc-misc |
33bc4a71 MB |
27 | BuildRequires: gnome-common >= 2.24.0 |
28 | BuildRequires: gnome-doc-utils >= 0.14.0 | |
d98e0888 | 29 | BuildRequires: gobject-introspection-devel >= 0.10.0 |
f3308006 | 30 | BuildRequires: gtk+3-devel >= 3.4.0 |
2acc7a2d | 31 | BuildRequires: intltool >= 0.40.4 |
d98e0888 MB |
32 | BuildRequires: libcanberra-gtk3-devel >= 0.26 |
33 | BuildRequires: librsvg-devel >= 1:2.32.0 | |
6092a75f | 34 | BuildRequires: libstdc++-devel |
704d6f59 | 35 | BuildRequires: libtool |
e191969f | 36 | BuildRequires: pkgconfig >= 1:0.15 |
26aa3d6e | 37 | BuildRequires: python-devel >= 1:2.4 |
0c2cb79f | 38 | BuildRequires: python-pygobject3-devel >= 3.0.0 |
a438c923 | 39 | BuildRequires: rpm-pythonprov |
26aa3d6e | 40 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
201aff0c | 41 | BuildRequires: rpmbuild(macros) >= 1.311 |
cd1ac38a | 42 | BuildRequires: scrollkeeper >= 0.3.8 |
d98e0888 | 43 | BuildRequires: sqlite3-devel |
0c2cb79f | 44 | BuildRequires: tar >= 1:1.22 |
f3308006 | 45 | BuildRequires: vala >= 2:0.15.1 |
2acc7a2d | 46 | BuildRequires: xorg-lib-libSM-devel |
27139cab | 47 | BuildRequires: xorg-proto-glproto-devel |
0c2cb79f | 48 | BuildRequires: xz |
f3308006 | 49 | BuildRequires: yelp-tools |
faf554c0 | 50 | Requires(post,postun): gtk-update-icon-cache |
d98e0888 MB |
51 | Requires(post,postun): glib2 >= 1:2.26.0 |
52 | Requires: hicolor-icon-theme | |
53 | Requires: librsvg >= 1:2.32.0 | |
4fd78e1f | 54 | Obsoletes: gnect |
617bfb5a | 55 | Obsoletes: gnome |
a4387c20 | 56 | Obsoletes: gnome-games-blackjack |
cb24a834 | 57 | Obsoletes: gnome-games-devel |
f9d19920 | 58 | Obsoletes: gnome-games-gataxx |
a4387c20 | 59 | Obsoletes: gnome-games-servers |
96ccf482 | 60 | Obsoletes: gnome-games-static |
923f5cfa | 61 | Obsoletes: gnome-games-stones |
e5eb71cd | 62 | # sr@Latn vs. sr@latin |
63 | Conflicts: glibc-misc < 6:2.7 | |
617bfb5a | 64 | BuildRoot: %{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 | 70 | Gnome-games is a collection of simple, but addictive, games from the |
71 | GNOME desktop project. They represent many of the popular games and | |
72 | include card games, puzzle games and arcade games. | |
7f3383bc | 73 | |
829f10ae JR |
74 | %description -l pl.UTF-8 |
75 | Gnome-games jest kolekcją prostych, choć uzależniających gier projektu | |
76 | GNOME. Są wśród nich reprezentanci wielu popularnych gier, wliczając | |
77 | karciane, 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 | 82 | gnome-stones, gnomine, gnotravex, gtali, gturing, iagno, mahjongg, |
829f10ae | 83 | same-gnome та sol. |
77818e62 | 84 | |
829f10ae JR |
85 | %description -l ru.UTF-8 |
86 | Пакет gnome-games включает игры для среды рабочего стола GNOME, среди | |
87 | которых GnomeScott, freecell, gnibbles, gnobots, gnobots2, | |
77818e62 | 88 | gnome-stones, gnomine, gnotravex, gtali, gturing, iagno, mahjongg, |
829f10ae | 89 | same-gnome и sol. |
77818e62 | 90 | |
f9d19920 MB |
91 | %package glchess |
92 | Summary: GNOME glChess - a 2D/3D chess interface | |
2322bc2c | 93 | Summary(pl.UTF-8): GNOME glChess - dwu i trójwymiarowy interfejs do szachów |
cb24a834 | 94 | Group: X11/Applications/Games |
f9d19920 | 95 | Requires(post,postun): desktop-file-utils |
d98e0888 | 96 | Requires(post,postun): gtk-update-icon-cache |
d98e0888 | 97 | Requires(post,postun): glib2 >= 1:2.26.0 |
cb24a834 | 98 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d98e0888 | 99 | Requires: hicolor-icon-theme |
15a0bce9 PG |
100 | Suggests: crafty |
101 | Suggests: gnuchess | |
f9d19920 | 102 | Obsoletes: glchess |
7f3383bc | 103 | |
f9d19920 MB |
104 | %description glchess |
105 | glChess is a 2D/3D chess game interfacing via the Chess Engine | |
106 | Communication Protocol (CECP) by Tim Mann. This means it can currently | |
107 | use engines such as GNUChess, Sjeng, Faile, Amy, Crafty and Phalanx. | |
0624d8ae | 108 | |
2322bc2c | 109 | %description glchess -l pl.UTF-8 |
67946874 PZ |
110 | glChess to dwu i trójwymiarowa gra w szachy komunikująca się za pomocą |
111 | protokołu CECP (Chess Engine Communication Protocol) Tima Manna. | |
112 | Oznacza to, że aktualnie może używać silników takich jak GNUChess, | |
113 | Sjeng, Faile, Amy, Crafty i Phalanx. | |
2322bc2c | 114 | |
cb24a834 | 115 | %package glines |
116 | Summary: Five or more game | |
80e8e7f5 | 117 | Summary(pl.UTF-8): Gra "Pięć albo więcej" |
cb24a834 | 118 | Group: X11/Applications/Games |
cb24a834 | 119 | Requires(post): coreutils |
d98e0888 | 120 | Requires(post,postun): gtk-update-icon-cache |
0c2cb79f | 121 | Requires(post,postun): glib2 >= 1:2.26.0 |
cb24a834 | 122 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d98e0888 | 123 | Requires: hicolor-icon-theme |
77818e62 | 124 | |
cb24a834 | 125 | %description glines |
126 | Remove colored balls from the board by forming lines. | |
77818e62 | 127 | |
829f10ae | 128 | %description glines -l pl.UTF-8 |
5c0200ee | 129 | Gra polegająca na usuwaniu kolorowych kul poprzez układanie ich w |
cb24a834 | 130 | linie. |
7f3383bc | 131 | |
cb24a834 | 132 | %package gnect |
133 | Summary: Four-in-a-row game | |
80e8e7f5 | 134 | Summary(pl.UTF-8): Gra "Cztery w rzędzie" |
cb24a834 | 135 | Group: X11/Applications/Games |
d98e0888 | 136 | Requires(post,postun): gtk-update-icon-cache |
f3308006 | 137 | Requires(post,postun): glib2 >= 1:2.26.0 |
cb24a834 | 138 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d98e0888 | 139 | Requires: hicolor-icon-theme |
cb24a834 | 140 | |
141 | %description gnect | |
142 | Compete to make lines of the same color. | |
143 | ||
829f10ae | 144 | %description gnect -l pl.UTF-8 |
5c0200ee | 145 | Gra, której celem jest utworzenie linii w jednym kolorze. |
cb24a834 | 146 | |
147 | %package gnibbles | |
148 | Summary: GNOME Nibbles | |
80e8e7f5 | 149 | Summary(pl.UTF-8): Nibbles dla GNOME |
cb24a834 | 150 | Group: X11/Applications/Games |
cb24a834 | 151 | Requires(post): coreutils |
d98e0888 | 152 | Requires(post,postun): gtk-update-icon-cache |
f3308006 | 153 | Requires(post,postun): glib2 >= 1:2.26.0 |
cb24a834 | 154 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d98e0888 | 155 | Requires: hicolor-icon-theme |
cb24a834 | 156 | |
157 | %description gnibbles | |
158 | Guide a worm around a maze. | |
159 | ||
829f10ae JR |
160 | %description gnibbles -l pl.UTF-8 |
161 | Gra polegająca na przeprowadzeniu robaka przez labirynt. | |
cb24a834 | 162 | |
163 | %package gnobots2 | |
164 | Summary: GNOME Robots | |
80e8e7f5 | 165 | Summary(pl.UTF-8): Robots dla GNOME |
cb24a834 | 166 | Group: X11/Applications/Games |
cb24a834 | 167 | Requires(post): coreutils |
d98e0888 | 168 | Requires(post,postun): gtk-update-icon-cache |
f3308006 | 169 | Requires(post,postun): glib2 >= 1:2.26.0 |
cb24a834 | 170 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d98e0888 | 171 | Requires: hicolor-icon-theme |
7f3383bc | 172 | |
cb24a834 | 173 | %description gnobots2 |
174 | Avoid the robots and make them crash into each other. | |
175 | ||
829f10ae JR |
176 | %description gnobots2 -l pl.UTF-8 |
177 | Gra polegająca na zapobieganiu zderzeniom robotów. | |
cb24a834 | 178 | |
cb24a834 | 179 | %package gnomine |
180 | Summary: GNOME Mines | |
80e8e7f5 | 181 | Summary(pl.UTF-8): Miny dla GNOME |
cb24a834 | 182 | Group: X11/Applications/Games |
cb24a834 | 183 | Requires(post): coreutils |
d98e0888 | 184 | Requires(post,postun): gtk-update-icon-cache |
0c2cb79f | 185 | Requires(post,postun): glib2 >= 1:2.26.0 |
cb24a834 | 186 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d98e0888 | 187 | Requires: hicolor-icon-theme |
cb24a834 | 188 | |
189 | %description gnomine | |
190 | Clear mines from a minefield. | |
191 | ||
829f10ae JR |
192 | %description gnomine -l pl.UTF-8 |
193 | Gra, której celem jest rozminowanie pola minowego. | |
cb24a834 | 194 | |
195 | %package gnotravex | |
196 | Summary: GNOME Tetravex | |
80e8e7f5 | 197 | Summary(pl.UTF-8): Tetravex dla GNOME |
cb24a834 | 198 | Group: X11/Applications/Games |
cb24a834 | 199 | Requires(post): coreutils |
d98e0888 | 200 | Requires(post,postun): gtk-update-icon-cache |
0c2cb79f | 201 | Requires(post,postun): glib2 >= 1:2.26.0 |
cb24a834 | 202 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d98e0888 | 203 | Requires: hicolor-icon-theme |
cb24a834 | 204 | |
205 | %description gnotravex | |
206 | Puzzle game. | |
207 | ||
829f10ae JR |
208 | %description gnotravex -l pl.UTF-8 |
209 | Układanka. | |
cb24a834 | 210 | |
211 | %package gnotski | |
212 | Summary: Gnome Klotski | |
80e8e7f5 | 213 | Summary(pl.UTF-8): Klotski dla GNOME |
cb24a834 | 214 | Group: X11/Applications/Games |
215 | Requires(post): coreutils | |
d98e0888 | 216 | Requires(post,postun): gtk-update-icon-cache |
f3308006 | 217 | Requires(post,postun): glib2 >= 1:2.26.0 |
cb24a834 | 218 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d98e0888 | 219 | Requires: hicolor-icon-theme |
cb24a834 | 220 | |
221 | %description gnotski | |
222 | Clone of the Klotski game. The objective is to move the patterned | |
223 | block to the area bordered by green markers. | |
224 | ||
829f10ae | 225 | %description gnotski -l pl.UTF-8 |
f9d19920 MB |
226 | Klon gry Klotski. Celem gry jest przesunięcie zaznaczonego klocka w |
227 | pole ograniczone zielonymi znacznikami. | |
cb24a834 | 228 | |
229 | %package gtali | |
230 | Summary: GNOME Tali | |
80e8e7f5 | 231 | Summary(pl.UTF-8): Tali dla GNOME |
cb24a834 | 232 | Group: X11/Applications/Games |
cb24a834 | 233 | Requires(post): coreutils |
d98e0888 | 234 | Requires(post,postun): gtk-update-icon-cache |
f3308006 | 235 | Requires(post,postun): glib2 >= 1:2.26.0 |
cb24a834 | 236 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d98e0888 | 237 | Requires: hicolor-icon-theme |
cb24a834 | 238 | |
239 | %description gtali | |
240 | Poker-style dice game. | |
241 | ||
829f10ae JR |
242 | %description gtali -l pl.UTF-8 |
243 | Gra w kości w pokerowym stylu. | |
cb24a834 | 244 | |
245 | %package iagno | |
246 | Summary: GNOME Iagno | |
80e8e7f5 | 247 | Summary(pl.UTF-8): Iagno dla GNOME |
cb24a834 | 248 | Group: X11/Applications/Games |
d98e0888 | 249 | Requires(post,postun): gtk-update-icon-cache |
0c2cb79f | 250 | Requires(post,postun): glib2 >= 1:2.26.0 |
cb24a834 | 251 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d98e0888 | 252 | Requires: hicolor-icon-theme |
cb24a834 | 253 | |
254 | %description iagno | |
255 | Reversi like game. | |
256 | ||
829f10ae | 257 | %description iagno -l pl.UTF-8 |
cb24a834 | 258 | Gra podobna do Reversi. |
259 | ||
a4387c20 MB |
260 | %package lightsoff |
261 | Summary: Lights Off | |
5c0200ee | 262 | Summary(pl.UTF-8): Gra Lights Off dla GNOME |
a4387c20 | 263 | Group: X11/Applications/Games |
d98e0888 | 264 | Requires(post,postun): gtk-update-icon-cache |
f3308006 | 265 | Requires(post,postun): glib2 >= 1:2.26.0 |
a4387c20 | 266 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d98e0888 | 267 | Requires: hicolor-icon-theme |
a4387c20 MB |
268 | |
269 | %description lightsoff | |
270 | Lights Off is a puzzle game, where the objective is to turn off all of | |
271 | the tiles on the board. Each click toggles the state of the clicked | |
272 | tile and its non-diagonal neighbors. | |
273 | ||
5c0200ee JB |
274 | %description lightsoff -l pl.UTF-8 |
275 | Lights Off to układanka, której celem jest zgaszenie wszystkich pól na | |
276 | planszy. Każde kliknięcie zmienia stan klikniętego pola oraz jego | |
277 | najbliższych sąsiadów (nie po przekątnej). | |
278 | ||
cb24a834 | 279 | %package mahjongg |
280 | Summary: GNOME Mahjongg | |
80e8e7f5 | 281 | Summary(pl.UTF-8): Mahjongg dla GNOME |
cb24a834 | 282 | Group: X11/Applications/Games |
cb24a834 | 283 | Requires(post): coreutils |
d98e0888 | 284 | Requires(post,postun): gtk-update-icon-cache |
0c2cb79f | 285 | Requires(post,postun): glib2 >= 1:2.26.0 |
cb24a834 | 286 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d98e0888 | 287 | Requires: hicolor-icon-theme |
cb24a834 | 288 | |
289 | %description mahjongg | |
290 | Disassemble a pile of tiles by removing matching pairs. | |
291 | ||
829f10ae | 292 | %description mahjongg -l pl.UTF-8 |
5c0200ee | 293 | Gra polegająca na demontażu stosu kafli poprzez usuwanie pasujących |
cb24a834 | 294 | par. |
295 | ||
a4387c20 MB |
296 | %package quadrapassel |
297 | Summary: GNOME Tetris | |
298 | Summary(pl.UTF-8): Tetris dla GNOME | |
cb24a834 | 299 | Group: X11/Applications/Games |
cb24a834 | 300 | Requires(post): coreutils |
d98e0888 | 301 | Requires(post,postun): gtk-update-icon-cache |
f3308006 | 302 | Requires(post,postun): glib2 >= 1:2.26.0 |
cb24a834 | 303 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d98e0888 | 304 | Requires: hicolor-icon-theme |
a4387c20 MB |
305 | Provides: gnome-games-gnometris |
306 | Obsoletes: gnome-games-gnometris | |
cb24a834 | 307 | |
a4387c20 MB |
308 | %description quadrapassel |
309 | Tetris like game. | |
cb24a834 | 310 | |
a4387c20 MB |
311 | %description quadrapassel -l pl.UTF-8 |
312 | Gra podobna do Tetrisa. | |
cb24a834 | 313 | |
f9d19920 MB |
314 | %package sudoku |
315 | Summary: Simple interface for playing, saving, printing and solving Sudoku | |
316 | Summary(pl.UTF-8): Prosty interfejs do grania, zapisywania, drukowania i rozwiązywania Sudoku | |
317 | Group: X11/Applications/Games | |
d98e0888 | 318 | Requires(post,postun): gtk-update-icon-cache |
f3308006 | 319 | Requires(post,postun): glib2 >= 1:2.26.0 |
f9d19920 | 320 | Requires: %{name} = %{epoch}:%{version}-%{release} |
0c2cb79f MB |
321 | Requires: gobject-introspection >= 0.10.0 |
322 | Requires: gtk+3 | |
d98e0888 | 323 | Requires: hicolor-icon-theme |
0c2cb79f MB |
324 | Requires: python-pycairo |
325 | Requires: python-pygobject3 | |
f9d19920 MB |
326 | Obsoletes: gnome-sudoku |
327 | ||
328 | %description sudoku | |
329 | GNOME Sudoku provides a simple interface for playing, saving, printing | |
330 | and solving Sudoku. | |
331 | ||
332 | %description sudoku -l pl.UTF-8 | |
333 | GNOME Sudoku dostarcza prosty interfejs do grania, zapisywania, | |
334 | drukowania i rozwiązywania Sudoku. | |
335 | ||
a4387c20 MB |
336 | %package swell-foop |
337 | Summary: Swell Foop | |
5c0200ee | 338 | Summary(pl.UTF-8): Gra Swell Foop dla GNOME |
a4387c20 MB |
339 | Group: X11/Applications/Games |
340 | Requires(post): coreutils | |
d98e0888 | 341 | Requires(post,postun): gtk-update-icon-cache |
f3308006 | 342 | Requires(post,postun): glib2 >= 1:2.26.0 |
a4387c20 | 343 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d98e0888 | 344 | Requires: hicolor-icon-theme |
a4387c20 MB |
345 | Provides: gnome-games-same-gnome |
346 | Obsoletes: gnome-games-same-gnome | |
67946874 | 347 | |
a4387c20 MB |
348 | %description swell-foop |
349 | Remove groups of balls to try and clear the screen. | |
67946874 | 350 | |
a4387c20 MB |
351 | %description swell-foop -l pl.UTF-8 |
352 | Gra, 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 | |
374 | rm -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 |
399 | rm -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 | |
423 | if [ ! -f %{_gamesdir}/glines.scores ]; then | |
424 | touch %{_gamesdir}/glines.scores | |
425 | chown root:games %{_gamesdir}/glines.scores | |
426 | chmod 664 %{_gamesdir}/glines.scores | |
427 | fi | |
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 | |
445 | for 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 | |
452 | done | |
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 | 462 | for 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 | |
476 | done | |
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 | |
486 | for 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 | |
492 | done | |
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 | |
502 | for 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 | |
509 | done | |
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 | |
519 | for 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 | |
525 | done | |
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 | |
535 | if [ ! -f %{_gamesdir}/gtali.scores ]; then | |
536 | touch %{_gamesdir}/gtali.scores | |
537 | chown root:games %{_gamesdir}/gtali.scores | |
538 | chmod 664 %{_gamesdir}/gtali.scores | |
539 | fi | |
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 | |
565 | for 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 |
575 | done | |
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 |
585 | if [ ! -f %{_gamesdir}/quadrapassel.scores ]; then |
586 | touch %{_gamesdir}/quadrapassel.scores | |
587 | chown root:games %{_gamesdir}/quadrapassel.scores | |
588 | chmod 664 %{_gamesdir}/quadrapassel.scores | |
cb24a834 | 589 | fi |
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 |
607 | for 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 | |
613 | done | |
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.* |