1 Summary: Boson: a Real-Time Strategy Game (RTS) for the KDE project
2 Summary(pl): Boson: gra strategiczna w czasie rzeczywistym dla KDE
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
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
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 %define _htmldir %{_docdir}/kde/HTML
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.
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ê
39 %setup -q -n %{name}-all-%{version}
44 kde_icondir=%{_pixmapsdir}; export kde_icondir
45 kde_htmldir=%{_htmldir}; export kde_htmldir
48 --target=%{_target_platform} \
52 # %{__make} Fails becuse after including many QT headers gcc is unable to find <map> :/
53 #mv ./data/map ./data/map.foo
57 #mv ./data/map.foo ./data/map
61 rm -rf $RPM_BUILD_ROOT
64 DESTDIR=$RPM_BUILD_ROOT
66 ## install textures and resources files :
67 #install -d $RPM_BUILD_ROOT%{_datadir}/apps
69 mv -f $RPM_BUILD_ROOT%{_applnkdir}/Games/{TacticStrategy,Strategy}
70 mv -f $RPM_BUILD_ROOT%{_pixmapsdir}/{hicolor/48x48/apps/,}boson.png
72 %find_lang %{name} --with-kde
75 rm -rf $RPM_BUILD_ROOT
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