/[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 590484 - (show annotations) (download)
Thu Feb 13 13:06:13 2014 UTC (10 years, 1 month ago) by neoclust
File size: 1735 byte(s)
New version 4.12.2
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.12.2
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/stable/%version/src/%name-%version.tar.xz
18 BuildRequires: kdegames-devel >= 1:%version
19 Suggests: knavalbattle-handbook
20 Conflicts: kbattleship < 1:4.9.80
21 Obsoletes: kbattleship < 1:4.9.80
22
23 %description
24 KBattleship is a Battle Ship game for KDE.
25
26 Ships are placed on a board which represents the sea. Players try to hit each
27 others ships in turns without knowing where they are placed. The first player to
28 destroy all ships wins the game.
29
30 %files
31 %_kde_bindir/kbattleship
32 %_kde_applicationsdir/kbattleship.desktop
33 %_kde_iconsdir/hicolor/*/apps/kbattleship.png
34 %_kde_appsdir/kbattleship
35 %_kde_services/kbattleship.protocol
36
37 #------------------------------------------------------------------------------
38
39 %package handbook
40 Summary: Knavalbattle Handbook
41 Conflicts: kbattleship < 1:4.7.1-2
42 Conflicts: kbattleship-handbook < 1:4.9.80
43 Obsoletes: kbattleship-handbook < 1:4.9.80
44 Requires: knavalbattle >= %{epoch}:%{version}-%{release}
45 BuildArch: noarch
46 Group: Documentation
47 %description handbook
48 This package provides the knavalbattle handbook.
49
50 %files handbook
51 %_kde_docdir/HTML/en/kbattleship
52
53 #------------------------------------------------------------------------------
54
55 %prep
56 %setup -q
57 %apply_patches
58
59 %build
60 export LD=/usr/bin/ld.gold
61 %cmake_kde4
62 %make
63
64 %install
65 rm -fr %buildroot
66 %makeinstall_std -C build

  ViewVC Help
Powered by ViewVC 1.1.30