Summary: K Desktop Environment - Games Name: kdegames Group: Amusements/Games Epoch: 6 Version: 3.5.3 Release: 3%{?dist} License: GPL URL: http://www.kde.org Source0: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) #Patch0: kde-libtool.patch Patch1: kdegames-3.1.1-konquest.patch BuildRequires: desktop-file-utils # FIXME: take this out when updates for 3.5.3 are ready-to-go! #BuildRequires: kdebase-devel >= 6:%{version} BuildRequires: kdebase-devel # FIXME: take this out when updates for 3.5.3 are ready-to-go! #Requires: kdebase >= 6:%{version} Requires: kdebase # Require its sub-packages Requires: %{name}-common Requires: %{name}-atlantik Requires: %{name}-cards-data Requires: %{name}-kasteroids Requires: %{name}-katomic Requires: %{name}-kbackgammon Requires: %{name}-kblackbox Requires: %{name}-kbounce Requires: %{name}-kenolaba Requires: %{name}-kfouleggs Requires: %{name}-kgoldrunner Requires: %{name}-kjumpingcube Requires: %{name}-klickety Requires: %{name}-klines Requires: %{name}-kmahjongg Requires: %{name}-kmines Requires: %{name}-knetwalk Requires: %{name}-kolf Requires: %{name}-konquest Requires: %{name}-kpat Requires: %{name}-kpoker Requires: %{name}-kreversi Requires: %{name}-ksame Requires: %{name}-kshisen Requires: %{name}-ksirtet Requires: %{name}-ksmiletris Requires: %{name}-ksnake Requires: %{name}-ksokoban Requires: %{name}-kspaceduel Requires: %{name}-ktron Requires: %{name}-ktuberling Requires: %{name}-kwin4 Requires: %{name}-lskat %description Games and gaming libraries for the K Desktop Environment. Included with this package are: atlantik, kasteroids, katomic, kbackgammon, kblackbox, kbounce, kenolaba, kfouleggs, kgoldrunner, kjumpingcube, klickety, klines, kmahjongg, kmines, knetwalk, kolf, konquest, kpat, kpoker, kreversi, ksame, kshisen, ksirtet, ksmiletris, ksnake, ksokoban, kspaceduel, ktron, ktuberling, kwin4, lskat. %prep %setup -q -n %{name}-%{version}%{?beta} %build unset QTDIR || : ; source /etc/profile.d/qt.sh export QTLIB=${QTDIR}/lib QTINC=${QTDIR}/include %configure \ --includedir=%{_includedir}/kde \ --disable-rpath \ --disable-gcc-hidden-visibility \ --enable-new-ldflags \ --disable-debug --disable-warnings \ --disable-dependancy-tracking --enable-final \ --disable-setgid make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT # Copy missing desktop files from install cp knetwalk/src/knetwalk.desktop $RPM_BUILD_ROOT%{_datadir}/applications/kde/ desktop-file-install \ --add-category="X-Fedora" --vendor="" \ --dir $RPM_BUILD_ROOT%{_datadir}/applications/kde \ $RPM_BUILD_ROOT%{_datadir}/applications/kde/*.desktop ## File lists # locale's %find_lang %{name} || touch %{name}.lang # HTML (1.0) HTML_DIR=$(kde-config --expandvars --install html) if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do if [ -d $lang_dir ]; then lang=$(basename $lang_dir) echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang # replace absolute symlinks with relative ones pushd $lang_dir for i in *; do [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common done popd fi done fi # rpmdocs for dir in atlantik k* lskat ; do for file in AUTHORS ChangeLog README TODO ; do test -s "$dir/$file" && install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file" done done # missing docs to rpmdocs install -p -m644 -D "knetwalk/AUTHORS" "rpmdocs/knetwalk/AUTHORS" install -p -m644 -D "knetwalk/TODO" "rpmdocs/knetwalk/TODO" # Unpackages libtool archive files rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la # Update Icons and .desktop's Function %define update_icon_cache() ( \ for icon_theme in crystalsvg hicolor ; do \ touch --no-create %{_datadir}/icons/${icon_theme} 2> /dev/null ||: ; \ gtk-update-icon-cache -q %{_datadir}/icons/${icon_theme} 2> /dev/null ||: ; \ done ; \ \ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : \ ) %files %defattr(-,root,root,-) # SUB-PACKAGE: devel %package devel Summary: Development files for %{name} Group: Development/Libraries URL: http://www.kde.org Requires: %{name} = %{epoch}:%{version}-%{release} # FIXME: take this out when updates for 3.5.3 are ready-to-go! #Requires: kdebase-devel >= 6:%{version} #Requires: kdelibs-devel >= 6:%{version} Requires: kdebase-devel Requires: kdelibs-devel %description devel This package contains the headers and development files required to compile applications that use kdegames libraries. %post devel -p /sbin/ldconfig %postun devel -p /sbin/ldconfig %files devel %defattr(-,root,root,-) %doc libkdegames/README libkdegames/TODO %{_includedir}/kde/* # SUB-PACKAGE: common %package common Summary: Common files required for all kdegames packages Group: Amusements/Games URL: http://www.kde.org # FIXME: take this out when updates for 3.5.3 are ready-to-go! #Requires: kdelibs >= %{epoch}:%{version} Requires: kdelibs %description common These are the common files required for all kdegames packages to work. %post common -p /sbin/ldconfig %postun common -p /sbin/ldconfig %files common %defattr(-,root,root,-) %doc AUTHORS COPYING* README %{_libdir}/libkdegames* %{_datadir}/apps/kdegames %{_datadir}/icons/crystalsvg/*/actions/* # SUB-PACKAGE: atlantik %package atlantik Summary: Monopoly-like Board Game for KDE Group: Amusements/Games URL: http://www.kde.org Requires: %{name}-common %description atlantik Atlantik is the leading open-source game client for Monopoly-like board games to be played on the monopd network. Atlantik is available for computers running the KDE Desktop Environment. %post atlantik %{update_icon_cache} /sbin/ldconfig %postun atlantik %{update_icon_cache} /sbin/ldconfig %files atlantik %defattr(-,root,root,-) %doc rpmdocs/atlantik/* %doc %{_docdir}/HTML/*/atlantik %{_bindir}/atlantik %{_libdir}/kde3/kio_atlantik* %{_libdir}/libatlantic* %{_libdir}/libatlantik* %{_datadir}/applications/kde/atlantik.desktop %{_datadir}/apps/atlantik %{_datadir}/icons/hicolor/*/apps/atlantik.png %{_datadir}/services/atlantik.protocol # SUB-PACKAGE: cards-data %package cards-data Summary: Card Decks for Card Games on KDE Group: Amusements/Games URL: http://www.kde.org Requires: %{name}-common %description cards-data These are the card decks used by many of the card games in KDE. It will help improve the look and feel while playing these card games. %files cards-data %defattr(-,root,root,-) %doc libkdegames/carddecks/README %{_datadir}/apps/carddecks # SUB-PACKAGE: kasteroids %package kasteroids Summary: Asteroids Game for KDE Group: Amusements/Games URL: http://www.kde.org Requires: %{name}-common %description kasteroids An Asteroids Game for KDE where you have to shoot the asteroids with your spaceship and does not get destroyed. kasteroids is available for computers running the KDE Desktop Environment. %post kasteroids %{update_icon_cache} %postun kasteroids %{update_icon_cache} %files kasteroids %defattr(-,root,root,-) %doc rpmdocs/kasteroids/* %doc %{_docdir}/HTML/*/kasteroids %{_bindir}/kasteroids %{_datadir}/applications/kde/kasteroids.desktop %{_datadir}/apps/kasteroids %{_datadir}/config.kcfg/kasteroids.kcfg %{_datadir}/icons/hicolor/*/apps/kasteroids.png # SUB-PACKAGE: katomic %package katomic Summary: Atomic Entertainment for KDE Group: Amusements/Games URL: http://www.kde.org Requires: %{name}-common %description katomic Atomic Entertainment is a small game which resembles Sokoban. The object of the game is to build chemical molecules on a Sokoban like board. The aim 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. If two atoms touch each other with the corresponding connectors, they form a molecule. The atoms can only be moved one at a time. %post katomic %{update_icon_cache} %postun katomic %{update_icon_cache} %files katomic %defattr(-,root,root,-) %doc %{_docdir}/HTML/*/katomic %{_bindir}/katomic %{_datadir}/applications/kde/katomic.desktop %{_datadir}/apps/katomic %{_datadir}/icons/hicolor/*/apps/katomic.png # SUB-PACKAGE: kbackgammon %package kbackgammon Summary: Graphical Backgammon Game for KDE Group: Amusements/Games URL: http://www.kde.org Requires: %{name}-common %description kbackgammon KBackgammon is a graphical backgammon program for KDE. It supports backgammon games with other players, games against computer engines like GNU bg and even on-line games on the First Internet Backgammon Server. It offers you a graphical backgammon board that can be used almost entirely by using the mouse (although textual commands are also available and it should be possible to play backgammon without the mouse, too). Therefore, KBackgammon is easy to use and allows you to concentrate on the important aspects of playing backgammon. %post kbackgammon %{update_icon_cache} %postun kbackgammon %{update_icon_cache} %files kbackgammon %defattr(-,root,root,-) %doc rpmdocs/kbackgammon/* %doc %{_docdir}/HTML/*/kbackgammon %{_bindir}/kbackgammon %{_datadir}/applications/kde/kbackgammon.desktop %{_datadir}/apps/kbackgammon %{_datadir}/icons/hicolor/*/apps/kbackgammon.png %{_datadir}/icons/hicolor/*/apps/kbackgammon_engine.png # SUB-PACKAGE: kbattleship %package kbattleship Summary: Battleship Game for KDE Group: Amusements/Games URL: http://www.kde.org Requires: %{name}-common %description kbattleship KBattleship is a Battleship Game for the K Desktop Environment. It comes with a built-in server and allows two-player combats on LAN. First, you need to place your ships. The game initiator starts. When he/she is done, player two sets his/her ships. Now you can blindly fire with a left mouse button click on the enemy battle area. The status bar indicates who is about to shoot. The first player destroying all their opponents ships wins the game! %post kbattleship %{update_icon_cache} %postun kbattleship %{update_icon_cache} %files kbattleship %defattr(-,root,root,-) %doc rpmdocs/kbattleship/* %doc %{_docdir}/HTML/*/kbattleship %{_bindir}/kbattleship %{_datadir}/applications/kde/kbattleship.desktop %{_datadir}/apps/kbattleship %{_datadir}/apps/zeroconf/_kbattleship._tcp %{_datadir}/icons/hicolor/*/apps/kbattleship.png # SUB-PACKAGE: kblackbox %package kblackbox Summary: Graphical Logical Blackbox Game for KDE Group: Amusements/Games URL: http://www.kde.org Requires: %{name}-common %description kblackbox KBlackbox is a game of hide and seek played on a grid of boxes. Your opponent (the Random number generator, in this case) has hidden several balls within this box. By shooting rays into the box and observing where they emerge it is possible to deduce the positions of the hidden balls. The fewer rays you use to find the balls, the better (the lower) your score. %post kblackbox %{update_icon_cache} %postun kblackbox %{update_icon_cache} %files kblackbox %defattr(-,root,root,-) %doc rpmdocs/kblackbox/* %doc %{_docdir}/HTML/*/kblackbox %{_bindir}/kblackbox %{_datadir}/applications/kde/kblackbox.desktop %{_datadir}/apps/kblackbox %{_datadir}/icons/hicolor/*/apps/kblackbox.png # SUB-PACKAGE: kbounce %package kbounce Summary: Ball Bouncing Game for KDE Group: Amusements/Games URL: http://www.kde.org Requires: %{name}-common %description kbounce KBounce is played on a field, surrounded by a wall, with two or more balls that move about in the field bouncing off of the walls. Walls are a darker color while the active areas of the field are a lighter color. The size of the active area of the field is decreased by making new walls that enclose areas without balls in them. To complete a level, the player must decrease the size of the active field by at least 75% within the time allowed. %post kbounce %{update_icon_cache} %postun kbounce %{update_icon_cache} %files kbounce %defattr(-,root,root,-) %doc %{_docdir}/HTML/*/kbounce %{_bindir}/kbounce %{_datadir}/applications/kde/kbounce.desktop %{_datadir}/apps/kbounce %{_datadir}/icons/hicolor/*/apps/kbounce.png # SUB-PACKAGE: kenolaba %package kenolaba Summary: Two-Player Simple Board Strategy Game for KDE Group: Amusements/Games URL: http://www.kde.org Requires: %{name}-common %description kenolaba Kenolaba is a simple board strategy game that is played by two players. There are red and yellow pieces for each player. Beginning from a position where each player has 14 pieces, moves are drawn until one player has pushed 6 of his opponent's pieces out of the board. %post kenolaba %{update_icon_cache} %postun kenolaba %{update_icon_cache} %files kenolaba %defattr(-,root,root,-) %doc rpmdocs/kenolaba/* %doc %{_docdir}/HTML/*/kenolaba %{_bindir}/kenolaba %{_datadir}/applications/kde/kenolaba.desktop %{_datadir}/apps/kenolaba %{_datadir}/icons/hicolor/*/apps/kenolaba.png # SUB-PACKAGE: kfouleggs %package kfouleggs Summary: Japanese PuyoPuyo Game Clone for KDE Group: Amusements/Games URL: http://www.kde.org Requires: %{name}-common %description kfouleggs KFoulEggs is a clone of the Japanese PuyoPuyo game, with advanced features such as multiplayer games against human or AI. If you have played Tetris, or one of its many clones, you will find KFoulEggs easy to learn. %post kfouleggs %{update_icon_cache} %postun kfouleggs %{update_icon_cache} %files kfouleggs %defattr(-,root,root,-) %doc rpmdocs/kfouleggs/* %doc %{_docdir}/HTML/*/kfouleggs %{_bindir}/kfouleggs %{_datadir}/applications/kde/kfouleggs.desktop %{_datadir}/apps/kfouleggs %{_datadir}/config.kcfg/kfouleggs.kcfg %{_datadir}/icons/hicolor/*/apps/kfouleggs.png # SUB-PACKAGE: kgoldrunner %package kgoldrunner Summary: Action and Puzzle Solving Game for KDE Group: Amusements/Games URL: http://www.kde.org Requires: %{name}-common %description kgoldrunner KGoldrunner is an action game where the hero runs through a maze and dodges enemies. You must guide the hero with the mouse or keyboard and collect all the gold nuggets, then you can climb up into the next level. Your enemies are also after the gold. Worse still, they are after you! They will kill you if they catch you! %post kgoldrunner %{update_icon_cache} %postun kgoldrunner %{update_icon_cache} %files kgoldrunner %defattr(-,root,root,-) %doc rpmdocs/kgoldrunner/* %doc %{_docdir}/HTML/*/kgoldrunner %{_bindir}/kgoldrunner %{_datadir}/applications/kde/KGoldrunner.desktop %{_datadir}/apps/kgoldrunner %{_datadir}/icons/hicolor/*/apps/kgoldrunner.png # SUB-PACKAGE: kjumpingcube %package kjumpingcube Summary: Simple Tactical Game for KDE Group: Amusements/Games URL: http://www.kde.org Requires: %{name}-common %description kjumpingcube KJumpingCube is a simple tactical game. You can play it against the computer or against a friend. The playing field consists of squares that contains points. By clicking on the squares you can increase the points, and if the points reach a maximum the points will jump to the squares neighbors and take them over. The winner is the one who owns all squares. %post kjumpingcube %{update_icon_cache} %postun kjumpingcube %{update_icon_cache} %files kjumpingcube %defattr(-,root,root,-) %doc rpmdocs/kjumpingcube/* %doc %{_docdir}/HTML/*/kjumpingcube %{_bindir}/kjumpingcube %{_datadir}/applications/kde/kjumpingcube.desktop %{_datadir}/apps/kjumpingcube %{_datadir}/config.kcfg/kjumpingcube.kcfg %{_datadir}/icons/hicolor/*/apps/kjumpingcube.png # SUB-PACKAGE: klickety %package klickety Summary: Simple Stragegic Board Game for KDE Group: Amusements/Games URL: http://www.kde.org Requires: %{name}-common %description klickety The objective of Klickety is to clear the game board of all the colored blocks in the least possible time (although having a short time is only a secondary objective). The overall aim is to get the lowest score possible. It will provide entertainment for all abilities, but a challenge in logical thought if you want to get a really low score. %post klickety %{update_icon_cache} %postun klickety %{update_icon_cache} %files klickety %defattr(-,root,root,-) %doc rpmdocs/klickety/* %doc %{_docdir}/HTML/*/klickety %{_bindir}/klickety %{_datadir}/applications/kde/klickety.desktop %{_datadir}/apps/klickety %{_datadir}/icons/hicolor/*/apps/klickety.png # SUB-PACKAGE: klines %package klines Summary: Kolor Lines Tactical Game for KDE Group: Amusements/Games URL: http://www.kde.org Requires: %{name}-common %description klines The main rules of game is as simple as possible: you move (using mouse) marbles from cell to cell and build lines (horizontal, vertical or diagonal). When a line contains 5 or more marbles - they are removed from the field and your score grows. After each of your turns computer drops three more marbles onto the field. The increase in score depends on the amount of erased marbles and if Kolor Lines shows the next balls. The increase will be smaller if you use the information of what's next. %post klines %{update_icon_cache} %postun klines %{update_icon_cache} %files klines %defattr(-,root,root,-) %doc rpmdocs/klines/* %doc %{_docdir}/HTML/*/klines %{_bindir}/klines %{_datadir}/applications/kde/klines.desktop %{_datadir}/apps/klines %{_datadir}/config.kcfg/klines.kcfg %{_datadir}/icons/hicolor/*/apps/klines.png # SUB-PACKAGE: kmahjongg %package kmahjongg Summary: Oriental Mahjonng Board Game for KDE Group: Amusements/Games URL: http://www.kde.org Requires: %{name}-common %description kmahjongg KMahjongg is a game similar to the famous oriental game Mahjongg. The purpose of the game is to remove all of the tiles from the gameboard. Tiles are removed by matching tiles in pairs. The matched tiles must have a free side on the left or on the right. %post kmahjongg %{update_icon_cache} %postun kmahjongg %{update_icon_cache} %files kmahjongg %defattr(-,root,root,-) %doc rpmdocs/kmahjongg/* %doc %{_docdir}/HTML/*/kmahjongg %{_bindir}/kmahjongg %{_datadir}/applications/kde/kmahjongg.desktop %{_datadir}/apps/kmahjongg %{_datadir}/config.kcfg/kmahjongg.kcfg %{_datadir}/icons/hicolor/*/apps/kmahjongg.png # SUB-PACKAGE: kmines %package kmines Summary: Classic Minesweeper Game for KDE Group: Amusements/Games URL: http://www.kde.org Requires: %{name}-common %description kmines KMines is the classic Minesweeper game. You must uncover all the empty squares without blowing up a mine. When you uncover a square, a number appears: it indicates how many mines surround this square. If there is no number the neighboring squares are automatically uncovered. When you find a square that you are sure contains a mine, it is very useful to put a flag on it (by right-clicking). %post kmines %{update_icon_cache} %postun kmines %{update_icon_cache} %files kmines %defattr(-,root,root,-) %doc rpmdocs/kmines/* %doc %{_docdir}/HTML/*/kmines %{_bindir}/kmines %{_datadir}/applications/kde/kmines.desktop %{_datadir}/apps/kmines %{_datadir}/icons/hicolor/*/apps/kmines.png # SUB-PACKAGE: knetwalk %package knetwalk Summary: Puzzle Game to System Administrators for KDE Group: Amusements/Games URL: http://www.kde.org Requires: %{name}-common %description knetwalk KNetWalk is a Puzzle Game for the K Desktop Environment where you have to connect all terminal monitors into the system. With this theme in mind, the game audience is System Administrators. %post knetwalk %{update_icon_cache} %postun knetwalk %{update_icon_cache} %files knetwalk %defattr(-,root,root,-) %doc rpmdocs/knetwalk/* %{_bindir}/knetwalk %{_datadir}/applications/kde/knetwalk.desktop %{_datadir}/apps/knetwalk %{_datadir}/icons/hicolor/*/apps/knetwalk.png # SUB-PACKAGE: kolf %package kolf Summary: Miniature Golf Game for KDE Group: Amusements/Games URL: http://www.kde.org Requires: %{name}-common %description kolf Kolf is a miniature golf game with block graphics and a 2d top-down view. Courses are dynamic, and up to 10 people can play at once in competition. %post kolf %{update_icon_cache} /sbin/ldconfig %postun kolf %{update_icon_cache} /sbin/ldconfig %files kolf %defattr(-,root,root,-) %doc rpmdocs/kolf/* %doc %{_docdir}/HTML/*/kolf %{_bindir}/kolf %{_libdir}/kde3/kolf* %{_libdir}/libkdeinit_kolf.so %{_libdir}/libkolf* %{_datadir}/applications/kde/kolf.desktop %{_datadir}/apps/kolf %{_datadir}/config/magic/kolf.magic %{_datadir}/icons/hicolor/*/apps/kolf.png %{_datadir}/mimelnk/application/x-kolf.desktop %{_datadir}/mimelnk/application/x-kourse.desktop # SUB-PACKAGE: konquest %package konquest Summary: Wonderfully Complex Game for Universal Domination for KDE Group: Amusements/Games URL: http://www.kde.org Requires: %{name}-common %description 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 and of course, crush your rivals in the process. %post konquest %{update_icon_cache} %postun konquest %{update_icon_cache} %files konquest %defattr(-,root,root,-) %doc rpmdocs/konquest/* %doc %{_docdir}/HTML/*/konquest %{_bindir}/konquest %{_datadir}/applications/kde/konquest.desktop %{_datadir}/apps/konquest %{_datadir}/icons/hicolor/*/apps/konquest.png # SUB-PACKAGE: kpat %package kpat Summary: Highly Addictive Card Game for KDE Group: Amusements/Games URL: http://www.kde.org Requires: %{name}-common Requires: %{name}-cards-data %description kpat To play a patience you need, as the name suggests, patience. For simple games, where the way the game goes depends only on how the cards fall, your patience is even the only thing you need. But there are also patience where you also need to plan your strategy and think ahead to win. All the games have in common that you have to put the cards in a special order in moving, turning and reordering them. %post kpat %{update_icon_cache} %postun kpat %{update_icon_cache} %files kpat %defattr(-,root,root,-) %doc rpmdocs/kpat/* %doc %{_docdir}/HTML/*/kpat %{_bindir}/kpat %{_datadir}/applications/kde/kpat.desktop %{_datadir}/apps/kpat %{_datadir}/icons/hicolor/*/apps/kpat.png # SUB-PACKAGE: kpoker %package kpoker Summary: Poker Game for KDE Group: Amusements/Games URL: http://www.kde.org Requires: %{name}-common %description kpoker KPoker is a KDE compliant clone of those highly addictive pocket video poker games which are sometimes called “Videopoker” as well. %post kpoker %{update_icon_cache} %postun kpoker %{update_icon_cache} %files kpoker %defattr(-,root,root,-) %doc rpmdocs/kpoker/* %doc %{_docdir}/HTML/*/kpoker %{_bindir}/kpoker %{_datadir}/applications/kde/kpoker.desktop %{_datadir}/apps/kpoker %{_datadir}/icons/hicolor/*/apps/kpoker.png # SUB-PACKAGE: kreversi %package kreversi Summary: Simple One-Player Strategy Game for KDE Group: Amusements/Games URL: http://www.kde.org Requires: %{name}-common %description kreversi KReversi is a simple one player strategy game played against the computer. The playing field is an 8 by 8 square board divided into 64 squares. The game piece used is a colored stone - one side of it is red, the other blue. If a piece is captured by an opposing player, that piece is turned to reveal the color of that player. A winner is declared when one player has more pieces of his own color on the board and if there are no more possible moves. %post kreversi %{update_icon_cache} %postun kreversi %{update_icon_cache} %files kreversi %defattr(-,root,root,-) %doc rpmdocs/kreversi/* %doc %{_docdir}/HTML/*/kreversi %{_bindir}/kreversi %{_datadir}/applications/kde/kreversi.desktop %{_datadir}/apps/kreversi %{_datadir}/config.kcfg/kreversi.kcfg %{_datadir}/icons/hicolor/*/apps/kreversi.png # SUB-PACKAGE: ksame %package ksame Summary: SameGame Board Game for KDE Group: Amusements/Games URL: http://www.kde.org Requires: %{name}-common %description ksame KSame is a simple game. It is played by one player, so there is only one winner :-) You play for fun and against the high score. It has been inspired by SameGame, which is only really famous on the Macintosh. %post ksame %{update_icon_cache} %postun ksame %{update_icon_cache} %files ksame %defattr(-,root,root,-) %doc rpmdocs/ksame/* %doc %{_docdir}/HTML/*/ksame %{_bindir}/ksame %{_datadir}/applications/kde/ksame.desktop %{_datadir}/apps/ksame %{_datadir}/icons/hicolor/*/apps/ksame.png # SUB-PACKAGE: kshisen %package kshisen Summary: Single-Player Shisen-Sho Game for KDE Group: Amusements/Games URL: http://www.kde.org Requires: %{name}-common %description kshisen KShisen is a Single-Player Shisen-Sho game similar to Mahjongg and uses the same set of tiles as Mahjongg. The aim of the game is to remove all tiles from the board. Only two matching tiles can be removed at a time. Two tiles can only be removed if they can be connected with a maximum of three connected lines. Lines can be horizontal or vertical, but not diagonal. %post kshisen %{update_icon_cache} %postun kshisen %{update_icon_cache} %files kshisen %defattr(-,root,root,-) %doc rpmdocs/kshisen/* %doc %{_docdir}/HTML/*/kshisen %{_bindir}/kshisen %{_datadir}/applications/kde/kshisen.desktop %{_datadir}/apps/kshisen %{_datadir}/config.kcfg/kshisen.kcfg %{_datadir}/icons/hicolor/*/apps/kshisen.png # SUB-PACKAGE: ksirtet %package ksirtet Summary: Tetris Clone Game for KDE Group: Amusements/Games URL: http://www.kde.org Requires: %{name}-common %description ksirtet KSirtet is a clone of the well known game Tetris. You must fit the falling pieces to form full lines. You can rotate and translate the falling piece. The game ends when no more pieces can fall, i.e. when your incomplete lines reach the top of the board. Every time you have destroyed 10 lines, you advance to the next level and the pieces fall quicker (to be precise, the pieces fall from the top of the screen each 1/(1+level) second). %post ksirtet %{update_icon_cache} %postun ksirtet %{update_icon_cache} %files ksirtet %defattr(-,root,root,-) %doc rpmdocs/ksirtet/* %doc %{_docdir}/HTML/*/ksirtet %{_bindir}/ksirtet %{_datadir}/applications/kde/ksirtet.desktop %{_datadir}/apps/ksirtet %{_datadir}/config.kcfg/ksirtet.kcfg %{_datadir}/icons/hicolor/*/apps/ksirtet.png # SUB-PACKAGE: ksmiletris %package ksmiletris Summary: Tetris-like Game for KDE Group: Amusements/Games URL: http://www.kde.org Requires: %{name}-common %description ksmiletris KSmiletris is a game similar to the Tetris game. If you have ever played Tetris, you will find KSmiletris easy to learn and play. The aim of the game is to complete each level and get the highest score possible. You score by stacking or moving the similar tiles together as they fall, and then disappear. As the tiles disappear, your score increases. %post ksmiletris %{update_icon_cache} %postun ksmiletris %{update_icon_cache} %files ksmiletris %defattr(-,root,root,-) %doc rpmdocs/ksmiletris/* %doc %{_docdir}/HTML/*/ksmiletris %{_bindir}/ksmiletris %{_datadir}/applications/kde/ksmiletris.desktop %{_datadir}/apps/ksmiletris %{_datadir}/icons/hicolor/*/apps/ksmiletris.png # SUB-PACKAGE: ksnake %package ksnake Summary: Arcade Game of Speed and Agility for KDE Group: Amusements/Games URL: http://www.kde.org Requires: %{name}-common %description ksnake KSnake is a game of speed and agility. You are a hungry snake and are trying to eat all the apples in the room before getting out! To win KSnake you must eat all the apples in the room and leave through the exit that opens at the top. %post ksnake %{update_icon_cache} %postun ksnake %{update_icon_cache} %files ksnake %defattr(-,root,root,-) %doc rpmdocs/ksnake/* %doc %{_docdir}/HTML/*/ksnake %{_bindir}/ksnake %{_datadir}/applications/kde/ksnake.desktop %{_datadir}/apps/ksnake %{_datadir}/config.kcfg/ksnake.kcfg %{_datadir}/icons/hicolor/*/apps/ksnake.png # SUB-PACKAGE: ksokoban %package ksokoban Summary: Sokoban-Like Logical Game for KDE Group: Amusements/Games URL: http://www.kde.org Requires: %{name}-common %description ksokoban KSokoban is logic game where a warehouse keeper tries to push crates to their proper locations in a warehouse using Logic. One wrong movement and you can't put them like the objective. %post ksokoban %{update_icon_cache} %postun ksokoban %{update_icon_cache} %files ksokoban %defattr(-,root,root,-) %doc rpmdocs/ksokoban/* %doc %{_docdir}/HTML/*/ksokoban %{_bindir}/ksokoban %{_datadir}/applications/kde/ksokoban.desktop %{_datadir}/icons/hicolor/*/apps/ksokoban.png # SUB-PACKAGE: kspaceduel %package kspaceduel Summary: Space Arcade Game for KDE Group: Amusements/Games URL: http://www.kde.org Requires: %{name}-common %description kspaceduel KSpaceDuel is an space arcade game for two players. Each player controls a ship that flies around the sun and tries to shoot at the other ship. You can play KSpaceDuel with another person, against the computer, or you can have the computer control both ships and play each other. %post kspaceduel %{update_icon_cache} %postun kspaceduel %{update_icon_cache} %files kspaceduel %defattr(-,root,root,-) %doc rpmdocs/kspaceduel/* %doc %{_docdir}/HTML/*/kspaceduel %{_bindir}/kspaceduel %{_datadir}/applications/kde/kspaceduel.desktop %{_datadir}/apps/kspaceduel %{_datadir}/config.kcfg/kspaceduel.kcfg %{_datadir}/icons/hicolor/*/apps/kspaceduel.png # SUB-PACKAGE: ktron %package ktron Summary: Tron Clone Game for KDE Group: Amusements/Games URL: http://www.kde.org Requires: %{name}-common %description ktron KTron is a simple Tron-Clone for the K Desktop Environment. You can play KTron against the computer or a friend. The aim of the game is to live longer than your opponent. To do that, avoid running into a wall, your own tail and that of your opponent. %post ktron %{update_icon_cache} %postun ktron %{update_icon_cache} %files ktron %defattr(-,root,root,-) %doc rpmdocs/ktron/* %doc %{_docdir}/HTML/*/ktron %{_bindir}/ktron %{_datadir}/applications/kde/ktron.desktop %{_datadir}/apps/ktron %{_datadir}/config.kcfg/ktron.kcfg %{_datadir}/icons/hicolor/*/apps/ktron.png # SUB-PACKAGE: ktuberling %package ktuberling Summary: Potato Editor Game for KDE intended for Small Children Group: Amusements/Games URL: http://www.kde.org Requires: %{name}-common %description ktuberling Tuberling is a game intended for small children. Of course, it may be suitable for adults who have remained young at heart. It is a “potato editor”. That means that you can drag and drop eyes, mouths, mustache, and other parts of face and goodies onto a potato-like guy. Similarly, you have a penguin and an aquarium on which you can drop other stuff. There is no winner for the game. The only purpose is to make the funniest faces you can. %post ktuberling %{update_icon_cache} %postun ktuberling %{update_icon_cache} %files ktuberling %defattr(-,root,root,-) %doc rpmdocs/ktuberling/* %doc %{_docdir}/HTML/*/ktuberling %{_bindir}/ktuberling %{_datadir}/applications/kde/ktuberling.desktop %{_datadir}/apps/ktuberling %{_datadir}/icons/hicolor/*/apps/ktuberling.png %{_datadir}/mimelnk/application/x-tuberling.desktop # SUB-PACKAGE: kwin4 %package kwin4 Summary: Four Wins Strategy Game for KDE Group: Amusements/Games URL: http://www.kde.org Requires: %{name}-common %description kwin4 Four wins is a game for two players. Each player is represented by a color (yellow and red). The goal of the game is to get four connected pieces of your color into a row, column or any diagonal. This is done by placing one of your pieces into any of the seven columns. %post kwin4 %{update_icon_cache} %postun kwin4 %{update_icon_cache} %files kwin4 %defattr(-,root,root,-) %doc rpmdocs/kwin4/* %doc %{_docdir}/HTML/*/kwin4 %{_bindir}/kwin4* %{_datadir}/applications/kde/kwin4.desktop %{_datadir}/apps/kwin4 %{_datadir}/config.kcfg/kwin4.kcfg %{_datadir}/icons/hicolor/*/apps/kwin4.png # SUB-PACKAGE: lskat %package lskat Summary: Four Wins Strategy Game for KDE Group: Amusements/Games URL: http://www.kde.org Requires: %{name}-common Requires: %{name}-cards-data %description lskat Four wins is a game for two players. Each player is represented by a color (yellow and red). The goal of the game is to get four connected pieces of your color into a row, column or any diagonal. This is done by placing one of your pieces into any of the seven columns. %post lskat %{update_icon_cache} %postun lskat %{update_icon_cache} %files lskat %defattr(-,root,root,-) %doc rpmdocs/lskat/* %doc %{_docdir}/HTML/*/lskat %{_bindir}/lskat* %{_datadir}/applications/kde/lskat.desktop %{_datadir}/apps/lskat %{_datadir}/icons/hicolor/*/apps/lskat.png # END OF PACKAGES %clean rm -rf $RPM_BUILD_ROOT %changelog * Mon Jun 12 2006 Hugo Cisneiros 6:3.5.3-3 - Using one subpackage for each game - Added cards-data sub-package containing card-decks (kpat, lskat) - Removed Requires for the main package - Changed kdelibs-devel BuildRequire to kdebase-devel (needs kdebase too and it already have kdelibs dependency) - Copied the knetwalk desktop and docs files to proper location (missing) * Wed Jun 07 2006 Rex Dieter 6:3.5.3-2 - cleanup for Extras - update %%description - %%doc: COPYING, app docs (README, TODO, etc...) - follow icon spec - BR: desktop-file-utils - --disable-setgid * Fri Jun 02 2006 Than Ngo 6:3.5.3-1 - update to 3.5.3 * Tue Apr 04 2006 Than Ngo 6:3.5.2-1 - update to 3.5.2 * Fri Feb 10 2006 Jesse Keating - 6:3.5.1-1.2 - bump again for double-long bug on ppc(64) * Tue Feb 07 2006 Jesse Keating - 6:3.5.1-1.1 - rebuilt for new gcc4.1 snapshot and glibc changes * Fri Feb 03 2006 Than Ngo 6:3.5.1-1 - 3.5.1 * Fri Dec 09 2005 Jesse Keating - rebuilt * Mon Dec 05 2005 Than Ngo 6:3.5.0-1 - 3.5 * Tue Nov 15 2005 Than Ngo 6:3.4.92-2 - apply patch to fix build problem with gcc4 * Tue Oct 25 2005 Than Ngo 6:3.4.92-1 - update to 3.5 Beta2 * Wed Oct 05 2005 Than Ngo 6:3.4.91-1 - update to 3.5 Beta1 * Mon Aug 08 2005 Than Ngo 6:3.4.2-1 - update to 3.4.2 * Tue Jun 28 2005 Than Ngo 6:3.4.1-1 - 3.4.1 * Fri Mar 18 2005 Than Ngo 6:3.4.0-1 - 3.4.0 * Fri Mar 04 2005 Than Ngo 6:3.4.0-0.rc1.2 - rebuilt against gcc-4.0.0-0.31 * Sat Feb 26 2005 Than Ngo 6:3.4.0-0.rc1.1 - KDE-3.4.0 rc1 * Sun Feb 20 2005 Than Ngo 6:3.3.92-0.1 - KDE-3.4 beta2 * Mon Jan 31 2005 Than Ngo 3.3.2-0.2 - fix a bug in changeBackside #146609 * Fri Dec 03 2004 Than Ngo 6:3.3.2-0.1 - update to 3.3.2 * Mon Oct 18 2004 Than Ngo 6:3.3.1-2 - add missing klickety icons #135614 * Wed Oct 13 2004 Than Ngo 6:3.3.1-1 - update to 3.3.1 * Fri Oct 08 2004 Than Ngo 6:3.3.0-2 - fix buildrequire on automake - disable ksokoban * Mon Aug 23 2004 Than Ngo 3.3.0-1 - update to 3.3.0 release * Tue Aug 10 2004 Than Ngo 3.3.0-0.1.rc2 - update to 3.3.0 rc2 * Tue Aug 10 2004 Than Ngo 3.3.0-0.1.rc1 - update to 3.3.0 rc1 * Wed Aug 04 2004 Than Ngo 3.2.92-1 - update to 3.3 Beta 2 * Sat Jun 19 2004 Than Ngo 3.2.3-2 - rebuilt * Tue Jun 15 2004 Elliot Lee - rebuilt * Wed Jun 02 2004 Than Ngo 6:3.2.3-0.1 - update to 3.2.3 * Wed Apr 14 2004 Than Ngo 6:3.2.2-1 - update to 3.2.2 * Thu Apr 08 2004 Than Ngo 6:3.2.1-4 - fix dependency bug again, bug #120399 * Wed Apr 07 2004 Than Ngo 3.2.1-3 - add missing icons, bug #118281 * Mon Mar 22 2004 Than Ngo 6:3.2.1-2 - fixed klickety crash, bug #118280 * Sun Mar 07 2004 Than Ngo 6:3.2.1-1 - 3.2.1 release * Tue Mar 02 2004 Elliot Lee - rebuilt * Tue Feb 24 2004 Than Ngo 6:3.2.0-1.4 - gcc 3.4 build problem * Fri Feb 13 2004 Elliot Lee - rebuilt * Thu Feb 05 2004 Than Ngo 6:3.2.0-0.3 - 3.2.0 release - built against qt 3.3.0 - add Prereq /sbin/ldconfig * Mon Jan 19 2004 Than Ngo 6:3.1.95-0.1 - KDE 3.2 RC1 * Mon Dec 01 2003 Than Ngo 6:3.1.94-0.1 - KDE 3.2 Beta2 * Thu Nov 27 2003 Than Ngo 6:3.1.93-0.2 - get rid of rpath * Tue Nov 11 2003 Than Ngo 6:3.1.93-0.1 - KDE 3.2 Beta1 - cleanup specfile - remove some patch files, which are included in new upstream * Mon Oct 13 2003 Than Ngo 6:3.1.4-2 - backport from CVS to fix atlantikdesigner crashed on startup - fix miscompiled code, (bug #106198, #106888) * Tue Sep 30 2003 Than Ngo 6:3.1.4-1 - 3.1.4 * Tue Aug 12 2003 Than Ngo 6:3.1.3-3 - fix build problem with gcc 3.3 * Wed Aug 06 2003 Than Ngo 6:3.1.3-2 - rebuilt * Sun Aug 03 2003 Than Ngo 6:3.1.3-1 - 3.1.3 * Mon Jul 7 2003 Than Ngo 3.1.2-5 - fix a bug in katomic, which caused icons are invisible (bug #89628) * Thu Jun 26 2003 Than Ngo 3.1.2-4 - rebuilt * Wed Jun 04 2003 Elliot Lee - rebuilt * Mon May 19 2003 Than Ngo 3.1.2-0.9x.2 - 3.1.2 * Thu May 8 2003 Than Ngo 3.1.1-3 - fix command line option (bug #90082) * Wed Apr 30 2003 Elliot Lee 3.1.1-2 - headusage patch (from kdebindings) for ppc64 * Wed Mar 19 2003 Than Ngo 3.1.1-1 - 3.1.1 * Thu Feb 27 2003 Than Ngo 3.1-5 - add requires kdebase (#84679) * Mon Feb 24 2003 Elliot Lee - debuginfo rebuild * Fri Feb 21 2003 Than Ngo 3.1-3 - get rid of gcc path from dependency_libs * Thu Feb 13 2003 Than Ngo 3.1-2 - rebuild against new arts * Tue Jan 28 2003 Than Ngo 3.1-1 - 3.1 final * Mon Jan 27 2003 Than Ngo 3.1-0.6 - add missing plugins - cleanup specfile * Thu Jan 23 2003 Tim Powers 6:3.1-0.5 - rebuild * Tue Jan 14 2003 Thomas Woerner 3.1-0.3 - fixed missing file * Tue Jan 14 2003 Thomas Woerner 3.1-0.3 - rc6 - removed size_t check - excluded ia64 * Fri Nov 29 2002 Than Ngo 3.1-0.2 - desktop file issues * Wed Nov 27 2002 Than Ngo 3.1-0.1 - update to 3.1 rc4 * Sun Nov 10 2002 Than Ngo 3.0.5-1 - update to 3.0.5 * Tue Oct 15 2002 Than Ngo 3.0.4-1 - 3.0.4 * Fri Sep 13 2002 Than Ngo 3.0.3-3.1 - Fixed to build on x86_64 * Thu Aug 29 2002 Preston Brown - remove kbattleship and ktron (#72763) * Fri Aug 23 2002 Than Ngo 3.0.3-2 - desktop files issues (bug #72408) * Mon Aug 12 2002 Than Ngo 3.0.3-1 - 3.0.3 - desktop files issues * Tue Jul 23 2002 Tim Powers 3.0.2-2 - build using gcc-3.2-0.1 * Tue Jul 09 2002 Than Ngo 3.0.2-1 - 3.0.2 - use desktop-file-install * Fri Jun 21 2002 Tim Powers - automated rebuild * Thu May 23 2002 Tim Powers - automated rebuild * Fri May 10 2002 Bernhard Rosenkraenzer 3.0.1-1 - 3.0.1 * Tue Apr 16 2002 Bernhard Rosenkraenzer 3.0.0-2 - Change sonames * Wed Mar 27 2002 Than Ngo 3.0.0-1 - final * Wed Mar 6 2002 Bernhard Rosenkraenzer 3.0.0-0.cvs20020306.1 - Fix packaging glitch in monolithic version * Tue Mar 5 2002 Bernhard Rosenkraenzer 3.0.0-0.cvs20020305.1 - Make splits a buildtime option (off by default) on request * Mon Jan 7 2002 Bernhard Rosenkraenzer 3.0.0-0.cvs20020107.1 - Update to work with latest kdelibs changes * Wed Dec 26 2001 Bernhard Rosenkraenzer 3.0.0-0.cvs20011226.1 - Update - Add missing %{_bindir}/kbattleship * Sat Dec 15 2001 Bernhard Rosenkraenzer 3.0.0-0.cvs20011215.1 - Update - Split into several packages (one package per game) * Sun Jul 22 2001 Bernhard Rosenkraenzer 2.2-0.cvs20010722.1 - Update - Work around ia64 breakages - Add build requirements (#48977) * Thu Feb 22 2001 Bernhard Rosenkraenzer - Fix problem when changing the card type (Bug #28824) * Wed Feb 21 2001 Bernhard Rosenkraenzer - 2.1-respin * Tue Feb 20 2001 Bernhard Rosenkraenzer - 2.1 * Sun Feb 11 2001 Than Ngo - don't use make -j CPU, it's broken * Thu Feb 1 2001 Bernhard Rosenkraenzer - Run ldconfig in %%post and %%postun to make libkdegames happy - Replace absolute symlinks with relative symlinks (#24787) * Mon Jan 22 2001 Bernhard Rosenkraenzer - Update - includedir=/usr/include/kde, now that libkdegames installs kcarddeck.h * Wed Jan 17 2001 Bernhard Rosenkraenzer - Get rid of the gcc bug workaround, it's no longer needed * Mon Jan 1 2001 Bernhard Rosenkraenzer - Update - Don't exclude ia64 * Wed Nov 15 2000 Bernhard Rosenkraenzer - Update to HEAD * Sat Oct 28 2000 Bernhard Rosenkraenzer - Update to KDE_2_0_BRANCH, now that the ".0 release" bugs are fixed. * Mon Oct 16 2000 Bernhard Rosenkraenzer - 2.0 final * Tue Oct 3 2000 Bernhard Rosenkraenzer - 2.0 * Mon Oct 2 2000 Bernhard Rosenkraenzer - new CVS - work around g++ bugs (in kjumpingcube) * Thu Aug 24 2000 Bernhard Rosenkraenzer - 1.93 * Mon Aug 7 2000 Bernhard Rosenkraenzer - new version * Wed Jul 19 2000 Than Ngo - fix docdir - rebuild 16 July snapshot * Thu Jul 13 2000 Bernhard Rosenkraenzer - SMPify - don't hardcode QTDIR * Tue Jul 11 2000 Bernhard Rosenkraenzer - use gcc 2.96 - new snapshot * Tue Jun 20 2000 Bernhard Rosenkraenzer - new snapshot - ExcludeArch ia64 for now * Sat Mar 18 2000 Bernhard Rosenkraenzer - new snapshot - move it to /usr, where it belongs * Fri Oct 22 1999 Bernhard Rosenkraenzer - 2.0 snapshot * Fri Sep 24 1999 Preston Brown - mark doc files as such * Thu Sep 09 1999 Preston Brown - 1.1.2 release. * Fri Jun 11 1999 Preston Brown - snapshot, includes kde 1.1.1 + fixes * Mon Apr 19 1999 Preston Brown - last snapshot before release - ripped out asteroids and sirtet * Mon Apr 12 1999 Preston Brown - latest stable snapshot * Wed Feb 24 1999 Preston Brown - Injected new description and group. * Mon Feb 08 1999 Preston Brown - upgraded to KDE 1.1 final. * Fri Feb 05 1999 Preston Brown - rebuilt for new libstdc++ etc. * Wed Jan 06 1999 Preston Brown - re-merged updates from Duncan Haldane, change /opt/kde --> /usr