File kdegames4.spec of Package kdegames4-carddecks

#
# spec file for package kdegames4 (Version 4.1.3)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#



Name:           kdegames4
BuildRequires:  libkde4-devel oxygen-icon-theme
%if %suse_version > 1030
BuildRequires:  ggz-client-libs-devel
%endif
License:        GPL v2 or later
Group:          System/GUI/KDE
Summary:        General Data for KDE Games
Url:            http://www.kde.org
Version:        4.1.3
Release:        3
Source0:        kdegames-%version.tar.bz2
Source1:        _upstream
Patch:          4_1_BRANCH.diff
Patch1:         desktop-files.diff
Patch2:         revert-r822890.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires
Requires:       libkdegames4 = %version
Suggests:       kblocks
Suggests:       kde4-asteroids
Suggests:       kde4-bovo
Suggests:       kde4-katomic
Suggests:       kde4-kbattleship
Suggests:       kde4-kblackbox
Suggests:       kde4-kbounce
Suggests:       kde4-kbreakout
Suggests:       kde4-kdiamond
Suggests:       kde4-kfourinline
Suggests:       kde4-kgoldrunner
Suggests:       kde4-kiriki
Suggests:       kde4-klines
Suggests:       kde4-kmahjongg
Suggests:       kde4-kmines
Suggests:       kde4-knetwalk
Suggests:       kde4-kolf
Suggests:       kde4-kollision
Suggests:       kde4-konquest
Suggests:       kde4-kpat
Suggests:       kde4-kreversi
Suggests:       kde4-ksame
Suggests:       kde4-kshisen
Suggests:       kde4-ksirk
Suggests:       kde4-kspaceduel
Suggests:       kde4-ksudoku
Suggests:       kde4-ktuberling
Suggests:       kde4-kubrick
Suggests:       kde4-lskat
Suggests:       kde4-squares

%description
This package contains data which is required by the KDE games library.



Authors:
--------
    The KDE Team <kde@kde.org>

%prep
%setup -q -n kdegames-%version
%patch
%patch1
%patch2 -R

%build
  %cmake_kde4 -d build
  %make_jobs

%install
  cd build
  %makeinstall
  rm -rf $RPM_BUILD_ROOT%_kde_share_dir/apps/carddecks
  %create_subdir_filelist -d bovo
  %create_subdir_filelist -d katomic
  %create_subdir_filelist -d kbattleship
  %create_subdir_filelist -d kblackbox
  %create_subdir_filelist -d kblocks
  %create_subdir_filelist -d kbounce
  %create_subdir_filelist -d kbreakout
  %create_subdir_filelist -d kdiamond
  %create_subdir_filelist -d kfourinline
  %create_subdir_filelist -d kgoldrunner
  %create_subdir_filelist -d kiriki
  %create_subdir_filelist -d kjumpingcube
  %create_subdir_filelist -d klines
  %create_subdir_filelist -d kmahjongg
  %create_subdir_filelist -d kmines
  %create_subdir_filelist -d knetwalk
  %create_subdir_filelist -d kolf
  %create_subdir_filelist -d kollision
  %create_subdir_filelist -d konquest
  %create_subdir_filelist -d kpat
  %create_subdir_filelist -d kreversi
  %create_subdir_filelist -d ksame
  %create_subdir_filelist -d kshisen
  %create_subdir_filelist -d ksirk
  %create_subdir_filelist -d kspaceduel
  %create_subdir_filelist -d ksquares
  %create_subdir_filelist -d ksudoku
  %create_subdir_filelist -d ktuberling
  %create_subdir_filelist -d kubrick
  %create_subdir_filelist -d libkdegames -v libkdegames.devel
  %create_subdir_filelist -d libkmahjongg -f kmahjongg
  %create_subdir_filelist -d lskat
  cd ..
  sed -ri s,.*/usr/share/kde4/apps/carddecks.*,, filelists/libkdegames
  %create_exclude_filelist
  %suse_update_desktop_file -r KGoldrunner     Game ArcadeGame
  %suse_update_desktop_file -r kspaceduel      Game ArcadeGame
  %suse_update_desktop_file -r ktuberling      Game KidsGame
  %suse_update_desktop_file -r kblackbox       Game BoardGame
  %suse_update_desktop_file -r kmahjongg       Game BoardGame
  %suse_update_desktop_file -r kreversi        Game BoardGame
  %suse_update_desktop_file -r kshisen         Game BoardGame
  %suse_update_desktop_file -r kfourinline     Game BoardGame
  %suse_update_desktop_file -r kpat            Game CardGame
  %suse_update_desktop_file -r lskat           Game CardGame
  %suse_update_desktop_file -r katomic         Game LogicGame
  %suse_update_desktop_file -r klines          Game LogicGame
  %suse_update_desktop_file -r knetwalk KNetwalk "Tactical Game" Game LogicGame
  %suse_update_desktop_file -r kmines          Game LogicGame
  %suse_update_desktop_file -r konquest        Game LogicGame
  %suse_update_desktop_file -r ksame           Game LogicGame
  %suse_update_desktop_file -r kbounce         Game LogicGame
  %suse_update_desktop_file -r kolf            Game SportsGame
  %suse_update_desktop_file -r kiriki          Game BoardGame
  %suse_update_desktop_file -r ksquares        Game BoardGame
  %suse_update_desktop_file -r kbattleship     Game BoardGame
  %suse_update_desktop_file -G "Sudoku Puzzles" ksudoku Game LogicGame
  %kde_post_install

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%clean
  rm -rf $RPM_BUILD_ROOT

