Пакет gnome-games: Specfile

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
%define _oldname gnome2-games
%define ver_major 2.26
%define extradata_ver_major 2.26
%define extradata_ver %extradata_ver_major.0
%def_disable clutter
%def_disable static

Name: gnome-games
Version: %ver_major.1
Release: alt1

Summary: GNOME games
License: %gpl2plus
Group: Graphical desktop/GNOME
URL: http://www.gnome.org/

Packager: GNOME Maintainers Team <gnome@packages.altlinux.org>

Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.bz2
Source1: ftp://ftp.gnome.org/pub/gnome/sources/%name-extra-data/%extradata_ver_major/%name-extra-data-%extradata_ver.tar.bz2

Obsoletes: %_oldname < 2.14
Provides: %_oldname = %version-%release

%define scrollkeeper_ver 0.3.8
%define gtk_ver 2.14.0
%define gnome_common_ver 2.16.0

PreReq: GConf scrollkeeper >= %scrollkeeper_ver

Requires: %name-glines = %version-%release
Requires: %name-gnect = %version-%release
Requires: %name-gnibbles = %version-%release
Requires: %name-gnobots = %version-%release
Requires: %name-gnometris = %version-%release
Requires: %name-gnomine = %version-%release
Requires: %name-gnotravex = %version-%release
Requires: %name-gnotski = %version-%release
Requires: %name-gtali = %version-%release
Requires: %name-iagno = %version-%release
Requires: %name-mahjongg = %version-%release
Requires: %name-same = %version-%release
Requires: %name-sol = %version-%release
Requires: %name-blackjack = %version-%release
Requires: %name-sudoku = %version-%release
Requires: %name-glchess = %version-%release

BuildPreReq: rpm-build-licenses

# From configure.in
BuildPreReq: intltool >= 0.35.0
BuildPreReq: libstdc++-devel gcc-c++ guile18-devel gob2
BuildPreReq: scrollkeeper >= %scrollkeeper_ver
BuildPreReq: libgtk+2-devel >= %gtk_ver
BuildPreReq: libGConf-devel >= 2.0
BuildPreReq: librsvg-devel >= 2.14.0
BuildPreReq: libcairo-devel >= 1.0
BuildPreReq: libavahi-glib-devel >= 0.6.6
BuildPreReq: gstreamer-devel libdbus-glib-devel
%{?_enable_clutter:BuildPreReq: libclutter-devel >= 0.8.8 libclutter-gtk-devel >= 0.8.3  libclutter-cairo-devel >= 0.8.2}

# Automatically added by buildreq on Mon Apr 14 2008
BuildRequires: gcc-c++ ggz-client-libs-devel gnome-doc-utils gstreamer-devel guile18-devel libSM-devel libgcrypt-devel libgnomeui-devel libltdl-devel librsvg-devel python-devel python-modules-compiler

BuildRequires: gnome-common >= %gnome_common_ver
BuildRequires: perl-XML-Parser
BuildRequires: gnome-doc-utils python-module-pygtk-devel python-module-pygnome-desktop-devel
BuildRequires: python-module-pygnome-desktop >= 2.17.3
BuildRequires: libggz-devel ggz-client-libs-devel

%description
GNOME (GNU Network Object Model Environment) is a user-friendly set of
applications and desktop tools to be used in conjunction with a window
manager for the X Window System.  GNOME is similar in purpose and scope
to CDE and KDE, but GNOME is based completely on free software.
The gnome-games package containes a collection of simple games for your
amusement.

AisleRiot: 	also known as Solitaire or sol is a collection of card
		games which are easy to play with the aid of a mouse.
Blackjack:	multiple deck, casino rules blackjack game
Glines:         color lines game, aka fiveormore
Gnect:          four in a row game
Gnibbles:       snake game up to four players
Gnobots:        old bsd robots game improved
GNOME Klotski:  game based on the not so popular Klotski
GNOME Mine:     popular logic puzzle minesweeper
GNOME Tali:     sort of poker with dice and less money
Gnometris:      GNOME version of the popular russian game Tetris
Iagno:          GNOME version of the popular Othello
Mahjongg:       GNOME version of the classic Eastern tile game, Mahjongg
Same GNOME:     game which goal is to remove as many balls in as few moves as
		possible
