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/boson/%{name}-all-%{version}.tar.bz2
9 # Source0-md5: 1b91bbdda1ff81d4d60f80c8175d974b
10 Patch0: %{name}-ugly_install_workround.patch
11 URL: http://boson.sourceforge.net/
12 BuildRequires: arts-devel
13 BuildRequires: cmake >= 2.4.0
14 BuildRequires: kdegames-devel >= 3.1
15 BuildRequires: kdelibs-devel >= 3.1
16 BuildRequires: lib3ds-devel
17 BuildRequires: rpmbuild(macros) >= 1.293
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Boson is a real-time strategy game, like Command&Conquer(tm) or
23 StarCraft(tm). It is designed to run on Unix (Linux) computers and
24 uses the Qt Toolkit and QwSpriteField. A minimum of two players is
25 required, since there is no artificial intelligence (yet?). Boson is
26 still in very early development and not playable yet.
29 Boson jest gr± strategiczn± rozgrywan± w czasie rzeczywistym, tak jak
30 Command&Conquer czy StarCraft. Zosta³ zaprojektowany dla maszyn
31 uniksowych (linuksowych); u¿ywa biblioteki Qt i QwSpriteField. Wymaga
32 siê co najmniej dwóch graczy, poniewa¿ brak (jeszcze?) sztucznej
33 inteligencji. Boson jest wci±¿ w fazie wczesnego rozwoju i nie da siê
42 %if "%{_lib}" == "lib64"
45 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
46 -DHTML_INSTALL_DIR=%{_kdedocdir} \
47 %{name}-all-%{version}
52 rm -rf $RPM_BUILD_ROOT
55 DESTDIR=$RPM_BUILD_ROOT
56 install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/{32x32,48x48}/apps
57 install %{name}-all-%{version}/code/boson/data/hi32-app-boeditor.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/32x32/apps/boeditor.png
58 install %{name}-all-%{version}/code/boson/data/hi32-app-boson.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/32x32/apps/boson.png
59 install %{name}-all-%{version}/code/boson/data/hi48-app-boeditor.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/apps/boeditor.png
60 install %{name}-all-%{version}/code/boson/data/hi48-app-boson.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/apps/boson.png
63 rm -rf $RPM_BUILD_ROOT
66 %defattr(644,root,root,755)
67 %doc boson-all-0.13/data/AUTHORS boson-all-0.13/data/ChangeLog boson-all-0.13/data/README
68 %attr(755,root,root) %{_bindir}/*
69 %{_datadir}/apps/boson
70 %{_desktopdir}/*.desktop
72 %{_iconsdir}/hicolor/*/*/*
73 %dir %{_libdir}/kde3/plugins/boson
74 %attr(755,root,root) %{_libdir}/kde3/plugins/boson/*.so*