# # Please do not update/rebuild/touch this package before asking first to mikala and/or neoclust # This package is part of the KDE Stack. # %define rel 1 Name: knavalbattle Version: 4.11.5 Summary: Battleship game with built-in game server Group: Games/Strategy URL: http://www.kde.org/applications/games/navalbattle/ Release: %mkrel %{rel} Epoch: 1 License: GPLv2 and LGPLv2 and GFDL Source: ftp://ftp.kde.org/pub/kde/stable/%version/src/%name-%version.tar.xz BuildRequires: kdegames-devel >= 1:%version Suggests: knavalbattle-handbook Conflicts: kbattleship < 1:4.9.80 Obsoletes: kbattleship < 1:4.9.80 %description KBattleship is a Battle Ship game for KDE. Ships are placed on a board which represents the sea. Players try to hit each others ships in turns without knowing where they are placed. The first player to destroy all ships wins the game. %files %_kde_bindir/kbattleship %_kde_applicationsdir/kbattleship.desktop %_kde_iconsdir/hicolor/*/apps/kbattleship.png %_kde_appsdir/kbattleship %_kde_services/kbattleship.protocol #------------------------------------------------------------------------------ %package handbook Summary: Knavalbattle Handbook Conflicts: kbattleship < 1:4.7.1-2 Conflicts: kbattleship-handbook < 1:4.9.80 Obsoletes: kbattleship-handbook < 1:4.9.80 Requires: knavalbattle >= %{epoch}:%{version}-%{release} BuildArch: noarch Group: Documentation %description handbook This package provides the knavalbattle handbook. %files handbook %_kde_docdir/HTML/en/kbattleship #------------------------------------------------------------------------------ %prep %setup -q %apply_patches %build export LD=/usr/bin/ld.gold %cmake_kde4 %make %install rm -fr %buildroot %makeinstall_std -C build