]> git.pld-linux.org Git - packages/boson.git/blob - boson.spec
d57134b5ef413667da6209d2dd6fbb4494d3c050
[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/boson/%{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 BuildRequires:  rpmbuild(macros) >= 1.129
19 Requires:       arts-X11
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
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.
28
29 %description -l pl
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ê
35 jeszcze w niego graæ.
36
37 %prep
38 %setup -q -n %{name}-all-%{version}
39 %patch0 -p1
40 %patch1 -p1
41
42 %build
43 kde_htmldir=%{_kdedocdir}; export kde_htmldir
44 %configure \
45         --disable-rpath \
46         --enable-final
47
48 # %{__make} Fails becuse after including many QT headers gcc is unable to find <map> :/
49 #mv ./data/map ./data/map.foo
50 #cd boson
51 #%{__make}
52 #cd ..
53 #mv ./data/map.foo ./data/map
54 %{__make}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58
59 %{__make} install \
60         DESTDIR=$RPM_BUILD_ROOT
61
62 ## install textures and resources files :
63 #install -d $RPM_BUILD_ROOT%{_datadir}/apps
64
65 mv -f $RPM_BUILD_ROOT%{_datadir}/applnk/Games/TacticStrategy \
66         $RPM_BUILD_ROOT%{_desktopdir}
67
68 %find_lang %{name} --with-kde
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %files -f %{name}.lang
74 %defattr(644,root,root,755)
75 %doc AUTHORS ChangeLog README TODO
76 %attr(755,root,root) %{_bindir}/*
77 %{_datadir}/apps/boson
78 %{_desktopdir}/*.desktop
79 %{_iconsdir}/hicolor/*/apps/boson.png
This page took 0.03497 seconds and 2 git commands to generate.