GNOME Sudoku:   a logic game with a Japanese name
GlChess:	a chess game which supports several chess engines.

%package common
Summary: Common files for GNOME games
Group: Graphical desktop/GNOME
BuildArch: noarch
Obsoletes: %_oldname-common < 2.14
Provides: %_oldname-common = %version-%release
Obsoletes: %name-xbill
Obsoletes: %name-freecell
Obsoletes: %name-gataxx
Obsoletes: libgdkcardimage
PreReq: GConf
PreReq: scrollkeeper >= %scrollkeeper_ver
Requires: gnome-vfs libgnome libgnomeui libbonoboui

%description common
This package contains common files needed to run GNOME games.

%package blackjack
Summary: A Blackjack game for GNOME.
Group: Games/Boards
Obsoletes: %_oldname-blackjack < 2.14
PreReq: %name-common = %version-%release

%description blackjack
Blackjack is a multiple deck, casino rules blackjack game. The object of
the game is to hold cards having a higher count than those of the dealer
without going over 21

%package glines
Summary: A version of the color lines program
Group: Games/Boards
Obsoletes: %_oldname-glines < 2.14
PreReq: %name-common = %version-%release

%description glines
Glines, is the Gnome port of the once popular Windows game called Color
Lines. The game's objective is to align as often as possible five balls
or more of the same color causing them to disappear, play as long as
possible, and be #1 in the High Scores.

%package gnect
Summary: Four in a row game
Group: Games/Boards
Obsoletes: %_oldname-gnect < 2.14
PreReq: %name-common = %version-%release

%description gnect
Gnect is a four-in-a-row game for the GNOME Project. The object of the
game is to build a line of four of your marbles while trying to stop
your opponent (human or computer) building a line of his or her own. A
line can be horizontal, vertical or diagonal.

%package gnibbles
Summary: A cute little game that has no description
Group: Games/Boards
Obsoletes: %_oldname-gnibbles < 2.14
PreReq: %name-common = %version-%release

%description  gnibbles
Gnibbles is a game where the user controls a snake. The snake moves
around the board, eating diamonds while avoiding the walls placed around
it.

%package gnobots
Summary: Second Gnome version of robots game for BSD games collection
Group: Games/Boards
Obsoletes: %_oldname-gnobots < 2.14
Obsoletes: %name-gnobots2 < 2.15
Provides: %name-gnobots2 = %version-%release
PreReq: %name-common = %version-%release

%description gnobots
GNOME Robots II is a development of the original Gnome Robots game which
was itself based on the text based robots game which can be found on a
number of UNIX systems, and comes with the BSD games package on Linux
systems.

%package gnometris
Summary: A tetris clone.
Group: Games/Boards
Obsoletes: %_oldname-gnometris < 2.14
PreReq: %name-common = %version-%release

%description gnometris
GNOME version of the popular russian game Tetris.

%package gnomine
Summary: Classic find the mines in the minefield game
Group: Games/Boards
Obsoletes: %_oldname-gnomine < 2.14
PreReq: %name-common = %version-%release

%description gnomine
GNOME Mines is a variation of the popular logic puzzle minesweeper.

%package gnotravex
Summary: A game based on Tetravex.
Group: Games/Boards
Obsoletes: %_oldname-gnotravex < 2.14
PreReq: %name-common = %version-%release

%description gnotravex
GNOME Tetravex is a simple puzzle where pieces must be positioned so
that the same numbers are touching each other. Your game is timed, these
times are stored in a system-wide scoreboard.

%package gnotski
Summary: Derivative game from Klotski.
Group: Games/Boards
Obsoletes: %_oldname-gnotski < 2.14
PreReq: %name-common = %version-%release

%description gnotski
Gnome Klotski is a small game for GNOME. The idea is originally
from a game called "Klotski".

%package gtali
Summary: Gnome version of Yahtzee Dice Game
Group: Games/Boards
Obsoletes: %_oldname-gtali < 2.14
PreReq: %name-common = %version-%release

%description gtali
Gnome Tali is a sort of poker with dice and less money. You roll five
dice three times and try to create the best hand. Your two rerolls may
include any or all of your dice.

