/[packages]/cauldron/knavalbattle/current/SPECS/knavalbattle.spec
ViewVC logotype

Contents of /cauldron/knavalbattle/current/SPECS/knavalbattle.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 319339 - (show annotations) (download)
Sun Nov 18 03:32:51 2012 UTC (11 years, 5 months ago) by mikala
File size: 1668 byte(s)
imported package knavalbattle
1 #
2 # Please do not update/rebuild/touch this package before asking first to mikala and/or neoclust
3 # This package is part of the KDE Stack.
4 #
5
6
7 %define rel 1
8
9 Name: knavalbattle
10 Version: 4.9.80
11 Summary: Battleship game with built-in game server
12 Group: Games/Strategy
13 URL: http://www.kde.org/applications/games/navalbattle/
14 Release: %mkrel %{rel}
15 Epoch: 1
16 License: GPLv2 and LGPLv2 and GFDL
17 Source: ftp://ftp.kde.org/pub/kde/unstable/%version/src/%name-%version.tar.xz
18 BuildRequires: kdegames-devel >= 1:%version
19 Suggests: knavalbattle-handbook
20
21 %description
22 KBattleship is a Battle Ship game for KDE.
23
24 Ships are placed on a board which represents the sea. Players try to hit each
25 others ships in turns without knowing where they are placed. The first player to
26 destroy all ships wins the game.
27
28 %files
29 %_kde_bindir/kbattleship
30 %_kde_applicationsdir/kbattleship.desktop
31 %_kde_iconsdir/hicolor/*/apps/kbattleship.png
32 %_kde_appsdir/kbattleship
33 %_kde_services/kbattleship.protocol
34
35 #------------------------------------------------------------------------------
36
37 %package handbook
38 Summary: Knavalbattle Handbook
39 Conflicts: kbattleship < 1:4.7.1-2
40 Conflicts: kbattleship-handbook < 1:4.9.80
41 Obsoletes: kbattleship-handbook < 1:4.9.80
42 Requires: knavalbattle >= %{epoch}:%{version}-%{release}
43 BuildArch: noarch
44 Group: Documentation
45 %description handbook
46 This package provides the knavalbattle handbook.
47
48 %files handbook
49 %_kde_docdir/HTML/en/kbattleship
50
51 #------------------------------------------------------------------------------
52
53 %prep
54 %setup -q
55 %apply_patches
56
57 %build
58 export LD=/usr/bin/ld.gold
59 %cmake_kde4
60 %make
61
62 %install
63 rm -fr %buildroot
64 %makeinstall_std -C build

  ViewVC Help
Powered by ViewVC 1.1.30