%package -n libkdegames4
License:        LGPL v2.1 or later
Group:          System/GUI/KDE
Summary:        Library for KDE Games
Requires:       kdegames4-carddecks-default = %version
%if %suse_version > 1030
Requires:       ggz-client-libs
%endif
Recommends:     kdegames4-carddecks-other = %version

%description -n libkdegames4
This package contains the KDE games library.



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n libkdegames4 -p /sbin/ldconfig

%postun -n libkdegames4 -p /sbin/ldconfig

%files -n libkdegames4 -f filelists/libkdegames
%defattr(-,root,root)
%doc COPYING COPYING.DOC COPYING.LIB README
%dir /usr/share/kde4/apps/kdegames
%dir /usr/share/kde4/apps/kdegames/pics

%package -n libkdegames4-devel
License:        LGPL v2.1 or later
Group:          System/GUI/KDE
Summary:        Library for KDE Games: Build Environment
Requires:       libkdegames4 = %version

%description -n libkdegames4-devel
This package contains all necessary files and libraries needed to
develop KDE games.



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n libkdegames4-devel -p /sbin/ldconfig

%postun -n libkdegames4-devel -p /sbin/ldconfig

%files -n libkdegames4-devel -f filelists/libkdegames.devel
%defattr(-,root,root)
%doc COPYING COPYING.DOC COPYING.LIB README
%dir /usr/include/highscore
%dir /usr/include/KDE/KGame
%dir /usr/include/digits
%dir /usr/include/kgame
%dir /usr/include/kggzgames
%dir /usr/include/kggzmod
%dir /usr/include/kggznet
/usr/share/kde4/apps/cmake/modules/FindLibKDEGames.cmake
/usr/share/kde4/apps/cmake/modules/GGZ.cmake

%package -n kde4-katomic
License:        GPL v2 or later
Group:          Amusements/Games/Board/Puzzle
Summary:        Sokoban-like logic game
%kde4_runtime_requires

%description -n kde4-katomic
KAtomic is a thinking game where you have to form chemical molecules
out of atoms. This is done with a nice graphical interface where you
can move each atom in a labyrinth.



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kde4-katomic -p /sbin/ldconfig

%postun -n kde4-katomic -p /sbin/ldconfig

%files -n kde4-katomic -f filelists/katomic
%defattr(-,root,root)
%doc COPYING COPYING.DOC COPYING.LIB README

%package -n kde4-kbattleship
License:        GPL v2 or later
Group:          Amusements/Games/Board/Other
Summary:        Battleship game
%kde4_runtime_requires

