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: a8a1f40fde64d5e03d22b3d10cc16198
10 Patch0: %{name}-desktop.patch
11 Patch1: %{name}-qptrdict_h.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
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 %define _htmldir %{_docdir}/kde/HTML
23 Boson is a real-time strategy game, like Command&Conquer(tm) or
24 StarCraft(tm). It is designed to run on Unix (Linux) computers and
25 uses the Qt Toolkit and QwSpriteField. A minimum of two players is
26 required, since there is no artificial intelligence (yet?). Boson is
27 still in very early development and not playable yet.
30 Boson jest gr± strategiczn± rozgrywan± w czasie rzeczywistym, tak jak
31 Command&Conquer czy StarCraft. Zosta³ zaprojektowany dla maszyn
32 uniksowych (linuksowych); uzywa biblioteki Qt i QwSpriteField. Wymaga
33 siê co najmniej dwóch graczy, poniewa¿ brak (jeszcze?) sztucznej
34 inteligencji. Boson jest wci±¿ w fazie wczesnego rozwoju i nie da siê
43 kde_icondir=%{_pixmapsdir}; export kde_icondir
44 kde_htmldir=%{_htmldir}; export kde_htmldir
49 # %{__make} Fails becuse after including many QT headers gcc is unable to find <map> :/
50 mv ./data/map ./data/map.foo
54 mv ./data/map.foo ./data/map
58 rm -rf $RPM_BUILD_ROOT
61 DESTDIR=$RPM_BUILD_ROOT
63 ## install textures and resources files :
64 #install -d $RPM_BUILD_ROOT%{_datadir}/apps
66 mv -f $RPM_BUILD_ROOT%{_applnkdir}/Games/{TacticStrategy,Strategy}
67 mv -f $RPM_BUILD_ROOT%{_pixmapsdir}/{hicolor/48x48/apps/,}boson.png
69 %find_lang %{name} --with-kde
72 rm -rf $RPM_BUILD_ROOT
74 %files -f %{name}.lang
75 %defattr(644,root,root,755)
76 %doc AUTHORS ChangeLog README TODO
77 %attr(755,root,root) %{_bindir}/*
78 %{_applnkdir}/Games/Strategy/*.desktop
79 %{_datadir}/apps/boson
80 %{_pixmapsdir}/boson.png