%package iagno
Summary: Gnome version of Othello (Reversi) board game
Group: Games/Boards
Obsoletes: %_oldname-iagno < 2.14
PreReq: %name-common = %version-%release

%description iagno
Iagno is a computer version of the game Reversi, more popularly called
Othello.

%package mahjongg
Summary: Classic Chinese Tile Game
Group: Games/Boards
Obsoletes: %_oldname-mahjongg < 2.14
PreReq: %name-common = %version-%release

%description mahjongg
Gnome Mahjongg, or Mahjongg for short, is a solitaire (one player)
version of the classic Eastern tile game, Mahjongg.

%package same
Summary: The "Same Game" puzzle
Group: Games/Boards
Obsoletes: %_oldname-same < 2.14
PreReq: %name-common = %version-%release

%description same
The objective of same-gnome is to remove as many balls from the playing
area in as few moves as possible.

%package sol
Summary: Collection of card games
Group: Games/Boards
Obsoletes: %_oldname-sol < 2.14
PreReq: %name-common = %version-%release

%description sol
AisleRiot also known as Solitaire or sol is a collection of card games
which are easy to play with the aid of a mouse.

%package sudoku
Summary: GNOME Sudoku game
Group: Games/Boards
PreReq: %name-common = %version-%release
Requires: bug-buddy python-module-pygtk-libglade

%description sudoku
Sudoku is a logic game with a Japanese name that has recently exploded
in popularity.

%package glchess
Summary: A chess game for GNOME
Group: Games/Boards
PreReq: %name-common = %version-%release
# Add chess to requirements to be sure it is possible to play with computer
Requires: bug-buddy chess python-module-pygtkglext

%description glchess
A chess game which supports several chess engines, with 2D and optionally
3D support if OpenGL is present.

%define _sklocalstatedir %_localstatedir/scrollkeeper

%prep
%setup -q -a1
rm -f m4/libtool.m4 m4/lt*.m4

%build
intltoolize --copy --force
%autoreconf

%configure \
    --disable-gnuchess \
    --disable-scrollkeeper \
    --disable-schemas-install \
    --enable-avahi \
    --with-sound=gstreamer \
    --enable-setgid \
    --with-scores-group=games \
    --with-scores-user=games \
    %{subst_enable clutter} \
    %{subst_enable static} 

%make_build

# build gnome-games-extra-data
pushd %name-extra-data-%extradata_ver
%configure
%make_build
popd

%install
%make_install DESTDIR=%buildroot install

# install gnome-games-extra-data
pushd %name-extra-data-%extradata_ver
%makeinstall _sklocalstatedir=%buildroot%_sklocalstatedir
popd

install -p -m0644 gnect/data/gnect-client.dsc %buildroot%_datadir/%name/gnect/
install -p -m0644 gnibbles/gnibbles-client.dsc %buildroot%_datadir/%name/gnibbles/
install -d %buildroot%_datadir/%name/iagno/
install -p -m0644 iagno/iagno-client.dsc %buildroot%_datadir/%name/iagno/

sed -i "/^MimeType=/d" %buildroot%_desktopdir/glchess.desktop

%define games aisleriot blackjack gnometris gnect gnomine same-gnome mahjongg gtali gnotravex gnotski glines iagno gnobots2 gnibbles gnome-sudoku glchess

%find_lang --with-gnome %name %games

for omf in %games; do
    grep "$omf" %name.lang >> $omf.lang || :
done

grep -v '\.omf' %name.lang > _%name.lang

%post blackjack
%gconf2_install blackjack

%preun blackjack
%gconf2_uninstall blackjack

%preun glines
if [ $1 = 0 ]; then
%gconf2_uninstall glines
fi

%post gnect
%gconf2_install gnect
ggz-config --install --modfile=%_datadir/%name/gnect/gnect-client.dsc --force

%preun gnect
if [ $1 = 0 ]; then
%gconf2_uninstall gnect
ggz-config --remove --modfile=%_datadir/%name/gnect/gnect-client.dsc
fi

%post gnibbles
%gconf2_install gnibbles
ggz-config --install --modfile=%_datadir/%name/gnibbles/gnibbles-client.dsc --force

