1 |
mikala |
319339 |
# |
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 |
mikala |
389960 |
%define rel 1 |
8 |
mikala |
319339 |
|
9 |
|
|
Name: knavalbattle |
10 |
mikala |
394417 |
Version: 4.10.0 |
11 |
mikala |
319339 |
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 |
lmenut |
340032 |
Conflicts: kbattleship < 1:4.9.80 |
21 |
mikala |
321021 |
Obsoletes: kbattleship < 1:4.9.80 |
22 |
mikala |
319339 |
|
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 |
mikala |
321021 |
%makeinstall_std -C build |