]> git.pld-linux.org Git - packages/boson.git/blob - boson.spec
- release 3,
[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.6.1
5 Release:        3
6 License:        GPL
7 Group:          X11/Applications/Games
8 Source0:        http://telia.dl.sourceforge.net/sourceforge/boson/%{name}-all-%{version}.tar.bz2
9 Patch0:         %{name}-desktop.patch
10 Icon:           boson.xpm
11 URL:            http://boson.sourceforge.net/
12 BuildRequires:  arts-devel
13 BuildRequires:  kdegames-devel >= 3.0.3
14 BuildRequires:  kdelibs-devel >= 3.0.3
15 Requires:       arts-X11
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %define         _prefix         /usr/X11R6
19 %define         _mandir         %{_prefix}/man
20 %define         _htmldir        %{_docdir}/kde/HTML
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 artifical 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}
39 %patch0 -p1
40
41 %build
42 kde_icondir=%{_pixmapsdir}; export kde_icondir
43 kde_htmldir=%{_htmldir}; 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 map map.foo
50 cd boson
51 %{__make}
52 cd ..
53 mv map.foo 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%{_applnkdir}/Games/{TacticStrategy,Strategy}
66 mv -f $RPM_BUILD_ROOT%{_pixmapsdir}/{hicolor/48x48/apps,}boson.png
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 %{_applnkdir}/Games/Strategy/*.desktop
78 %{_datadir}/apps/boson
79 %{_pixmapsdir}/boson.png
This page took 0.040335 seconds and 3 git commands to generate.