Группа :: Графические оболочки/KDE
Пакет: kdegames
Главная Изменения Спек Патчи Загрузить Bugs and FR
%undefine __libtoolize
%define qtdir /usr/lib/qt3
%define unstable 0
%add_findprov_lib_path %_libdir/kde3
%define kdemenu %_datadir/applications/kde
%define applnk %_datadir/applnk
%define bapplnk %buildroot/%_datadir/applnk
%define bmenudir %buildroot/%_menudir
%define bkdemenu %buildroot/%_datadir/applications/kde
%define d2m kdedesktop2mdkmenu.pl
Name: kdegames
Summary: KDE - Games
Version: 3.3.2
Release: alt0.0.M24
Group: Graphical desktop/KDE
Url: http://www.kde.org/
License: GPL
Requires: %name-atlantik = %version-%release
Requires: %name-carddecks = %version-%release
Requires: %name-kasteroids = %version-%release
Requires: %name-katomic = %version-%release
Requires: %name-kbackgammon = %version-%release
Requires: %name-kbattleship = %version-%release
Requires: %name-kblackbox = %version-%release
Requires: %name-kbounce = %version-%release
Requires: %name-kenolaba = %version-%release
Requires: %name-kfouleggs = %version-%release
Requires: %name-kgoldrunner = %version-%release
Requires: %name-kjumpingcube = %version-%release
Requires: %name-klickety = %version-%release
Requires: %name-klines = %version-%release
Requires: %name-kmahjongg = %version-%release
Requires: %name-kmines = %version-%release
Requires: %name-kolf = %version-%release
Requires: %name-konquest = %version-%release
Requires: %name-kpat = %version-%release
Requires: %name-kpoker = %version-%release
Requires: %name-kreversi = %version-%release
Requires: %name-ksame = %version-%release
Requires: %name-kshisen = %version-%release
Requires: %name-ksirtet = %version-%release
Requires: %name-ksmiletris = %version-%release
Requires: %name-ksnake = %version-%release
Requires: %name-ksokoban = %version-%release
Requires: %name-kspaceduel = %version-%release
Requires: %name-ktron = %version-%release
Requires: %name-ktuberling = %version-%release
Requires: %name-kwin4 = %version-%release
Requires: %name-libs = %version-%release
Requires: %name-lskat = %version-%release
Source: kdegames-%version.tar.bz2
#Source: kdegames-3.0.98.tar.bz2
# ALT
Patch1: 3.2.0-flags.patch
Patch2: kpat-3.2.3-fix-find-wallpaper.patch
# Automatically added by buildreq on Mon Apr 08 2002
#BuildRequires: XFree86-devel XFree86-libs freetype2 gcc-c++ kde-common kdebase kdelibs-devel kdelibs-sound-devel libalsa-devel libarts-devel libaudiofile-devel libjpeg-devel liblcms libmng libpng-devel libqt3-devel libstdc++-devel zlib-devel
BuildRequires: XFree86-devel XFree86-libs freetype2
BuildRequires: gcc-c++ kde-common libarts-qtmcop-devel
BuildRequires: libalsa-devel kernel-headers-alsa libarts-devel libaudiofile-devel libjpeg-devel
BuildRequires: liblcms libmng libpng-devel libqt3-devel libstdc++-devel zlib-devel
BuildRequires: fontconfig-devel, libart_lgpl-devel
BuildRequires: libmad-devel libvorbis-devel xml-utils libaudio-devel
#BuildRequires: kdebase
BuildRequires: kdelibs-devel-cxx = %__gcc_version_base
BuildRequires: kdelibs >= 3.0.0 kdelibs-devel >= 3.0.0
%description
Games for the K Desktop Environment.
%package common
Summary: Common empty package for %name
Group: Graphical desktop/KDE
Requires: kde-common >= 3.2
Conflicts: kdegames <= 3.0
#
%description common
Common empty package for %name
%package devel
Summary: Headers files for kdegames
Group: Development/KDE and QT
Requires: kdegames-atlantik = %version-%release, kdegames-kolf = %version-%release
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description devel
Headers files needed to build applications based on kdegames applications.
%package libs
Summary: Gaming libraries for KDE
Group: System/Libraries
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description libs
KDE gaming libraries.
This package includes libkdegames
(a library providing functionality commonly needed by games)
and libkdehighscores (highscore handling library).
%package kgoldrunner
Summary: A game of action and puzzle solving
Group: Games/Boards
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description kgoldrunner
KGoldrunner, a game of action and puzzle solving.
Run through the maze, dodge your enemies,
collect all the gold and climb up to the next level.
%package atlantik
Summary: Monopoly like games client for KDE
Group: Games/Boards
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description atlantik
Monopoly like games client for KDE
%package carddecks
Summary: Card decks for KDE games
Group: Games/Cards
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description carddecks
Several different collections of card images for use by KDE games.
%package kenolaba
Summary: The Abalone board game for KDE
Group: Games/Boards
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description kenolaba
An implementation of the Abalone board game for KDE.
You can play both against the computer and against human players.
%package kasteroids
Summary: Asteroids game for KDE
Group: Games/Arcade
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description kasteroids
An Asteroids-like game for KDE. Shoot the asteroids before they hit you!
%package katomic
Summary: Katomic - a game for KDE
Group: Games/Puzzles
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description katomic
The aim of Atomic Entertainment is to build chemical molecules using basic
atoms you are given. The molecule being built is shown in a frame in the main
window.
Clicking on an atom will cause arrows to appear beside it. These arrows
show the direction the atom can be moved. After an arrow is clicked, the atom
will move in this direction until it reaches the next border or another atom. Iftwo atoms touch each other with the corresponding connectors, they form a
molecule. The atoms can only be moved one at a time.
%package kbackgammon
Summary: A Backgammon game for KDE
Group: Games/Boards
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description kbackgammon
A Backgammon game for KDE.
%package kbattleship
Summary: A Battleship game for KDE
Group: Games/Boards
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description kbattleship
A Battleship game for KDE. kbattleship can be played both against the computer
and against other human players.
%package kblackbox
Summary: A strategy game for KDE
Group: Games/Boards
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description kblackbox
A strategy game for KDE. Can you find out where the hidden balls are?
%package kfouleggs
Summary: A falling blocks game - arrange the blocks by color
Group: Games/Arcade
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description kfouleggs
A falling blocks game for KDE.
Arranging the falling blocks by color will make them disappear.
%package kbounce
Summary: A KDE game: Try catching the bouncing balls
Group: Games/Arcade
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description kbounce
A KDE game: Try catching the bouncing balls!
%package kjumpingcube
Summary: A strategy game. Try to make all fields show your color!
Group: Games/Strategy
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description kjumpingcube
A strategy game. Try to make all fields show your color!
kjumpingcube can be played both against the computer and against other
human players.
%package klickety
Summary: klickety game for KDE
Group: Games/Arcade
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description klickety
klickety game for KDE
%package klines
Summary: A strategy game: Try to arrange the marbles by color!
Group: Games/Strategy
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description klines
A strategy game: Try to arrange the marbles by color!
%package kmahjongg
Summary: A Mahjongg game for KDE
Group: Games/Boards
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description kmahjongg
A Majhongg game for KDE.
Make 2 identical blocks disappear.
%package kmines
Summary: A minefield game for KDE
Group: Games/Strategy
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description kmines
A minefield game for KDE - find all mines without blowing up!
%package kolf
Summary: KDE Golf miniature arcade
Group: Games/Arcade
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description kolf
KDE Golf miniature arcade
%package konquest
Summary: A conquest game for KDE
Group: Games/Strategy
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description konquest
A multiplayer strategy game for KDE - try to conquer all galaxies.
%package kpat
Summary: Some solitaire games for KDE
Group: Games/Cards
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description kpat
Some solitaire card games for KDE
%package kpoker
Summary: A Poker game for KDE
Group: Games/Cards
Requires: %name-common = %version-%release
#
%description kpoker
A Poker game for KDE
%package kreversi
Summary: A Reversi (Flip Side) game for KDE
Group: Games/Boards
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description kreversi
A Reversi (Flip Side) game for KDE
%package ksame
Summary: A strategy game for KDE - connect as many balls of the same color as possible
Group: Games/Strategy
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description ksame
A strategy game for KDE - connect as many balls of the same color as possible
%package kshisen
Summary: Shisen Sho (a Mahjongg-like game) for KDE
Group: Games/Boards
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description kshisen
Shisen Sho (a Mahjongg-like game) for KDE
%package ksirtet
Summary: A falling blocks game for KDE
Group: Games/Arcade
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description ksirtet
Make the falling blocks disappear by arranging them in lines
%package ksmiletris
Summary: A falling blocks game for KDE
Group: Games/Arcade
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description ksmiletris
Make the falling blocks disappear - finding out how to do it is half the
fun. ;)
%package ksnake
Summary: A snake game for KDE
Group: Games/Arcade
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description ksnake
A snake game for KDE - collect all apples, but don't crash into the walls!
%package ksokoban
Summary: A Sokoban (move chests to the correct location) game for KDE
Group: Games/Puzzles
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description ksokoban
A Sokoban (move chests to the correct location) game for KDE
%package kspaceduel
Summary: A space duel game for KDE
Group: Games/Arcade
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description kspaceduel
A space duel game for KDE.
kspaceduel can be played both against other humans and against the computer.
%package ktron
Summary: A Tron game for KDE - make the opponent crash into a wall first!
Group: Games/Arcade
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description ktron
A Tron game for KDE - make the opponent crash into a wall first!
ktron can be played both against other humans and against the computer.
%package ktuberling
Summary: Create a potato man
Group: Toys
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description ktuberling
Create a potato man - place eyes, nose, mouth, eyebrows etc. on a potato.
%package kwin4
Summary: Connect 4 game for KDE
Group: Games/Boards
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description kwin4
An implementation of the Connect 4 board game for KDE
%package lskat
Summary: A card game for KDE, based on the German "Offiziersskat" game
Group: Games/Cards
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description lskat
Lt. Skat is a card game for KDE, based on the German "Offiziersskat" game,
a 2 player variant of the Skat game.
lskat can be played against the computer.
%package megami
Summary: blackjack card game for KDE
Group: Games/Boards
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description megami
blackjack card game for KDE
%prep
%setup -q -n kdegames-%version
#%setup -q -n kdegames-3.0.98
%patch1 -p1
%patch2 -p1
perl -pi -e "s|Icon=klickety|Icon=filenew|" klickety/klickety.desktop
subst "s/\(Wl,--no-undefined\)/-Wl,--warn-unresolved-symbols \1/g" admin/acinclude.m4.in
subst "s/\-lkdeui/-lkdeui -lpthread/g" admin/acinclude.m4.in
subst "s/\.la/.so/g" admin/acinclude.m4.in
make -f admin/Makefile.common cvs ||:
%build
rm -rf %buildroot
export QTDIR=%qtdir
export KDEDIR=%prefix
export PATH=$QTDIR/bin:$KDEDIR/bin:$PATH
export LD_LIBRARY_PATH=$QTDIR/lib:$KDEDIR/lib:$LD_LIBRARY_PATH
export LDFLAGS="-L%buildroot/%_libdir -L%buildroot/%_libdir/kde3 -L%_libdir"
%configure \
--bindir=%_gamesbindir \
%if %unstable
--enable-debug=full \
%else
--disable-debug \
%endif
--enable-final \
--enable-shared \
--disable-static \
--disable-objprelink \
--disable-embedded \
--disable-qtopia \
--disable-rpath \
--with-gnu-ld \
--with-pic \
--program-transform-name="" \
--with-xinerama
%make_build
%make_build -C atlantik
%make_build apidox
%install
%if %unstable
%set_strip_method none
%endif
export PATH=%_bindir:$PATH
%make install DESTDIR=%buildroot bindir=%_gamesbindir
%make install DESTDIR=%buildroot bindir=%_gamesbindir -C atlantik
%make DESTDIR=%buildroot install-apidox
# Install LMDK menu structure
install -d %buildroot/%_menudir/
# %%_datadir/applnk/Games/Arcade/
%d2m %name-klickety Amusement/Arcade %bkdemenu/klickety.desktop %bmenudir/%name-klickety
%d2m %name-kolf Amusement/Arcade %bkdemenu/kolf.desktop %bmenudir/%name-kolf
%d2m %name-kasteroids Amusement/Arcade %bkdemenu/kasteroids.desktop %bmenudir/%name-kasteroids
%d2m %name-kfouleggs Amusement/Arcade %bkdemenu/kfouleggs.desktop %bmenudir/%name-kfouleggs
%d2m %name-kbounce Amusement/Arcade %bkdemenu/kbounce.desktop %bmenudir/%name-kbounce
%d2m %name-ksirtet Amusement/Arcade %bkdemenu/ksirtet.desktop %bmenudir/%name-ksirtet
%d2m %name-ksmiletris Amusement/Arcade %bkdemenu/ksmiletris.desktop %bmenudir/%name-ksmiletris
%d2m %name-ksnake Amusement/Arcade %bkdemenu/ksnake.desktop %bmenudir/%name-ksnake
%d2m %name-kspaceduel Amusement/Arcade %bkdemenu/kspaceduel.desktop %bmenudir/%name-kspaceduel
%d2m %name-ktron Amusement/Arcade %bkdemenu/ktron.desktop %bmenudir/%name-ktron
%d2m %name-kgoldrunner Amusement/Arcade %bkdemenu/KGoldrunner.desktop %bmenudir/%name-kgoldrunner
# %%_datadir/applnk/Games/Board/
%d2m %name-atlantik Amusement/Boards %bkdemenu/atlantik.desktop %bmenudir/%name-atlantik
%d2m %name-kbackgammon Amusement/Boards %bkdemenu/kbackgammon.desktop %bmenudir/%name-kbackgammon
%d2m %name-kbattleship Amusement/Boards %bkdemenu/kbattleship.desktop %bmenudir/%name-kbattleship
%d2m %name-kblackbox Amusement/Boards %bkdemenu/kblackbox.desktop %bmenudir/%name-kblackbox
%d2m %name-kmahjongg Amusement/Boards %bkdemenu/kmahjongg.desktop %bmenudir/%name-kmahjongg
%d2m %name-kreversi Amusement/Boards %bkdemenu/kreversi.desktop %bmenudir/%name-kreversi
%d2m %name-kshisen Amusement/Boards %bkdemenu/kshisen.desktop %bmenudir/%name-kshisen
%d2m %name-kwin4 Amusement/Boards %bkdemenu/kwin4.desktop %bmenudir/%name-kwin4
%d2m %name-kenolaba Amusement/Boards %bkdemenu/kenolaba.desktop %bmenudir/%name-kenolaba
# %%_datadir/applnk/Games/Card/
%d2m %name-kpat Amusement/Cards %bkdemenu/kpat.desktop %bmenudir/%name-kpat
%d2m %name-kpoker Amusement/Cards %bkdemenu/kpoker.desktop %bmenudir/%name-kpoker
%d2m %name-lskat Amusement/Cards %bkdemenu/lskat.desktop %bmenudir/%name-lskat
#%d2m %name-megami Amusement/Cards %bkdemenu/megami.desktop %bmenudir/%name-megami
# %%_datadir/applnk/Games/Strategy/
%d2m %name-katomic Amusement/Puzzles %bkdemenu/katomic.desktop %bmenudir/%name-katomic
%d2m %name-kjumpingcube Amusement/Strategy %bkdemenu/kjumpingcube.desktop %bmenudir/%name-kjumpingcube
%d2m %name-klines Amusement/Strategy %bkdemenu/klines.desktop %bmenudir/%name-klines
%d2m %name-kmines Amusement/Strategy %bkdemenu/kmines.desktop %bmenudir/%name-kmines
%d2m %name-konquest Amusement/Strategy %bkdemenu/konquest.desktop %bmenudir/%name-konquest
%d2m %name-ksame Amusement/Strategy %bkdemenu/ksame.desktop %bmenudir/%name-ksame
%d2m %name-ksokoban Amusement/Puzzles %bkdemenu/ksokoban.desktop %bmenudir/%name-ksokoban
# %%_datadir/applnk/Toys/
%d2m %name-ktuberling Amusement/Toys %bkdemenu/ktuberling.desktop %bmenudir/%name-ktuberling
%post libs
%post_ldconfig
%postun libs
%postun_ldconfig
%post atlantik
%post_ldconfig
%update_menus
%postun atlantik
%postun_ldconfig
%clean_menus
%post kenolaba
%update_menus
%postun kenolaba
%clean_menus
%post kasteroids
%update_menus
%postun kasteroids
%clean_menus
%post katomic
%update_menus
%postun katomic
%clean_menus
%post kbackgammon
%update_menus
%postun kbackgammon
%clean_menus
%post kbattleship
%update_menus
%postun kbattleship
%clean_menus
%post kblackbox
%update_menus
%postun kblackbox
%clean_menus
%post kfouleggs
%update_menus
%postun kfouleggs
%clean_menus
%post kbounce
%update_menus
%postun kbounce
%clean_menus
%post kjumpingcube
%update_menus
%postun kjumpingcube
%clean_menus
%post klickety
%update_menus
%postun klickety
%clean_menus
%post klines
%update_menus
%postun klines
%clean_menus
%post kmahjongg
%update_menus
%postun kmahjongg
%clean_menus
%post kmines
%update_menus
%postun kmines
%clean_menus
%post kolf
%post_ldconfig
%update_menus
%postun kolf
%postun_ldconfig
%clean_menus
%post konquest
%update_menus
%postun konquest
%clean_menus
%post kpat
%update_menus
%postun kpat
%clean_menus
%post kpoker
%update_menus
%postun kpoker
%clean_menus
%post kreversi
%update_menus
%postun kreversi
%clean_menus
%post ksame
%update_menus
%postun ksame
%clean_menus
%post kshisen
%update_menus
%postun kshisen
%clean_menus
%post ksirtet
%update_menus
%postun ksirtet
%clean_menus
%post ksmiletris
%update_menus
%postun ksmiletris
%clean_menus
%post ksnake
%update_menus
%postun ksnake
%clean_menus
%post ksokoban
%update_menus
%postun ksokoban
%clean_menus
%post kspaceduel
%update_menus
%postun kspaceduel
%clean_menus
%post ktron
%update_menus
%postun ktron
%clean_menus
%post ktuberling
%update_menus
%postun ktuberling
%clean_menus
%post kwin4
%update_menus
%postun kwin4
%clean_menus
%post lskat
%update_menus
%postun lskat
%clean_menus
%post megami
%update_menus
%postun megami
%clean_menus
%files
%files common
%files kgoldrunner
%_gamesbindir/kgoldrunner
%_datadir/apps/kgoldrunner
%_iconsdir/*/*/apps/kgoldrunner.png
%doc %_docdir/HTML/en/kgoldrunner
%kdemenu/KGoldrunner.desktop
%_menudir/%name-kgoldrunner
%files libs
%_libdir/libkdegames.so*
%_datadir/apps/kdegames
%_datadir/icons/*/*/actions/roll.png
%_datadir/icons/*/*/actions/highscore.png
%_datadir/icons/*/*/actions/endturn.png
%_datadir/apps/carddecks/cards-default
%files atlantik
%_gamesbindir/atlantik
%_libdir/libatlant*.so*
%_libdir/kde3/kio_atlantik.*
%_datadir/apps/atlantik
%_datadir/services/atlantik.protocol
%doc %_docdir/HTML/en/atlantik
%_iconsdir/*/*/*/atlantik.png
%kdemenu/atlantik.desktop
%_menudir/%name-atlantik
%files carddecks
%_datadir/apps/carddecks
%exclude %_datadir/apps/carddecks/cards-default
%files kenolaba
%_gamesbindir/kenolaba
%kdemenu/kenolaba.desktop
%_datadir/apps/kenolaba
%_datadir/icons/*/*/apps/kenolaba*
%doc %_docdir/HTML/en/kenolaba
%_menudir/%name-kenolaba
%files kasteroids
%_gamesbindir/kasteroids
%kdemenu/kasteroids.desktop
%_datadir/apps/kasteroids
%_datadir/icons/*/*/apps/kasteroids*
%doc %_docdir/HTML/en/kasteroids
%_menudir/%name-kasteroids
%files katomic
%_gamesbindir/katomic
%kdemenu/katomic.desktop
%_datadir/apps/katomic
%_datadir/icons/*/*/apps/katomic*
%doc %_docdir/HTML/en/katomic
%_menudir/%name-katomic
%files kbackgammon
%_gamesbindir/kbackgammon
#%_libdir/kbackgammon*
%kdemenu/kbackgammon.desktop
%_datadir/apps/kbackgammon
%_datadir/icons/*/*/apps/kbackgammon*
%doc %_docdir/HTML/en/kbackgammon
%_menudir/%name-kbackgammon
%files kbattleship
%kdemenu/kbattleship.desktop
%_datadir/apps/kbattleship
%_datadir/icons/*/*/apps/kbattleship*
%_gamesbindir/kbattleship
%doc %_docdir/HTML/en/kbattleship
%_menudir/%name-kbattleship
%files kblackbox
%_gamesbindir/kblackbox
%kdemenu/kblackbox.desktop
%_datadir/apps/kblackbox
%_datadir/icons/*/*/apps/kblackbox*
%doc %_docdir/HTML/en/kblackbox
%_menudir/%name-kblackbox
%files kfouleggs
%_gamesbindir/kfouleggs
%kdemenu/kfouleggs.desktop
%_datadir/apps/kfouleggs
%_iconsdir/*/*/*/kfouleggs.*
%doc %_docdir/HTML/en/kfouleggs
%_menudir/%name-kfouleggs
%files kbounce
%_gamesbindir/kbounce
%kdemenu/kbounce.desktop
%_datadir/apps/kbounce
%_datadir/icons/*/*/apps/kbounce*
%doc %_docdir/HTML/en/kbounce
%_menudir/%name-kbounce
%files kjumpingcube
%_gamesbindir/kjumpingcube
%kdemenu/kjumpingcube.desktop
%_datadir/apps/kjumpingcube
%_datadir/icons/*/*/apps/kjumpingcube*
%doc %_docdir/HTML/en/kjumpingcube
%_menudir/%name-kjumpingcube
%files klickety
%_gamesbindir/klickety
%_datadir/apps/klickety
%doc %_docdir/HTML/en/klickety
%kdemenu/klickety.desktop
%_menudir/%name-klickety
%files klines
%_gamesbindir/klines
%kdemenu/klines.desktop
%_datadir/apps/klines
%_datadir/icons/*/*/apps/klines*
%doc %_docdir/HTML/en/klines
%_menudir/%name-klines
%files kmahjongg
%_gamesbindir/kmahjongg
%kdemenu/kmahjongg.desktop
%_datadir/apps/kmahjongg
%_datadir/icons/*/*/apps/kmahjongg*
%_menudir/%name-kmahjongg
%files kmines
%_gamesbindir/kmines
%kdemenu/kmines.desktop
%_datadir/apps/kmines
%_datadir/icons/*/*/apps/kmines*
%doc %_docdir/HTML/en/kmines
%_menudir/%name-kmines
%files kolf
%_gamesbindir/kolf
%_libdir/libkdeinit_kolf.so*
%_libdir/libkolf.so*
%_libdir/kde3/kolf.*
%_datadir/apps/kolf
%_datadir/mimelnk/application/x-kolf.desktop
%_datadir/mimelnk/application/x-kourse.desktop
%doc %_docdir/HTML/en/kolf
%kdemenu/kolf.desktop
%_iconsdir/*/*/*/kolf.png
%_menudir/%name-kolf
%files konquest
%_gamesbindir/konquest
%kdemenu/konquest.desktop
%_datadir/apps/konquest
%_datadir/icons/*/*/apps/konquest*
%doc %_docdir/HTML/en/konquest
%_menudir/%name-konquest
%files kpat
%_gamesbindir/kpat
%kdemenu/kpat.desktop
%_datadir/apps/kpat
%_datadir/icons/*/*/apps/kpat*
%doc %_docdir/HTML/en/kpat
%_menudir/%name-kpat
%files kpoker
%_gamesbindir/kpoker
%kdemenu/kpoker.desktop
%_datadir/apps/kpoker
%_datadir/icons/*/*/apps/kpoker*
%doc %_docdir/HTML/en/kpoker
%_menudir/%name-kpoker
%files kreversi
%_gamesbindir/kreversi
%kdemenu/kreversi.desktop
%_datadir/apps/kreversi
%_datadir/icons/*/*/apps/kreversi*
%doc %_docdir/HTML/en/kreversi
%_menudir/%name-kreversi
%files ksame
%_gamesbindir/ksame
%kdemenu/ksame.desktop
%_datadir/apps/ksame
%_datadir/icons/*/*/apps/ksame*
%doc %_docdir/HTML/en/ksame
%_menudir/%name-ksame
%files kshisen
%_gamesbindir/kshisen
%kdemenu/kshisen.desktop
%_datadir/apps/kshisen
%_datadir/icons/*/*/apps/kshisen*
%doc %_docdir/HTML/en/kshisen
%_menudir/%name-kshisen
%files ksirtet
%_gamesbindir/ksirtet
%kdemenu/ksirtet.desktop
%_datadir/apps/ksirtet
%_datadir/icons/*/*/apps/ksirtet*
#%_libdir/libksirtet*
%doc %_docdir/HTML/en/ksirtet
%_menudir/%name-ksirtet
%files ksmiletris
%_gamesbindir/ksmiletris
%kdemenu/ksmiletris.desktop
%_datadir/apps/ksmiletris
%_datadir/icons/*/*/apps/ksmiletris*
%_menudir/%name-ksmiletris
%files ksnake
%_gamesbindir/ksnake
%kdemenu/ksnake.desktop
%_datadir/apps/ksnake
%_datadir/icons/*/*/apps/ksnake*
%doc %_docdir/HTML/en/ksnake
%_menudir/%name-ksnake
%files ksokoban
%_gamesbindir/ksokoban
%kdemenu/ksokoban.desktop
%_datadir/icons/*/*/apps/ksokoban*
%doc %_docdir/HTML/en/ksokoban
%_menudir/%name-ksokoban
%files kspaceduel
%_gamesbindir/kspaceduel
%kdemenu/kspaceduel.desktop
%_datadir/apps/kspaceduel
%_datadir/icons/*/*/apps/kspaceduel*
%doc %_docdir/HTML/en/kspaceduel
%_menudir/%name-kspaceduel
%files ktron
%_gamesbindir/ktron
%kdemenu/ktron.desktop
%_datadir/apps/ktron
%_datadir/icons/*/*/apps/ktron*
%doc %_docdir/HTML/en/ktron
%_menudir/%name-ktron
%files ktuberling
%_gamesbindir/ktuberling
%kdemenu/ktuberling.desktop
%_datadir/apps/ktuberling
%_datadir/icons/*/*/apps/ktuberling*
%_datadir/mimelnk/application/x-tuberling.desktop
%doc %_docdir/HTML/en/ktuberling
%_menudir/%name-ktuberling
%files kwin4
%_gamesbindir/kwin4*
%kdemenu/kwin4.desktop
%_datadir/apps/kwin4
%_datadir/icons/*/*/apps/kwin4*
%doc %_docdir/HTML/en/kwin4
%_menudir/%name-kwin4
%files lskat
%_gamesbindir/lskat*
%kdemenu/lskat.desktop
%_datadir/apps/lskat
%_datadir/icons/*/*/apps/lskat*
%doc %_docdir/HTML/en/lskat
%_menudir/%name-lskat
#%files megami
#%_gamesbindir/megami
#%_datadir/apps/megami
#%doc %_docdir/HTML/en/megami
#%_iconsdir/*/*/apps/megami.png
#%kdemenu/megami.desktop
#%_menudir/%name-megami
%files devel
%_includedir/*
%_docdir/HTML/en/kdegames-apidocs
%changelog
…
Полный changelog можно просмотреть здесь
%define qtdir /usr/lib/qt3
%define unstable 0
%add_findprov_lib_path %_libdir/kde3
%define kdemenu %_datadir/applications/kde
%define applnk %_datadir/applnk
%define bapplnk %buildroot/%_datadir/applnk
%define bmenudir %buildroot/%_menudir
%define bkdemenu %buildroot/%_datadir/applications/kde
%define d2m kdedesktop2mdkmenu.pl
Name: kdegames
Summary: KDE - Games
Version: 3.3.2
Release: alt0.0.M24
Group: Graphical desktop/KDE
Url: http://www.kde.org/
License: GPL
Requires: %name-atlantik = %version-%release
Requires: %name-carddecks = %version-%release
Requires: %name-kasteroids = %version-%release
Requires: %name-katomic = %version-%release
Requires: %name-kbackgammon = %version-%release
Requires: %name-kbattleship = %version-%release
Requires: %name-kblackbox = %version-%release
Requires: %name-kbounce = %version-%release
Requires: %name-kenolaba = %version-%release
Requires: %name-kfouleggs = %version-%release
Requires: %name-kgoldrunner = %version-%release
Requires: %name-kjumpingcube = %version-%release
Requires: %name-klickety = %version-%release
Requires: %name-klines = %version-%release
Requires: %name-kmahjongg = %version-%release
Requires: %name-kmines = %version-%release
Requires: %name-kolf = %version-%release
Requires: %name-konquest = %version-%release
Requires: %name-kpat = %version-%release
Requires: %name-kpoker = %version-%release
Requires: %name-kreversi = %version-%release
Requires: %name-ksame = %version-%release
Requires: %name-kshisen = %version-%release
Requires: %name-ksirtet = %version-%release
Requires: %name-ksmiletris = %version-%release
Requires: %name-ksnake = %version-%release
Requires: %name-ksokoban = %version-%release
Requires: %name-kspaceduel = %version-%release
Requires: %name-ktron = %version-%release
Requires: %name-ktuberling = %version-%release
Requires: %name-kwin4 = %version-%release
Requires: %name-libs = %version-%release
Requires: %name-lskat = %version-%release
Source: kdegames-%version.tar.bz2
#Source: kdegames-3.0.98.tar.bz2
# ALT
Patch1: 3.2.0-flags.patch
Patch2: kpat-3.2.3-fix-find-wallpaper.patch
# Automatically added by buildreq on Mon Apr 08 2002
#BuildRequires: XFree86-devel XFree86-libs freetype2 gcc-c++ kde-common kdebase kdelibs-devel kdelibs-sound-devel libalsa-devel libarts-devel libaudiofile-devel libjpeg-devel liblcms libmng libpng-devel libqt3-devel libstdc++-devel zlib-devel
BuildRequires: XFree86-devel XFree86-libs freetype2
BuildRequires: gcc-c++ kde-common libarts-qtmcop-devel
BuildRequires: libalsa-devel kernel-headers-alsa libarts-devel libaudiofile-devel libjpeg-devel
BuildRequires: liblcms libmng libpng-devel libqt3-devel libstdc++-devel zlib-devel
BuildRequires: fontconfig-devel, libart_lgpl-devel
BuildRequires: libmad-devel libvorbis-devel xml-utils libaudio-devel
#BuildRequires: kdebase
BuildRequires: kdelibs-devel-cxx = %__gcc_version_base
BuildRequires: kdelibs >= 3.0.0 kdelibs-devel >= 3.0.0
%description
Games for the K Desktop Environment.
%package common
Summary: Common empty package for %name
Group: Graphical desktop/KDE
Requires: kde-common >= 3.2
Conflicts: kdegames <= 3.0
#
%description common
Common empty package for %name
%package devel
Summary: Headers files for kdegames
Group: Development/KDE and QT
Requires: kdegames-atlantik = %version-%release, kdegames-kolf = %version-%release
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description devel
Headers files needed to build applications based on kdegames applications.
%package libs
Summary: Gaming libraries for KDE
Group: System/Libraries
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description libs
KDE gaming libraries.
This package includes libkdegames
(a library providing functionality commonly needed by games)
and libkdehighscores (highscore handling library).
%package kgoldrunner
Summary: A game of action and puzzle solving
Group: Games/Boards
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description kgoldrunner
KGoldrunner, a game of action and puzzle solving.
Run through the maze, dodge your enemies,
collect all the gold and climb up to the next level.
%package atlantik
Summary: Monopoly like games client for KDE
Group: Games/Boards
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description atlantik
Monopoly like games client for KDE
%package carddecks
Summary: Card decks for KDE games
Group: Games/Cards
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description carddecks
Several different collections of card images for use by KDE games.
%package kenolaba
Summary: The Abalone board game for KDE
Group: Games/Boards
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description kenolaba
An implementation of the Abalone board game for KDE.
You can play both against the computer and against human players.
%package kasteroids
Summary: Asteroids game for KDE
Group: Games/Arcade
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description kasteroids
An Asteroids-like game for KDE. Shoot the asteroids before they hit you!
%package katomic
Summary: Katomic - a game for KDE
Group: Games/Puzzles
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description katomic
The aim of Atomic Entertainment is to build chemical molecules using basic
atoms you are given. The molecule being built is shown in a frame in the main
window.
Clicking on an atom will cause arrows to appear beside it. These arrows
show the direction the atom can be moved. After an arrow is clicked, the atom
will move in this direction until it reaches the next border or another atom. Iftwo atoms touch each other with the corresponding connectors, they form a
molecule. The atoms can only be moved one at a time.
%package kbackgammon
Summary: A Backgammon game for KDE
Group: Games/Boards
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description kbackgammon
A Backgammon game for KDE.
%package kbattleship
Summary: A Battleship game for KDE
Group: Games/Boards
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description kbattleship
A Battleship game for KDE. kbattleship can be played both against the computer
and against other human players.
%package kblackbox
Summary: A strategy game for KDE
Group: Games/Boards
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description kblackbox
A strategy game for KDE. Can you find out where the hidden balls are?
%package kfouleggs
Summary: A falling blocks game - arrange the blocks by color
Group: Games/Arcade
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description kfouleggs
A falling blocks game for KDE.
Arranging the falling blocks by color will make them disappear.
%package kbounce
Summary: A KDE game: Try catching the bouncing balls
Group: Games/Arcade
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description kbounce
A KDE game: Try catching the bouncing balls!
%package kjumpingcube
Summary: A strategy game. Try to make all fields show your color!
Group: Games/Strategy
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description kjumpingcube
A strategy game. Try to make all fields show your color!
kjumpingcube can be played both against the computer and against other
human players.
%package klickety
Summary: klickety game for KDE
Group: Games/Arcade
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description klickety
klickety game for KDE
%package klines
Summary: A strategy game: Try to arrange the marbles by color!
Group: Games/Strategy
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description klines
A strategy game: Try to arrange the marbles by color!
%package kmahjongg
Summary: A Mahjongg game for KDE
Group: Games/Boards
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description kmahjongg
A Majhongg game for KDE.
Make 2 identical blocks disappear.
%package kmines
Summary: A minefield game for KDE
Group: Games/Strategy
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description kmines
A minefield game for KDE - find all mines without blowing up!
%package kolf
Summary: KDE Golf miniature arcade
Group: Games/Arcade
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description kolf
KDE Golf miniature arcade
%package konquest
Summary: A conquest game for KDE
Group: Games/Strategy
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description konquest
A multiplayer strategy game for KDE - try to conquer all galaxies.
%package kpat
Summary: Some solitaire games for KDE
Group: Games/Cards
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description kpat
Some solitaire card games for KDE
%package kpoker
Summary: A Poker game for KDE
Group: Games/Cards
Requires: %name-common = %version-%release
#
%description kpoker
A Poker game for KDE
%package kreversi
Summary: A Reversi (Flip Side) game for KDE
Group: Games/Boards
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description kreversi
A Reversi (Flip Side) game for KDE
%package ksame
Summary: A strategy game for KDE - connect as many balls of the same color as possible
Group: Games/Strategy
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description ksame
A strategy game for KDE - connect as many balls of the same color as possible
%package kshisen
Summary: Shisen Sho (a Mahjongg-like game) for KDE
Group: Games/Boards
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description kshisen
Shisen Sho (a Mahjongg-like game) for KDE
%package ksirtet
Summary: A falling blocks game for KDE
Group: Games/Arcade
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description ksirtet
Make the falling blocks disappear by arranging them in lines
%package ksmiletris
Summary: A falling blocks game for KDE
Group: Games/Arcade
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description ksmiletris
Make the falling blocks disappear - finding out how to do it is half the
fun. ;)
%package ksnake
Summary: A snake game for KDE
Group: Games/Arcade
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description ksnake
A snake game for KDE - collect all apples, but don't crash into the walls!
%package ksokoban
Summary: A Sokoban (move chests to the correct location) game for KDE
Group: Games/Puzzles
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description ksokoban
A Sokoban (move chests to the correct location) game for KDE
%package kspaceduel
Summary: A space duel game for KDE
Group: Games/Arcade
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description kspaceduel
A space duel game for KDE.
kspaceduel can be played both against other humans and against the computer.
%package ktron
Summary: A Tron game for KDE - make the opponent crash into a wall first!
Group: Games/Arcade
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description ktron
A Tron game for KDE - make the opponent crash into a wall first!
ktron can be played both against other humans and against the computer.
%package ktuberling
Summary: Create a potato man
Group: Toys
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description ktuberling
Create a potato man - place eyes, nose, mouth, eyebrows etc. on a potato.
%package kwin4
Summary: Connect 4 game for KDE
Group: Games/Boards
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description kwin4
An implementation of the Connect 4 board game for KDE
%package lskat
Summary: A card game for KDE, based on the German "Offiziersskat" game
Group: Games/Cards
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description lskat
Lt. Skat is a card game for KDE, based on the German "Offiziersskat" game,
a 2 player variant of the Skat game.
lskat can be played against the computer.
%package megami
Summary: blackjack card game for KDE
Group: Games/Boards
Requires: %{get_dep kdelibs}
Requires: %name-common = %version-%release
#
%description megami
blackjack card game for KDE
%prep
%setup -q -n kdegames-%version
#%setup -q -n kdegames-3.0.98
%patch1 -p1
%patch2 -p1
perl -pi -e "s|Icon=klickety|Icon=filenew|" klickety/klickety.desktop
subst "s/\(Wl,--no-undefined\)/-Wl,--warn-unresolved-symbols \1/g" admin/acinclude.m4.in
subst "s/\-lkdeui/-lkdeui -lpthread/g" admin/acinclude.m4.in
subst "s/\.la/.so/g" admin/acinclude.m4.in
make -f admin/Makefile.common cvs ||:
%build
rm -rf %buildroot
export QTDIR=%qtdir
export KDEDIR=%prefix
export PATH=$QTDIR/bin:$KDEDIR/bin:$PATH
export LD_LIBRARY_PATH=$QTDIR/lib:$KDEDIR/lib:$LD_LIBRARY_PATH
export LDFLAGS="-L%buildroot/%_libdir -L%buildroot/%_libdir/kde3 -L%_libdir"
%configure \
--bindir=%_gamesbindir \
%if %unstable
--enable-debug=full \
%else
--disable-debug \
%endif
--enable-final \
--enable-shared \
--disable-static \
--disable-objprelink \
--disable-embedded \
--disable-qtopia \
--disable-rpath \
--with-gnu-ld \
--with-pic \
--program-transform-name="" \
--with-xinerama
%make_build
%make_build -C atlantik
%make_build apidox
%install
%if %unstable
%set_strip_method none
%endif
export PATH=%_bindir:$PATH
%make install DESTDIR=%buildroot bindir=%_gamesbindir
%make install DESTDIR=%buildroot bindir=%_gamesbindir -C atlantik
%make DESTDIR=%buildroot install-apidox
# Install LMDK menu structure
install -d %buildroot/%_menudir/
# %%_datadir/applnk/Games/Arcade/
%d2m %name-klickety Amusement/Arcade %bkdemenu/klickety.desktop %bmenudir/%name-klickety
%d2m %name-kolf Amusement/Arcade %bkdemenu/kolf.desktop %bmenudir/%name-kolf
%d2m %name-kasteroids Amusement/Arcade %bkdemenu/kasteroids.desktop %bmenudir/%name-kasteroids
%d2m %name-kfouleggs Amusement/Arcade %bkdemenu/kfouleggs.desktop %bmenudir/%name-kfouleggs
%d2m %name-kbounce Amusement/Arcade %bkdemenu/kbounce.desktop %bmenudir/%name-kbounce
%d2m %name-ksirtet Amusement/Arcade %bkdemenu/ksirtet.desktop %bmenudir/%name-ksirtet
%d2m %name-ksmiletris Amusement/Arcade %bkdemenu/ksmiletris.desktop %bmenudir/%name-ksmiletris
%d2m %name-ksnake Amusement/Arcade %bkdemenu/ksnake.desktop %bmenudir/%name-ksnake
%d2m %name-kspaceduel Amusement/Arcade %bkdemenu/kspaceduel.desktop %bmenudir/%name-kspaceduel
%d2m %name-ktron Amusement/Arcade %bkdemenu/ktron.desktop %bmenudir/%name-ktron
%d2m %name-kgoldrunner Amusement/Arcade %bkdemenu/KGoldrunner.desktop %bmenudir/%name-kgoldrunner
# %%_datadir/applnk/Games/Board/
%d2m %name-atlantik Amusement/Boards %bkdemenu/atlantik.desktop %bmenudir/%name-atlantik
%d2m %name-kbackgammon Amusement/Boards %bkdemenu/kbackgammon.desktop %bmenudir/%name-kbackgammon
%d2m %name-kbattleship Amusement/Boards %bkdemenu/kbattleship.desktop %bmenudir/%name-kbattleship
%d2m %name-kblackbox Amusement/Boards %bkdemenu/kblackbox.desktop %bmenudir/%name-kblackbox
%d2m %name-kmahjongg Amusement/Boards %bkdemenu/kmahjongg.desktop %bmenudir/%name-kmahjongg
%d2m %name-kreversi Amusement/Boards %bkdemenu/kreversi.desktop %bmenudir/%name-kreversi
%d2m %name-kshisen Amusement/Boards %bkdemenu/kshisen.desktop %bmenudir/%name-kshisen
%d2m %name-kwin4 Amusement/Boards %bkdemenu/kwin4.desktop %bmenudir/%name-kwin4
%d2m %name-kenolaba Amusement/Boards %bkdemenu/kenolaba.desktop %bmenudir/%name-kenolaba
# %%_datadir/applnk/Games/Card/
%d2m %name-kpat Amusement/Cards %bkdemenu/kpat.desktop %bmenudir/%name-kpat
%d2m %name-kpoker Amusement/Cards %bkdemenu/kpoker.desktop %bmenudir/%name-kpoker
%d2m %name-lskat Amusement/Cards %bkdemenu/lskat.desktop %bmenudir/%name-lskat
#%d2m %name-megami Amusement/Cards %bkdemenu/megami.desktop %bmenudir/%name-megami
# %%_datadir/applnk/Games/Strategy/
%d2m %name-katomic Amusement/Puzzles %bkdemenu/katomic.desktop %bmenudir/%name-katomic
%d2m %name-kjumpingcube Amusement/Strategy %bkdemenu/kjumpingcube.desktop %bmenudir/%name-kjumpingcube
%d2m %name-klines Amusement/Strategy %bkdemenu/klines.desktop %bmenudir/%name-klines
%d2m %name-kmines Amusement/Strategy %bkdemenu/kmines.desktop %bmenudir/%name-kmines
%d2m %name-konquest Amusement/Strategy %bkdemenu/konquest.desktop %bmenudir/%name-konquest
%d2m %name-ksame Amusement/Strategy %bkdemenu/ksame.desktop %bmenudir/%name-ksame
%d2m %name-ksokoban Amusement/Puzzles %bkdemenu/ksokoban.desktop %bmenudir/%name-ksokoban
# %%_datadir/applnk/Toys/
%d2m %name-ktuberling Amusement/Toys %bkdemenu/ktuberling.desktop %bmenudir/%name-ktuberling
%post libs
%post_ldconfig
%postun libs
%postun_ldconfig
%post atlantik
%post_ldconfig
%update_menus
%postun atlantik
%postun_ldconfig
%clean_menus
%post kenolaba
%update_menus
%postun kenolaba
%clean_menus
%post kasteroids
%update_menus
%postun kasteroids
%clean_menus
%post katomic
%update_menus
%postun katomic
%clean_menus
%post kbackgammon
%update_menus
%postun kbackgammon
%clean_menus
%post kbattleship
%update_menus
%postun kbattleship
%clean_menus
%post kblackbox
%update_menus
%postun kblackbox
%clean_menus
%post kfouleggs
%update_menus
%postun kfouleggs
%clean_menus
%post kbounce
%update_menus
%postun kbounce
%clean_menus
%post kjumpingcube
%update_menus
%postun kjumpingcube
%clean_menus
%post klickety
%update_menus
%postun klickety
%clean_menus
%post klines
%update_menus
%postun klines
%clean_menus
%post kmahjongg
%update_menus
%postun kmahjongg
%clean_menus
%post kmines
%update_menus
%postun kmines
%clean_menus
%post kolf
%post_ldconfig
%update_menus
%postun kolf
%postun_ldconfig
%clean_menus
%post konquest
%update_menus
%postun konquest
%clean_menus
%post kpat
%update_menus
%postun kpat
%clean_menus
%post kpoker
%update_menus
%postun kpoker
%clean_menus
%post kreversi
%update_menus
%postun kreversi
%clean_menus
%post ksame
%update_menus
%postun ksame
%clean_menus
%post kshisen
%update_menus
%postun kshisen
%clean_menus
%post ksirtet
%update_menus
%postun ksirtet
%clean_menus
%post ksmiletris
%update_menus
%postun ksmiletris
%clean_menus
%post ksnake
%update_menus
%postun ksnake
%clean_menus
%post ksokoban
%update_menus
%postun ksokoban
%clean_menus
%post kspaceduel
%update_menus
%postun kspaceduel
%clean_menus
%post ktron
%update_menus
%postun ktron
%clean_menus
%post ktuberling
%update_menus
%postun ktuberling
%clean_menus
%post kwin4
%update_menus
%postun kwin4
%clean_menus
%post lskat
%update_menus
%postun lskat
%clean_menus
%post megami
%update_menus
%postun megami
%clean_menus
%files
%files common
%files kgoldrunner
%_gamesbindir/kgoldrunner
%_datadir/apps/kgoldrunner
%_iconsdir/*/*/apps/kgoldrunner.png
%doc %_docdir/HTML/en/kgoldrunner
%kdemenu/KGoldrunner.desktop
%_menudir/%name-kgoldrunner
%files libs
%_libdir/libkdegames.so*
%_datadir/apps/kdegames
%_datadir/icons/*/*/actions/roll.png
%_datadir/icons/*/*/actions/highscore.png
%_datadir/icons/*/*/actions/endturn.png
%_datadir/apps/carddecks/cards-default
%files atlantik
%_gamesbindir/atlantik
%_libdir/libatlant*.so*
%_libdir/kde3/kio_atlantik.*
%_datadir/apps/atlantik
%_datadir/services/atlantik.protocol
%doc %_docdir/HTML/en/atlantik
%_iconsdir/*/*/*/atlantik.png
%kdemenu/atlantik.desktop
%_menudir/%name-atlantik
%files carddecks
%_datadir/apps/carddecks
%exclude %_datadir/apps/carddecks/cards-default
%files kenolaba
%_gamesbindir/kenolaba
%kdemenu/kenolaba.desktop
%_datadir/apps/kenolaba
%_datadir/icons/*/*/apps/kenolaba*
%doc %_docdir/HTML/en/kenolaba
%_menudir/%name-kenolaba
%files kasteroids
%_gamesbindir/kasteroids
%kdemenu/kasteroids.desktop
%_datadir/apps/kasteroids
%_datadir/icons/*/*/apps/kasteroids*
%doc %_docdir/HTML/en/kasteroids
%_menudir/%name-kasteroids
%files katomic
%_gamesbindir/katomic
%kdemenu/katomic.desktop
%_datadir/apps/katomic
%_datadir/icons/*/*/apps/katomic*
%doc %_docdir/HTML/en/katomic
%_menudir/%name-katomic
%files kbackgammon
%_gamesbindir/kbackgammon
#%_libdir/kbackgammon*
%kdemenu/kbackgammon.desktop
%_datadir/apps/kbackgammon
%_datadir/icons/*/*/apps/kbackgammon*
%doc %_docdir/HTML/en/kbackgammon
%_menudir/%name-kbackgammon
%files kbattleship
%kdemenu/kbattleship.desktop
%_datadir/apps/kbattleship
%_datadir/icons/*/*/apps/kbattleship*
%_gamesbindir/kbattleship
%doc %_docdir/HTML/en/kbattleship
%_menudir/%name-kbattleship
%files kblackbox
%_gamesbindir/kblackbox
%kdemenu/kblackbox.desktop
%_datadir/apps/kblackbox
%_datadir/icons/*/*/apps/kblackbox*
%doc %_docdir/HTML/en/kblackbox
%_menudir/%name-kblackbox
%files kfouleggs
%_gamesbindir/kfouleggs
%kdemenu/kfouleggs.desktop
%_datadir/apps/kfouleggs
%_iconsdir/*/*/*/kfouleggs.*
%doc %_docdir/HTML/en/kfouleggs
%_menudir/%name-kfouleggs
%files kbounce
%_gamesbindir/kbounce
%kdemenu/kbounce.desktop
%_datadir/apps/kbounce
%_datadir/icons/*/*/apps/kbounce*
%doc %_docdir/HTML/en/kbounce
%_menudir/%name-kbounce
%files kjumpingcube
%_gamesbindir/kjumpingcube
%kdemenu/kjumpingcube.desktop
%_datadir/apps/kjumpingcube
%_datadir/icons/*/*/apps/kjumpingcube*
%doc %_docdir/HTML/en/kjumpingcube
%_menudir/%name-kjumpingcube
%files klickety
%_gamesbindir/klickety
%_datadir/apps/klickety
%doc %_docdir/HTML/en/klickety
%kdemenu/klickety.desktop
%_menudir/%name-klickety
%files klines
%_gamesbindir/klines
%kdemenu/klines.desktop
%_datadir/apps/klines
%_datadir/icons/*/*/apps/klines*
%doc %_docdir/HTML/en/klines
%_menudir/%name-klines
%files kmahjongg
%_gamesbindir/kmahjongg
%kdemenu/kmahjongg.desktop
%_datadir/apps/kmahjongg
%_datadir/icons/*/*/apps/kmahjongg*
%_menudir/%name-kmahjongg
%files kmines
%_gamesbindir/kmines
%kdemenu/kmines.desktop
%_datadir/apps/kmines
%_datadir/icons/*/*/apps/kmines*
%doc %_docdir/HTML/en/kmines
%_menudir/%name-kmines
%files kolf
%_gamesbindir/kolf
%_libdir/libkdeinit_kolf.so*
%_libdir/libkolf.so*
%_libdir/kde3/kolf.*
%_datadir/apps/kolf
%_datadir/mimelnk/application/x-kolf.desktop
%_datadir/mimelnk/application/x-kourse.desktop
%doc %_docdir/HTML/en/kolf
%kdemenu/kolf.desktop
%_iconsdir/*/*/*/kolf.png
%_menudir/%name-kolf
%files konquest
%_gamesbindir/konquest
%kdemenu/konquest.desktop
%_datadir/apps/konquest
%_datadir/icons/*/*/apps/konquest*
%doc %_docdir/HTML/en/konquest
%_menudir/%name-konquest
%files kpat
%_gamesbindir/kpat
%kdemenu/kpat.desktop
%_datadir/apps/kpat
%_datadir/icons/*/*/apps/kpat*
%doc %_docdir/HTML/en/kpat
%_menudir/%name-kpat
%files kpoker
%_gamesbindir/kpoker
%kdemenu/kpoker.desktop
%_datadir/apps/kpoker
%_datadir/icons/*/*/apps/kpoker*
%doc %_docdir/HTML/en/kpoker
%_menudir/%name-kpoker
%files kreversi
%_gamesbindir/kreversi
%kdemenu/kreversi.desktop
%_datadir/apps/kreversi
%_datadir/icons/*/*/apps/kreversi*
%doc %_docdir/HTML/en/kreversi
%_menudir/%name-kreversi
%files ksame
%_gamesbindir/ksame
%kdemenu/ksame.desktop
%_datadir/apps/ksame
%_datadir/icons/*/*/apps/ksame*
%doc %_docdir/HTML/en/ksame
%_menudir/%name-ksame
%files kshisen
%_gamesbindir/kshisen
%kdemenu/kshisen.desktop
%_datadir/apps/kshisen
%_datadir/icons/*/*/apps/kshisen*
%doc %_docdir/HTML/en/kshisen
%_menudir/%name-kshisen
%files ksirtet
%_gamesbindir/ksirtet
%kdemenu/ksirtet.desktop
%_datadir/apps/ksirtet
%_datadir/icons/*/*/apps/ksirtet*
#%_libdir/libksirtet*
%doc %_docdir/HTML/en/ksirtet
%_menudir/%name-ksirtet
%files ksmiletris
%_gamesbindir/ksmiletris
%kdemenu/ksmiletris.desktop
%_datadir/apps/ksmiletris
%_datadir/icons/*/*/apps/ksmiletris*
%_menudir/%name-ksmiletris
%files ksnake
%_gamesbindir/ksnake
%kdemenu/ksnake.desktop
%_datadir/apps/ksnake
%_datadir/icons/*/*/apps/ksnake*
%doc %_docdir/HTML/en/ksnake
%_menudir/%name-ksnake
%files ksokoban
%_gamesbindir/ksokoban
%kdemenu/ksokoban.desktop
%_datadir/icons/*/*/apps/ksokoban*
%doc %_docdir/HTML/en/ksokoban
%_menudir/%name-ksokoban
%files kspaceduel
%_gamesbindir/kspaceduel
%kdemenu/kspaceduel.desktop
%_datadir/apps/kspaceduel
%_datadir/icons/*/*/apps/kspaceduel*
%doc %_docdir/HTML/en/kspaceduel
%_menudir/%name-kspaceduel
%files ktron
%_gamesbindir/ktron
%kdemenu/ktron.desktop
%_datadir/apps/ktron
%_datadir/icons/*/*/apps/ktron*
%doc %_docdir/HTML/en/ktron
%_menudir/%name-ktron
%files ktuberling
%_gamesbindir/ktuberling
%kdemenu/ktuberling.desktop
%_datadir/apps/ktuberling
%_datadir/icons/*/*/apps/ktuberling*
%_datadir/mimelnk/application/x-tuberling.desktop
%doc %_docdir/HTML/en/ktuberling
%_menudir/%name-ktuberling
%files kwin4
%_gamesbindir/kwin4*
%kdemenu/kwin4.desktop
%_datadir/apps/kwin4
%_datadir/icons/*/*/apps/kwin4*
%doc %_docdir/HTML/en/kwin4
%_menudir/%name-kwin4
%files lskat
%_gamesbindir/lskat*
%kdemenu/lskat.desktop
%_datadir/apps/lskat
%_datadir/icons/*/*/apps/lskat*
%doc %_docdir/HTML/en/lskat
%_menudir/%name-lskat
#%files megami
#%_gamesbindir/megami
#%_datadir/apps/megami
#%doc %_docdir/HTML/en/megami
#%_iconsdir/*/*/apps/megami.png
#%kdemenu/megami.desktop
#%_menudir/%name-megami
%files devel
%_includedir/*
%_docdir/HTML/en/kdegames-apidocs
%changelog
…
Полный changelog можно просмотреть здесь