%description -n kde4-kbattleship
KBatteship is a KDE implentation of the popular game "Battleship" where
you have to try to sink the opponents ships. The game can also be
played with friends online via the internet.



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kde4-kbattleship -p /sbin/ldconfig

%postun -n kde4-kbattleship -p /sbin/ldconfig

%files -n kde4-kbattleship -f filelists/kbattleship
%defattr(-,root,root)
%doc COPYING COPYING.DOC COPYING.LIB README

%package -n kblocks
License:        LGPL v2.1 or later
Group:          Amusements/Games/Strategy/Real Time
Summary:        KBlocks - classic falling blocks game
%kde4_runtime_requires

%description -n kblocks
KBlocks is the KDE version of the classic falling blocks game



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kblocks -p /sbin/ldconfig

%postun -n kblocks -p /sbin/ldconfig

%files -n kblocks -f filelists/kblocks
%defattr(-,root,root)
%doc COPYING COPYING.DOC COPYING.LIB README

%package -n kde4-kbreakout
License:        LGPL v2.1 or later
Group:          Amusements/Games/Action/Breakout
Summary:        A breakout like game
%kde4_runtime_requires

%description -n kde4-kbreakout
KBreakout is the KDE version of a Breakout like game



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kde4-kbreakout -p /sbin/ldconfig

%postun -n kde4-kbreakout -p /sbin/ldconfig

%files -n kde4-kbreakout -f filelists/kbreakout
%defattr(-,root,root)
%doc COPYING COPYING.DOC COPYING.LIB README

%package -n kde4-ksirk
License:        LGPL v2.1 or later
Group:          Amusements/Games/Strategy/Turn Based
Summary:        ksirk
%kde4_runtime_requires

%description -n kde4-ksirk
ksirk is a computerized version of a well known strategy game.



Authors:
--------
    The KDE Team <kde@kde.org>

%postun -n kde4-ksirk -p /sbin/ldconfig

%files -n kde4-ksirk -f filelists/ksirk
%defattr(-,root,root)
%doc COPYING COPYING.DOC COPYING.LIB README

%package -n kde4-kollision
License:        LGPL v2.1 or later
Group:          Amusements/Games/Action/Arcade
Summary:        Kollision
%kde4_runtime_requires

%description -n kde4-kollision
KDE version of a classic arcade game



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kde4-kollision -p /sbin/ldconfig

%postun -n kde4-kollision -p /sbin/ldconfig

%files -n kde4-kollision -f filelists/kollision
%defattr(-,root,root)
%doc COPYING COPYING.DOC COPYING.LIB README

%package -n kde4-kdiamond
License:        LGPL v2.1 or later
Group:          Amusements/Games/Board/Puzzle
Summary:        Single player puzzle game
%kde4_runtime_requires

%description -n kde4-kdiamond
The object of the game is to build lines of three similar diamonds.



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kde4-kdiamond -p /sbin/ldconfig

%postun -n kde4-kdiamond -p /sbin/ldconfig

%files -n kde4-kdiamond -f filelists/kdiamond
%defattr(-,root,root)
%doc COPYING COPYING.DOC COPYING.LIB README

%package -n kde4-kubrick
License:        LGPL v2.1 or later
Group:          Amusements/Games/Logic
Summary:        Kubrick is a game based on Rubik's Cube
%kde4_runtime_requires

%description -n kde4-kubrick
This package contains the KDE game Kubrick which is based on Rubik's
Cube.



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kde4-kubrick -p /sbin/ldconfig

%postun -n kde4-kubrick -p /sbin/ldconfig

%files -n kde4-kubrick -f filelists/kubrick
%defattr(-,root,root)

%package -n kde4-kblackbox
License:        GPL v2 or later
Group:          Amusements/Games/Board/Puzzle
Summary:        Logic game
%kde4_runtime_requires

%description -n kde4-kblackbox
KBlackbox is a graphical logical game, inspired by emacs' blackbox. It
is a game of hide and seek played on an grid of boxes.



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kde4-kblackbox -p /sbin/ldconfig

%postun -n kde4-kblackbox -p /sbin/ldconfig