%preun gnibbles
if [ $1 = 0 ]; then
%gconf2_uninstall gnibbles
ggz-config --remove --modfile=%_datadir/%name/gnibbles/gnibbles-client.dsc
fi

%post gnobots
%gconf2_install gnobots2

%preun gnobots
if [ $1 = 0 ]; then
%gconf2_uninstall gnobots2
fi

%post gnometris
%gconf2_install gnometris

%preun gnometris
if [ $1 = 0 ]; then
%gconf2_uninstall gnometris
fi

%post gnomine
%gconf2_install gnomine

%preun gnomine
if [ $1 = 0 ]; then
%gconf2_uninstall gnomine
fi

%post gnotravex
%gconf2_install gnotravex

%preun gnotravex
if [ $1 = 0 ]; then
%gconf2_uninstall gnotravex
fi

%post gnotski
%gconf2_install gnotski

%preun gnotski
if [ $1 = 0 ]; then
%gconf2_uninstall gnotski
fi

%post gtali
%gconf2_install gtali

%preun gtali
if [ $1 = 0 ]; then
%gconf2_uninstall gtali
fi

%post iagno
%gconf2_install iagno
ggz-config --install --modfile=%_datadir/%name/iagno/iagno-client.dsc --force

%preun iagno
if [ $1 = 0 ]; then
%gconf2_uninstall iagno
ggz-config --remove --modfile=%_datadir/%name/iagno/iagno-client.dsc
fi

%post mahjongg
%gconf2_install mahjongg

%preun mahjongg
if [ $1 = 0 ]; then
%gconf2_uninstall mahjongg
fi

%post same
%gconf2_install same-gnome

%preun same
if [ $1 = 0 ]; then
%gconf2_uninstall same-gnome
fi

%post sol
%gconf2_install aisleriot

%preun sol
if [ $1 = 0 ]; then
%gconf2_uninstall aisleriot
fi

%post glchess
%gconf2_install glchess

%preun glchess
if [ $1 = 0 ]; then
%gconf2_uninstall glchess
fi

%files

%files common -f _%name.lang
%dir %_libdir/%name
%_libdir/%name/gnome-games-render-cards
%dir %_datadir/%name
%_datadir/%name/icons
%_datadir/%name/pixmaps
%_datadir/%name/sounds
%_datadir/ggz/%name
%_datadir/%name-common
%doc AUTHORS ChangeLog TODO

%exclude %_libdir/%name/gnome-games-render-cards
%exclude %_libdir/%name

%files blackjack -f blackjack.lang
%attr(-,root,games) %_bindir/blackjack
%_desktopdir/blackjack.desktop
%_datadir/%name/blackjack
%_iconsdir/hicolor/*x*/apps/gnome-blackjack.png
%_iconsdir/hicolor/scalable/apps/gnome-blackjack.svg
%config %_sysconfdir/gconf/schemas/blackjack*

%files glines -f glines.lang
%attr(2711,root,games) %_bindir/glines
%_datadir/%name/glines
%_desktopdir/glines.desktop
%_iconsdir/hicolor/*x*/apps/gnome-glines.png
%_iconsdir/hicolor/scalable/apps/gnome-glines.svg
%config %_sysconfdir/gconf/schemas/glines*
%config(noreplace) %attr(0664,games,games) %_localstatedir/games/glines*

%files gnect -f gnect.lang
%attr(-,root,games) %_bindir/gnect
%_desktopdir/gnect.desktop
%_datadir/%name/gnect
%_iconsdir/hicolor/*x*/apps/gnome-gnect.png
%_iconsdir/hicolor/scalable/apps/gnome-gnect.svg
%config %_sysconfdir/gconf/schemas/gnect*

%files gnibbles -f gnibbles.lang
%attr(2711,root,games) %_bindir/gnibbles
%_desktopdir/gnibbles.desktop
%_datadir/%name/gnibbles
%_iconsdir/hicolor/*x*/apps/gnome-gnibbles.png
%_iconsdir/hicolor/scalable/apps/gnome-gnibbles.svg
%config %_sysconfdir/gconf/schemas/gnibbles*
%config(noreplace) %attr(0664,games,games) %_localstatedir/games/gnibbles*

