]> git.pld-linux.org Git - packages/boson.git/blob - boson.spec
- make hack by mateusz@ant.gliwice.pl
[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:        1
6 License:        GPL
7 Group:          X11/Applications/Games
8 Source0:        http://telia.dl.sourceforge.net/sourceforge/boson/%{name}-all-%{version}.tar.bz2
9 Icon:           boson.xpm
10 URL:            http://boson.sourceforge.net/
11 BuildRequires:  arts-devel
12 BuildRequires:  kdegames-devel >= 3.0.3
13 BuildRequires:  kdelibs-devel >= 3.0.3
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define         _prefix         /usr/X11R6
17 %define         _mandir         %{_prefix}/man
18 %define         _htmldir        %{_docdir}/kde/HTML
19
20 %description
21 Boson is a real-time strategy game, like Command&Conquer(tm) or
22 StarCraft(tm). It is designed to run on Unix (Linux) computers and
23 uses the Qt Toolkit and QwSpriteField. A minimum of two players is
24 required, since there is no artifical intelligence (yet?). Boson is
25 still in very early development and not playable yet.
26
27 Boson's Code and Graphics are published under the GNU General Public
28 License.
29
30 If you want to know more about Boson, have a look at the Web site.
31
32 %description -l pl
33 Boson jest gr± strategiczn± rozgrywan± w czasie rzeczywistym, tak jak
34 Command&Conquer czy StarCraft. Zosta³ zaprojektowany dla maszyn
35 uniksowych (linuksowych); uzywa biblioteki Qt i QwSpriteField. Wymaga
36 siê co najmniej dwóch graczy, poniewa¿ brak (jeszcze?) sztucznej
37 inteligencji. Boson jest wci±¿ w fazie wczesnego rozwoju i nie da siê
38 jeszcze w niego graæ. Kod i grafika Bosona s± na powszechnej licencji
39 GNU. Aby dowiedzieæ siê wiêcej na temat Bosona, nale¿y zajrzeæ na
40 stronê WWW: http://aquila.rezel.enst.fr/boson/.
41
42 %prep
43 %setup -q -n %{name}
44
45 %build
46 kde_icondir=%{_pixmapsdir}; export kde_icondir
47 kde_htmldir=%{_htmldir}; export kde_htmldir
48 %configure \
49         --with-install-root=%{buildroot}
50         
51 # %{__make} Fails becuse after including many QT headers gcc is unable to find <map> :/
52 mv map map.foo
53 cd boson
54 %{__make}
55 cd ..
56 mv map.foo map
57 %{__make}
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61 %{__make} install DESTDIR=$RPM_BUILD_ROOT
62
63 ## install textures and resources files :
64 #install -d $RPM_BUILD_ROOT%{_datadir}/apps
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %files
70 %defattr(644,root,root,755)
71 %doc AUTHORS ChangeLog README TODO
72 #%doc %{_htmldir}/en/Boson
73 %attr(755,root,root) %{_bindir}/*
74 #%{_applnkdir}/*
75 #%{_datadir}/apps/*
76 #%{_pixmapsdir}/*
This page took 0.06046 seconds and 3 git commands to generate.