%files -n kde4-kblackbox -f filelists/kblackbox
%defattr(-,root,root)
%doc COPYING COPYING.DOC COPYING.LIB README

%package -n kde4-kbounce
License:        GPL v2 or later
Group:          Amusements/Games/Action/Other
Summary:        Bounce ball game
%kde4_runtime_requires

%description -n kde4-kbounce
Your task in KBounce (Jezz Ball) is to catch several moving balls in a
rectangular game field by building walls. The motivation consists of
finding new and advanced strategies to catch as many balls as possible.



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kde4-kbounce -p /sbin/ldconfig

%postun -n kde4-kbounce -p /sbin/ldconfig

%files -n kde4-kbounce -f filelists/kbounce
%defattr(-,root,root)
%doc COPYING COPYING.DOC COPYING.LIB README

%package -n kde4-kgoldrunner
License:        GPL v2 or later
Group:          Amusements/Games/Action/Arcade
Summary:        Action & Puzzle Solving Game
%kde4_runtime_requires

%description -n kde4-kgoldrunner
KGoldrunner is a game of action and puzzle solving



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kde4-kgoldrunner -p /sbin/ldconfig

%postun -n kde4-kgoldrunner -p /sbin/ldconfig

%files -n kde4-kgoldrunner -f filelists/kgoldrunner
%defattr(-,root,root)
%doc COPYING COPYING.DOC COPYING.LIB README

%package -n kde4-klines
License:        GPL v2 or later
Group:          Amusements/Games/Board/Puzzle
Summary:        Tactical game
%kde4_runtime_requires

%description -n kde4-klines
Klines is the KDE version of the russian game Lines where you have to
align five game pieces of the same colour in one line to remove them
from the game board. Similar to tetris you fight new pieces appearing.



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kde4-klines -p /sbin/ldconfig

%postun -n kde4-klines -p /sbin/ldconfig

%files -n kde4-klines -f filelists/klines
%defattr(-,root,root)
%doc COPYING COPYING.DOC COPYING.LIB README

%package -n kde4-kmahjongg
License:        GPL v2 or later
Group:          Amusements/Games/Board/Puzzle
Summary:        Mahjongg game
%kde4_runtime_requires

%description -n kde4-kmahjongg
KMahjongg is a clone of the well known tile based patience game of the
same name. In the game you have to empty a game board filled with piece
by removing pieces of the same type.



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kde4-kmahjongg -p /sbin/ldconfig

%postun -n kde4-kmahjongg -p /sbin/ldconfig

%files -n kde4-kmahjongg -f filelists/kmahjongg
%defattr(-,root,root)
%doc COPYING COPYING.DOC COPYING.LIB README
%dir %_kde_share_dir/apps/kmahjongglib
%dir /usr/share/kde4/apps/kmahjongglib/backgrounds
%dir /usr/share/kde4/apps/kmahjongglib/tilesets

%package -n kde4-kmines
License:        GPL v2 or later
Group:          Amusements/Games/Board/Puzzle
Summary:        Minesweeper-like game
%kde4_runtime_requires
Provides:       kdegames3:/opt/kde3/bin/kmines = 3.5.1

%description -n kde4-kmines
KMines is the classical Minesweeper game where you have to find mines
by logical deduction.



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kde4-kmines -p /sbin/ldconfig

%postun -n kde4-kmines -p /sbin/ldconfig

%files -n kde4-kmines -f filelists/kmines
%defattr(-,root,root)
%doc COPYING COPYING.DOC COPYING.LIB README
%config %_kde_config_dir/kmines.knsrc

%package -n kde4-kjumpingcube
License:        GPL v2 or later
Group:          Amusements/Games/Board/Puzzle
Summary:        Tactical board game
%kde4_runtime_requires

%description -n kde4-kjumpingcube
KJumpingCube is a tactical one or two-player game. The playing field
consists of squares that contains points which can be increased. By
this you can gain more fields and finally win the board over.



Authors:
--------
    The KDE Team <kde@kde.org>

%files -n kde4-kjumpingcube -f filelists/kjumpingcube
%defattr(-,root,root)
%doc COPYING COPYING.DOC COPYING.LIB README

