]> git.pld-linux.org Git - packages/boson.git/blob - boson.spec
d128d46feb264b9ae04772098c2ed66648a4b33d
[packages/boson.git] / boson.spec
1 Summary:        Boson: a Real-Time Strategy Game (RTS) for the KDE project
2 Summary(pl):    Boson: gra strategiczna w czasie rzeczywistym dla KDE
3 Name:           boson
4 Version:        0.10
5 Release:        0.1
6 License:        GPL
7 Group:          X11/Applications/Games
8 Source0:        http://dl.sourceforge.net/sourceforge/%{name}/%{name}-all-%{version}.tar.bz2
9 # Source0-md5:  e54b1a3f1f140412597d4df296522bde
10 Patch0:         %{name}-desktop.patch
11 Patch1:         %{name}-python.patch
12 Icon:           boson.xpm
13 URL:            http://boson.sourceforge.net/
14 BuildRequires:  arts-devel
15 BuildRequires:  kdegames-devel >= 3.0.3
16 BuildRequires:  kdelibs-devel >= 3.0.3
17 BuildRequires:  lib3ds-devel
18 Requires:       arts-X11
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define         _htmldir        %{_docdir}/kde/HTML
22
23 %description
24 Boson is a real-time strategy game, like Command&Conquer(tm) or
25 StarCraft(tm). It is designed to run on Unix (Linux) computers and
26 uses the Qt Toolkit and QwSpriteField. A minimum of two players is
27 required, since there is no artificial intelligence (yet?). Boson is
28 still in very early development and not playable yet.
29
30 %description -l pl
31 Boson jest gr± strategiczn± rozgrywan± w czasie rzeczywistym, tak jak
32 Command&Conquer czy StarCraft. Zosta³ zaprojektowany dla maszyn
33 uniksowych (linuksowych); uzywa biblioteki Qt i QwSpriteField. Wymaga
34 siê co najmniej dwóch graczy, poniewa¿ brak (jeszcze?) sztucznej
35 inteligencji. Boson jest wci±¿ w fazie wczesnego rozwoju i nie da siê
36 jeszcze w niego graæ.
37
38 %prep
39 %setup -q -n %{name}-all-%{version}
40 %patch0 -p1
41 %patch1 -p1
42
43 %build
44 kde_icondir=%{_pixmapsdir}; export kde_icondir
45 kde_htmldir=%{_htmldir}; export kde_htmldir
46 %configure \
47         --host=%{_host}\
48         --target=%{_target_platform} \
49         --disable-rpath \
50         --enable-final
51
52 # %{__make} Fails becuse after including many QT headers gcc is unable to find <map> :/
53 #mv ./data/map ./data/map.foo
54 #cd boson
55 #%{__make}
56 #cd ..
57 #mv ./data/map.foo ./data/map
58 %{__make}
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62
63 %{__make} install \
64         DESTDIR=$RPM_BUILD_ROOT
65
66 ## install textures and resources files :
67 #install -d $RPM_BUILD_ROOT%{_datadir}/apps
68
69 mv -f $RPM_BUILD_ROOT%{_applnkdir}/Games/{TacticStrategy,Strategy}
70 mv -f $RPM_BUILD_ROOT%{_pixmapsdir}/{hicolor/48x48/apps/,}boson.png
71
72 %find_lang %{name} --with-kde
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %files -f %{name}.lang
78 %defattr(644,root,root,755)
79 %doc AUTHORS ChangeLog README TODO
80 %attr(755,root,root) %{_bindir}/*
81 %{_applnkdir}/Games/Strategy/*.desktop
82 %{_datadir}/apps/boson
83 %{_pixmapsdir}/boson.png
This page took 0.080814 seconds and 3 git commands to generate.