%files gnobots -f gnobots2.lang
%attr(2711,root,games) %_bindir/gnobots2
%_desktopdir/gnobots2.desktop
%_datadir/%name/gnobots2
%_iconsdir/hicolor/*x*/apps/gnome-robots.png
%_iconsdir/hicolor/scalable/apps/gnome-robots.*
%config %_sysconfdir/gconf/schemas/gnobots2.schemas
%config(noreplace) %attr(0664,games,games) %_localstatedir/games/gnobots2*

%files gnometris -f gnometris.lang
%attr(2711,root,games) %_bindir/gnometris
    %_datadir/%name/gnometris/
%_desktopdir/gnometris.desktop
%_iconsdir/hicolor/*x*/apps/gnome-gnometris.png
%_iconsdir/hicolor/scalable/apps/gnome-gnometris.svg
%config %_sysconfdir/gconf/schemas/gnometris*
%config(noreplace) %attr(0664,root,games) %_localstatedir/games/gnometris*

%files gnomine -f gnomine.lang
%attr(2711,root,games) %_bindir/gnomine
%_datadir/%name/gnomine/
%_desktopdir/gnomine.desktop
%_iconsdir/hicolor/*x*/apps/gnome-mines.png
%_iconsdir/hicolor/scalable/apps/gnome-mines.svg
%config %_sysconfdir/gconf/schemas/gnomine*
%config(noreplace) %attr(0664,games,games) %_localstatedir/games/gnomine*

%files gnotravex -f gnotravex.lang
%attr(2711,root,games) %_bindir/gnotravex
%_desktopdir/gnotravex.desktop
%_iconsdir/hicolor/*x*/apps/gnome-tetravex.png
%_iconsdir/hicolor/scalable/apps/gnome-tetravex.svg
%config %_sysconfdir/gconf/schemas/gnotravex*
%config(noreplace) %attr(0664,games,games) %_localstatedir/games/gnotravex*

%files gnotski -f gnotski.lang
%attr(2711,root,games) %_bindir/gnotski
%_desktopdir/gnotski.desktop
%_datadir/%name/gnotski
%_iconsdir/hicolor/*x*/apps/gnome-klotski.png
%_iconsdir/hicolor/scalable/apps/gnome-klotski.svg
%config %_sysconfdir/gconf/schemas/gnotski.schemas
%config(noreplace) %attr(0664,games,games) %_localstatedir/games/gnotski*

%files gtali -f gtali.lang
%attr(2711,root,games) %_bindir/gtali
%_datadir/%name/gtali/
%_desktopdir/gtali.desktop
%_iconsdir/hicolor/*x*/apps/gnome-tali.png
%_iconsdir/hicolor/scalable/apps/gnome-tali.svg
%config %_sysconfdir/gconf/schemas/gtali*
%config(noreplace) %attr(0664,games,games) %_localstatedir/games/gtali*

%files iagno -f iagno.lang
%attr(-,root,games) %_bindir/iagno
%_desktopdir/iagno.desktop
%_iconsdir/hicolor/*x*/apps/gnome-iagno.png
%_iconsdir/hicolor/scalable/apps/gnome-iagno.svg
%_datadir/%name/iagno
%config %_sysconfdir/gconf/schemas/iagno*

%files mahjongg -f mahjongg.lang
%attr(2711,root,games) %_bindir/mahjongg
%_desktopdir/mahjongg.desktop
%_iconsdir/hicolor/*x*/apps/gnome-mahjongg.png
%_datadir/%name/mahjongg
%_iconsdir/hicolor/scalable/apps/gnome-mahjongg.svg
%config %_sysconfdir/gconf/schemas/mahjongg*
%config(noreplace) %attr(0664,games,games) %_localstatedir/games/mahjongg*

%files same -f same-gnome.lang
%attr(2711,root,games) %_bindir/same-gnome
%_desktopdir/same-gnome*
%_datadir/%name/same-gnome
%_iconsdir/hicolor/*x*/apps/gnome-samegnome.png
%_iconsdir/hicolor/scalable/apps/gnome-samegnome.svg
%config %_sysconfdir/gconf/schemas/same-gnome*
%config(noreplace) %attr(0664,games,games) %_localstatedir/games/same-gnome*