%package -n kde4-knetwalk
License:        GPL v2 or later
Group:          Amusements/Games/Board/Puzzle
Summary:        Puzzle game
%kde4_runtime_requires

%description -n kde4-knetwalk
Turn the board pieces to get all computers connected.



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kde4-knetwalk -p /sbin/ldconfig

%postun -n kde4-knetwalk -p /sbin/ldconfig

%files -n kde4-knetwalk -f filelists/knetwalk
%defattr(-,root,root)
%doc COPYING COPYING.DOC COPYING.LIB README

%package -n kde4-kolf
License:        GPL v2 or later
Group:          Amusements/Games/Other
Summary:        Miniature golf game
%kde4_runtime_requires

%description -n kde4-kolf
Kolf is a miniature golf game for KDE.



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kde4-kolf -p /sbin/ldconfig

%postun -n kde4-kolf -p /sbin/ldconfig

%files -n kde4-kolf -f filelists/kolf
%defattr(-,root,root)
%doc COPYING COPYING.DOC COPYING.LIB README

%package -n kde4-konquest
License:        GPL v2 or later
Group:          Amusements/Games/Board/Card
Summary:        Galactic strategy game
%kde4_runtime_requires

%description -n kde4-konquest
This the KDE version of Gnu-Lactic Konquest, a multi-player strategy
game. The goal of the game is to expand your interstellar empire across
the galaxy.



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kde4-konquest -p /sbin/ldconfig

%postun -n kde4-konquest -p /sbin/ldconfig

%files -n kde4-konquest -f filelists/konquest
%defattr(-,root,root)
%doc COPYING COPYING.DOC COPYING.LIB README

%package -n kde4-kpat
License:        GPL v2 or later
Group:          Amusements/Games/Board/Card
Summary:        Patience card game
%kde4_runtime_requires
Provides:       kdegames3 = 3.5.1
Obsoletes:      kdegames3 <= 3.5.1

%description -n kde4-kpat
KPatience is a collection of various patience games known all over the
world. It includes Klondike, Freecell, Yukon, Forty and Eight and many
more. The game has nice graphics and many different carddecks.



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kde4-kpat -p /sbin/ldconfig

%postun -n kde4-kpat -p /sbin/ldconfig

%files -n kde4-kpat -f filelists/kpat
%defattr(-,root,root)
%doc COPYING COPYING.DOC COPYING.LIB README

%package -n kde4-kreversi
License:        GPL v2 or later
Group:          Amusements/Games/Board/Other
Summary:        Reversi board game
%kde4_runtime_requires

%description -n kde4-kreversi
KReversi is a board game game where two players have to gain the
majority of pieces on the board. This is done by tactically placing
ones pieces to turn over the opponents pieces.



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kde4-kreversi -p /sbin/ldconfig

%postun -n kde4-kreversi -p /sbin/ldconfig

%files -n kde4-kreversi -f filelists/kreversi
%defattr(-,root,root)
%doc COPYING COPYING.DOC COPYING.LIB README

%package -n kde4-ksame
License:        GPL v2 or later
Group:          Amusements/Games/Board/Other
Summary:        Strategic board game
%kde4_runtime_requires

%description -n kde4-ksame
KSame is a simple game played for the high score. It has been inspired
by SameGame, which is only really famous on the Macintosh.



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kde4-ksame -p /sbin/ldconfig

%postun -n kde4-ksame -p /sbin/ldconfig

%files -n kde4-ksame -f filelists/ksame
%defattr(-,root,root)
%doc COPYING COPYING.DOC COPYING.LIB README

%package -n kde4-kshisen
License:        GPL v2 or later
Group:          Amusements/Games/Board/Other
Summary:        Shisen-Sho Mahjongg-like game
%kde4_runtime_requires

%description -n kde4-kshisen
Shisen-Sho (KShishen) is a game similar to Mahjongg. The object of the
game is to remove all tiles from the field. This is done by removing
two tiles with of the same type until no tile is left.



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kde4-kshisen -p /sbin/ldconfig

%postun -n kde4-kshisen -p /sbin/ldconfig

%files -n kde4-kshisen -f filelists/kshisen
%defattr(-,root,root)
%doc COPYING COPYING.DOC COPYING.LIB README

%package -n kde4-kspaceduel
License:        GPL v2 or later
Group:          Amusements/Games/Action/Arcade
Summary:        Space arcade game
%kde4_runtime_requires

%description -n kde4-kspaceduel
KSpaceduel is a space arcade game for two players. However, one player
can be controlled by the computer. Each player controls a satellite
that flies around the sun. While doing so both players try not to
collide with anything but shoot at the other space ship.



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kde4-kspaceduel -p /sbin/ldconfig

%postun -n kde4-kspaceduel -p /sbin/ldconfig

%files -n kde4-kspaceduel -f filelists/kspaceduel
%defattr(-,root,root)
%doc COPYING COPYING.DOC COPYING.LIB README

%package -n kde4-ktuberling
License:        GPL v2 or later
Group:          Amusements/Toys/Other
Summary:        Potato drawing editor
%kde4_runtime_requires

%description -n kde4-ktuberling
KTuberling is a nice potato editor for kids. The game intended for
small children. Of course, it may be suitable for adults who have
remained young at heart. Eyes, mouths, mustache, and other parts of
face and goodies can be attached onto a potato-like guy.



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kde4-ktuberling -p /sbin/ldconfig

%postun -n kde4-ktuberling -p /sbin/ldconfig

%files -n kde4-ktuberling -f filelists/ktuberling
%defattr(-,root,root)
%doc COPYING COPYING.DOC COPYING.LIB README

%package -n kde4-kfourinline
License:        GPL v2 or later
Group:          Amusements/Toys/Other
Summary:        Four Wins game
Provides:       kde4-kwin4 = 3.97.1
Obsoletes:      kde4-kwin4 <= 3.97.1
%kde4_runtime_requires

%description -n kde4-kfourinline
Four wins is a two player board game which follows the rules for the
Connect Four (TM) board game where you have to align four pieces of the
same colour to win.



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kde4-kfourinline -p /sbin/ldconfig

%postun -n kde4-kfourinline -p /sbin/ldconfig

%files -n kde4-kfourinline -f filelists/kfourinline
%defattr(-,root,root)
%doc COPYING COPYING.DOC COPYING.LIB README

%package -n kde4-lskat
License:        GPL v2 or later
Group:          Amusements/Games/Board/Card
Summary:        German Skat game
%kde4_runtime_requires

%description -n kde4-lskat
Lieutenant Skat is a nice two player card game which follows the rules
for the German game (Offiziers)-Skat. The program includes many
different carddecks to choose. A computer opponent can play for any of
the players.



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kde4-lskat -p /sbin/ldconfig

%postun -n kde4-lskat -p /sbin/ldconfig

%files -n kde4-lskat -f filelists/lskat
%defattr(-,root,root)
%doc COPYING COPYING.DOC COPYING.LIB README

%package -n kde4-ksquares
License:        GPL v2 or later
Group:          Amusements/Games/Action/Arcade
Summary:        Strategic board game
%kde4_runtime_requires

%description -n kde4-ksquares
KSquares is an implementation of the popular paper based game squares.
You must draw lines to complete squares, the player with the most
squares wins. You can play with up to 4 players, any number of which
may be controlled by the computer.



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kde4-ksquares -p /sbin/ldconfig

%postun -n kde4-ksquares -p /sbin/ldconfig

%files -n kde4-ksquares -f filelists/ksquares
%defattr(-,root,root)

%package -n kde4-kiriki
License:        GPL v2 or later
Group:          Amusements/Games/Board/Other
Summary:        Yahtzee-like Game
%kde4_runtime_requires

%description -n kde4-kiriki
Kiriki is the KDE version of the dice game Yahtzee where you roll dices
to get higher scores in several combinations



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kde4-kiriki -p /sbin/ldconfig

%postun -n kde4-kiriki -p /sbin/ldconfig

%files -n kde4-kiriki -f filelists/kiriki
%defattr(-,root,root)

%package -n kde4-bovo
License:        GPL v2 or later
Group:          Amusements/Games/Board/Other
Summary:        Five-in-a-row Board Game
%kde4_runtime_requires