%files sol -f aisleriot.lang
%attr(-,root,games) %_bindir/sol
%_desktopdir/sol.desktop
%_desktopdir/freecell.desktop
%_datadir/%name/aisleriot/games
%_iconsdir/hicolor/*x*/apps/gnome-aisleriot.png
%_iconsdir/hicolor/*x*/apps/gnome-freecell.png
%_iconsdir/hicolor/scalable/apps/gnome-aisleriot.svg
%_iconsdir/hicolor/scalable/apps/gnome-freecell.svg
%config %_sysconfdir/gconf/schemas/aisleriot*

%files sudoku -f gnome-sudoku.lang
%attr(-,root,games) %_bindir/gnome-sudoku
%_desktopdir/gnome-sudoku.desktop
%_datadir/gnome-sudoku
%_pixmapsdir/gnome-sudoku
%python_sitelibdir/gnome_sudoku
%_iconsdir/hicolor/*x*/apps/gnome-sudoku.png
%_iconsdir/hicolor/scalable/apps/gnome-sudoku.svg

%files glchess -f glchess.lang
%attr(-,root,games) %_bindir/glchess
%_desktopdir/glchess.desktop
%_datadir/glchess
%_pixmapsdir/glchess
%python_sitelibdir/glchess
%_iconsdir/hicolor/*x*/apps/gnome-glchess.png
%_iconsdir/hicolor/scalable/apps/gnome-glchess.svg
%config %_sysconfdir/gconf/schemas/glchess*

#    %_iconsdir/hicolor/scalable/apps/gnome-lightsoff.svg

%changelog
* Tue Apr 14 2009 Yuri N. Sedunov <aris@altlinux.org> 2.26.1-alt1
- 2.26.1

* Wed Mar 18 2009 Yuri N. Sedunov <aris@altlinux.org> 2.26.0-alt1
- 2.26.0
- updated buildreqs
- prepared to buid clutter-based lightsoff game (requires libclutter >= 0.8.8)

* Tue Jan 13 2009 Yuri N. Sedunov <aris@altlinux.org> 2.24.3-alt1
- 2.24.3

* Tue Nov 25 2008 Yuri N. Sedunov <aris@altlinux.org> 2.24.2-alt1
- 2.24.2
- removed obsolete %%post* scripts

* Tue Nov 04 2008 Yuri N. Sedunov <aris@altlinux.org> 2.24.1.1-alt1
- 2.24.1.1
- don't package useless %%_libdir/gnome-games/gnome-games-render-cards
- build gnome-games-common as noarch

* Tue Oct 21 2008 Yuri N. Sedunov <aris@altlinux.org> 2.24.1-alt1
- 2.24.1

* Tue Sep 30 2008 Yuri N. Sedunov <aris@altlinux.org> 2.24.0-alt1
- 2.24.0

* Mon Jun 30 2008 Yuri N. Sedunov <aris@altlinux.org> 2.22.3-alt1
- 2.22.3

* Wed Apr 16 2008 Egor Vyscrebentsov <evyscr@altlinux.ru> 2.22.1.1-alt1
- new version: 2.22.1.1

* Tue Mar 18 2008 Egor Vyscrebentsov <evyscr@altlinux.ru> 2.22.0-alt1
- new version: 2.22.0

* Tue Dec 18 2007 Egor Vyscrebentsov <evyscr@altlinux.ru> 2.20.2-alt1
- new version: 2.20.2
- fixed a bug with gnome-games-common preun scriptlet