%description -n kde4-bovo
Bovo is a Gomoku (Connect Five, Five in a row, X and O, etc) game for
KDE.



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kde4-bovo -p /sbin/ldconfig

%postun -n kde4-bovo -p /sbin/ldconfig

%files -n kde4-bovo -f filelists/bovo
%defattr(-,root,root)

%package -n kde4-ksudoku
License:        GPL v2 or later
Group:          Amusements/Games/Board/Puzzle
Summary:        Generate and Solve Sudoku Puzzles in 2D or 3D
%kde4_runtime_requires
Obsoletes:      ksudoku <= 0.4
Provides:       ksudoku <= 0.4

%description -n kde4-ksudoku
KSudoku is a program that can generate and solve sudoku puzzles. The
word Sudoku means "single number in an alloted place" in Japanese. Some
cells are filled with a number at the beginnning: the remaining are to
be filled by the player using numbers from 1 to 9, without repeating a
number twice on each column, row, or subsquare.



Authors:
--------
    Francesco Rossi <redsh@email.it>

%post -n kde4-ksudoku -p /sbin/ldconfig

%postun -n kde4-ksudoku -p /sbin/ldconfig

%files -n kde4-ksudoku -f filelists/ksudoku
%defattr(-,root,root)

%files -f filelists/exclude
%defattr(-,root,root)
%doc COPYING COPYING.DOC COPYING.LIB README
%_kde_share_dir/apps/kdegames
#%doc %lang(en) /usr/share/doc/kde/HTML/en/kbackgammon

%changelog
* Thu Nov 20 2008 stbinner@suse.de
- add SLE provides/obsoletes
* Tue Nov 11 2008 coolo@suse.de
- manually adding r879382 to fix "ugly default card deck"
* Fri Oct 31 2008 dmueller@suse.de
- update to 4.1.3
  * see http://kde.org/announcements/changelogs/changelog4_1_2to4_1_3.php
* Thu Sep 25 2008 dmueller@suse.de
- update to 4.1.2
  * see http://kde.org/announcements/changelogs/changelog4_1_1to4_1_2.php
* Thu Sep 11 2008 stbinner@suse.de
- branch diff update (many kpat fixes)
- dump unnecssary requirements on empty kdegames4 package
* Thu Aug 28 2008 dmueller@suse.de
- update to 4.1.1
  * see http://kde.org/announcements/changelogs/changelog4_1to4_1_1.php
* Thu Jul 31 2008 dmueller@suse.de
- branch diff update
* Wed Jul 23 2008 dmueller@suse.de
- update to 4.1.0
* Fri Jul 18 2008 dmueller@suse.de
- update to 4.0.99
* Fri Jul 11 2008 dmueller@suse.de
- update to 4.0.98
* Mon Jul 07 2008 dmueller@suse.de
- update to 4.0.85
* Mon Jun 30 2008 stbinner@suse.de
- fix file list
* Thu Jun 26 2008 dmueller@suse.de
- update to 4.0.84
* Wed Jun 18 2008 dmueller@suse.de
- update to 4.0.83
* Tue Jun 10 2008 dmueller@suse.de
- update to 4.0.82
* Mon Jun 09 2008 dmueller@suse.de
- update to 4.0.81
* Tue Jun 03 2008 stbinner@suse.de
- fix default cardset of kpat
* Sun May 11 2008 coolo@suse.de
- do not display kpat debug messages (bnc#389167)
* Fri May 09 2008 dmueller@suse.de
- 4_0_BRANCH.diff update:
  * fix config saving in various games
* Tue May 06 2008 coolo@suse.de
- fix obsoletes for ksudoku
* Thu May 01 2008 dmueller@suse.de
- update to 4.0.4
  * http://www.kde.org/announcements/changelogs/changelog4_0_3to4_0_4.php
* Fri Apr 25 2008 dmueller@suse.de
- add missing obsoletes
* Mon Apr 21 2008 dmueller@suse.de
- fix file lists
* Sun Apr 13 2008 dmueller@suse.de
- update 4_0_BRANCH.diff to fix cmake 2.6 build
* Fri Apr 04 2008 wstephenson@suse.de
- Fix detection of GGZ libraries on factory
* Thu Mar 27 2008 dmueller@suse.de
- update to 4.0.3
* Tue Mar 11 2008 dmueller@suse.de
- typo fix
* Tue Mar 11 2008 dmueller@suse.de
- update 4_0_BRANCH.diff:
  * backport 784428 to fix klines bug 158123
* Wed Feb 27 2008 dmueller@suse.de
- update to 4.0.2
* Wed Feb 20 2008 coolo@suse.de
- backport some fix in trunk
* Fri Feb 15 2008 coolo@suse.de
- really fix kpat demo mode
* Wed Feb 13 2008 dmueller@suse.de
- 4_0_BRANCH.diff update to fix kpat demo mode
* Thu Jan 31 2008 dmueller@suse.de
- update to 4.0.1
* Sun Jan 20 2008 stbinner@suse.de
- update KDE_4_0_BRANCH.diff
* Sat Jan 05 2008 stbinner@suse.de
- update to 4.0 release
* Wed Jan 02 2008 stbinner@suse.de
- update to 3.97.2
* Mon Dec 17 2007 dmueller@suse.de
- update to 3.97.1
* Wed Dec 05 2007 dmueller@suse.de
- update to 3.97.0
* Tue Dec 04 2007 dmueller@suse.de
- update to 3.96.3
* Wed Nov 28 2007 dmueller@suse.de
- update to 3.96.2
* Wed Nov 21 2007 dmueller@suse.de
- update to 3.96.1
* Wed Nov 14 2007 dmueller@suse.de
- update to 3.96.0
* Wed Nov 07 2007 dmueller@suse.de
- update to 3.95.2
* Thu Nov 01 2007 dmueller@suse.de
- update to 3.95.1
* Fri Oct 26 2007 dmueller@suse.de
- update to KDE 4.0 beta4
* Sat Oct 20 2007 dmueller@suse.de
- update to 3.94.1
* Tue Oct 16 2007 dmueller@suse.de
- update to KDE 4.0 beta3
* Tue Oct 02 2007 stbinner@suse.de
- update to 3.93.0.svn720127
* Wed Sep 26 2007 stbinner@suse.de
- update to 3.93.0.svn717255
* Fri Sep 14 2007 stbinner@suse.de
- patch KMahjongg, KMines, KReversi and KPat to start with a bigger
  initial window size (#298995)
* Thu Sep 13 2007 stbinner@suse.de
- update to 3.93.0.svn712055
* Sat Sep 01 2007 stbinner@suse.de
- update to KDE 4.0 Beta 2
* Thu Aug 23 2007 stbinner@suse.de
- update to 3.92.0.svn703908
* Wed Aug 22 2007 stbinner@suse.de
- kpat's default carddeck changed last month, adapt split (#299574)
* Fri Aug 17 2007 stbinner@suse.de
- update to 3.92.0.svn697375
* Thu Aug 09 2007 stbinner@suse.de
- update to 3.92.0.svn697375
* Sat Jul 28 2007 stbinner@suse.de
- update to KDE 4.0 Beta 1
* Thu Jul 19 2007 stbinner@suse.de
- run suse_update_desktop_file macro on ksudoku.desktop
* Thu Jul 12 2007 stbinner@suse.de
- update to 3.91.0.svn685967
* Sat Jun 23 2007 stbinner@suse.de
- update to 3.90.1.svn679001
* Fri Jun 08 2007 stbinner@suse.de
- update to 3.90.1.svn670142
* Mon Jun 04 2007 dmueller@suse.de
- fix build
* Fri Jun 01 2007 coolo@suse.de
- simplify spec file by using macros from kde4-filesystem
- readd kjumpingcube, which was ported
* Mon May 28 2007 dmueller@suse.de
- update to 3.90.1.svn668119
* Mon May 07 2007 stbinner@suse.de
- update to new SVN snapshot (roughly KDE 4.0 Alpha)
* Fri Apr 27 2007 stbinner@suse.de
- initial package in abuild