* Mon Nov 26 2007 Egor Vyscrebentsov <evyscr@altlinux.ru> 2.20.1-alt1
- new version: 2.20.1
- GlChess now requires python-module-pygtkglext (fixed #12872)
- do not skip usage of python req/prov autofind for sudoku subpackage

* Thu Sep 20 2007 Egor Vyscrebentsov <evyscr@altlinux.ru> 2.20.0.1-alt1
- new version: 2.20.0.1

* Tue Sep 18 2007 Egor Vyscrebentsov <evyscr@altlinux.ru> 2.18.2.1-alt1
- new version: 2.18.2.1
  + added GlChess
  + added Sudoku
  + removed Gataxx
- removed old patches
- prevented score files to be replaced while upgrading the package
- cleared sgid attribute on blackjack (fixed #12793)
- corrected .desktop categories for GTali and Iagno (fixed #12824)

* Thu Jul 05 2007 Igor Zubkov <icesik@altlinux.org> 2.16.3-alt2
- add Packager tag
- fix rebuild

* Fri Feb 02 2007 Alexey Rusakov <ktirf@altlinux.org> 2.16.3-alt1
- new version 2.16.3 (with rpmrb script)

* Sun Jan 21 2007 Alexey Rusakov <ktirf@altlinux.org> 2.16.2-alt1
- new version 2.16.2 (with rpmrb script)

* Sun Oct 15 2006 Alexey Rusakov <ktirf@altlinux.ru> 2.16.1-alt2
- fixed a bug in gnome-games-gnobots install scripts

* Sat Oct 07 2006 Alexey Rusakov <ktirf@altlinux.ru> 2.16.1-alt1
- new version (2.16.1)
- updated dependencies

* Thu Jul 27 2006 Alexey Rusakov <ktirf@altlinux.ru> 2.15.5-alt1
- new version 2.15.5.
- updated filelists
- renamed gnome-games-gnobots2 into gnome-games-gnobots

* Sun Jul 02 2006 Alexey Rusakov <ktirf@altlinux.ru> 2.14.2.1-alt1
- new version 2.14.2.1 (with rpmrb script)

* Thu Jun 15 2006 Alexey Rusakov <ktirf@altlinux.ru> 2.14.2-alt1
- new version 2.14.2 (with rpmrb script)

* Sun Apr 16 2006 Alexey Rusakov <ktirf@altlinux.ru> 2.14.1-alt1
- new version (2.14.1)
- the package has been renamed from gnome2-games to gnome-games
- spec cleanup (bless --disable-schemas-install)
- added --disable-scrollkeeper to configure call, though it seems unfunctional yet.

* Sat Mar 04 2006 Alexey Rusakov <ktirf@altlinux.ru> 2.13.8-alt2
- removed dangling Requires: gnome2-games-stones.

* Mon Feb 27 2006 Alexey Rusakov <ktirf@altlinux.ru> 2.13.8-alt1
- new version (2.13.8)
- buildreqs revised, spec cleanup
- removed Debian menu stuff
- no more GNOME Stones.

* Thu Nov 03 2005 Alexey Rusakov <ktirf@altlinux.ru> 2.12.1-alt2
- Gnobots menu item has been moved from Arcade to Boards.

* Tue Oct 04 2005 Alexey Rusakov <ktirf@altlinux.ru> 2.12.1-alt1
- new version

* Fri Sep 30 2005 Alexey Rusakov <ktirf@altlinux.ru> 2.12.0-alt1
- 2.12.0

* Mon Jun 13 2005 Yuri N. Sedunov <aris@altlinux.ru> 2.10.1-alt1
- 2.10.1

* Fri Mar 11 2005 Yuri N. Sedunov <aris@altlinux.ru> 2.10.0-alt1.1
- rebuild against new python (2.4)

* Mon Mar 07 2005 Yuri N. Sedunov <aris@altlinux.ru> 2.10.0-alt1
- 2.10.0

* Wed Mar 02 2005 Yuri N. Sedunov <aris@altlinux.ru> 2.9.7-alt1
- 2.9.7

* Thu Oct 28 2004 Yuri N. Sedunov <aris@altlinux.ru> 2.8.1-alt1
- 2.8.1

* Mon Sep 13 2004 Yuri N. Sedunov <aris@altlinux.ru> 2.8.0-alt1
- 2.8.0
- obsoletes libgdkcardimage.

* Thu Jun 24 2004 Yuri N. Sedunov <aris@altlinux.ru> 2.6.2-alt1
- 2.6.2
- move BlackJack to Amusement/Cards in menu.

* Thu Jun 17 2004 Yuri N. Sedunov <aris@altlinux.ru> 2.6.1-alt1.1
- move gtali to Games/Boards (close #4351).
- fix sol (close #4370).
- fixed gnotravex menu.

* Wed Apr 21 2004 Yuri N. Sedunov <aris@altlinux.ru> 2.6.1-alt1
- 2.6.1

* Thu Apr 08 2004 Yuri N. Sedunov <aris@altlinux.ru> 2.6.0.1-alt1
- 2.6.0.1

* Mon Feb 23 2004 Yuri N. Sedunov <aris@altlinux.ru> 2.5.7-alt1
- 2.5.7

* Mon Feb 16 2004 Yuri N. Sedunov <aris@altlinux.ru> 2.5.6-alt1
- 2.5.6

* Wed Jan 28 2004 Yuri N. Sedunov <aris@altlinux.ru> 2.4.2-alt1
- 2.4.2
- do not package .la files.
- do not build libgdkcardimage-devel-static by default.

* Mon Oct 20 2003 Yuri N. Sedunov <aris@altlinux.ru> 2.4.1-alt1
- 2.4.1

* Sat Sep 20 2003 Yuri N. Sedunov <aris@altlinux.ru> 2.4.0-alt1
- 2.4.0

* Wed Aug 27 2003 Yuri N. Sedunov <aris@altlinux.ru> 2.3.90-alt1
- 2.3.90

* Tue Aug 19 2003 Yuri N. Sedunov <aris@altlinux.ru> 2.3.7-alt1
- 2.3.7

* Fri Jul 11 2003 Yuri N. Sedunov <aris@altlinux.ru> 2.3.5-alt1
- 2.3.5

* Wed Jul 02 2003 Yuri N. Sedunov <aris@altlinux.ru> 2.3.4-alt1
- 2.3.4

* Wed Jun 04 2003 Yuri N. Sedunov <aris@altlinux.ru> 2.3.3-alt1
- 2.3.3
- new blackjack game.

* Mon May 19 2003 Yuri N. Sedunov <aris@altlinux.ru> 2.3.2-alt1
- 2.3.2
- Obsoletes: xbill, freecell

* Thu Mar 13 2003 Yuri N. Sedunov <aris@altlinux.ru> 2.2.1-alt1
- 2.2.1

* Tue Feb 04 2003 Yuri N. Sedunov <aris@altlinux.ru> 2.2.0-alt3
- gnect schemas fixed. (#2152).

* Thu Jan 30 2003 Yuri N. Sedunov <aris@altlinux.ru> 2.2.0-alt2
- fixed menus.
- libgdkcardimage requires newest libgnomeui.

* Tue Jan 21 2003 Yuri N. Sedunov <aris@altlinux.ru> 2.2.0-alt1
- 2.2.0
- remove conflict gnome-xbill with original xBill game.

* Sat Jan 04 2003 Yuri N. Sedunov <aris@altlinux.ru> 2.1.5-alt1
- 2.1.5

* Fri Dec 20 2002 Yuri N. Sedunov <aris@altlinux.ru> 2.1.4-alt1
- 2.1.4

* Tue Nov 26 2002 Yuri N. Sedunov <aris@altlinux.ru> 2.1.3-alt1
- 2.1.3

* Sat Nov 02 2002 Yuri N. Sedunov <aris@altlinux.ru> 2.1.2-alt1
- 2.1.2

* Wed Oct 23 2002 Yuri N. Sedunov <aris@altlinux.ru> 2.1.1-alt1
- 2.1.1

* Sat Oct 05 2002 Yuri N. Sedunov <aris@altlinux.ru> 2.1.0-alt1
- 2.1.0

* Mon Sep 30 2002 Stanislav Ievlev <inger@altlinux.ru> 2.0.4-alt1.2
- gnome2-games-mahjongg-2.0.4-alt1.1.i586.rpm: bad permisions in suid/sgid files

* Sun Sep 29 2002 Yuri N. Sedunov <aris@altlinux.ru> 2.0.4-alt1.1
- gnome2-games virtual package installs all games.
- gconf2_install macro used for schemas installation.
- scrollkeeper >= 0.3.11 added to requires list.

* Thu Sep 19 2002 Yuri N. Sedunov <aris@altlinux.ru> 2.0.4-alt1
- 2.0.4
- each game splitted in separate package.

* Sun Jul 07 2002 Yuri N. Sedunov <aris@altlinux.ru> 2.0.1-alt1
- First build games for for GNOME2.