]> git.pld-linux.org Git - packages/boson.git/blob - boson.spec
- requires arts-X11
[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:        2
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 Requires:       arts-X11
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %define         _prefix         /usr/X11R6
18 %define         _mandir         %{_prefix}/man
19 %define         _htmldir        %{_docdir}/kde/HTML
20
21 %description
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 artifical intelligence (yet?). Boson is
26 still in very early development and not playable yet.
27
28 Boson's Code and Graphics are published under the GNU General Public
29 License.
30
31 If you want to know more about Boson, have a look at the Web site.
32
33 %description -l pl
34 Boson jest gr± strategiczn± rozgrywan± w czasie rzeczywistym, tak jak
35 Command&Conquer czy StarCraft. Zosta³ zaprojektowany dla maszyn
36 uniksowych (linuksowych); uzywa biblioteki Qt i QwSpriteField. Wymaga
37 siê co najmniej dwóch graczy, poniewa¿ brak (jeszcze?) sztucznej
38 inteligencji. Boson jest wci±¿ w fazie wczesnego rozwoju i nie da siê
39 jeszcze w niego graæ. Kod i grafika Bosona s± na powszechnej licencji
40 GNU. Aby dowiedzieæ siê wiêcej na temat Bosona, nale¿y zajrzeæ na
41 stronê WWW: http://aquila.rezel.enst.fr/boson/.
42
43 %prep
44 %setup -q -n %{name}
45
46 %build
47 kde_icondir=%{_pixmapsdir}; export kde_icondir
48 kde_htmldir=%{_htmldir}; export kde_htmldir
49 %configure \
50         --with-install-root=%{buildroot}
51         
52 # %{__make} Fails becuse after including many QT headers gcc is unable to find <map> :/
53 mv map map.foo
54 cd boson
55 %{__make}
56 cd ..
57 mv map.foo map
58 %{__make}
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62 %{__make} install DESTDIR=$RPM_BUILD_ROOT
63
64 ## install textures and resources files :
65 #install -d $RPM_BUILD_ROOT%{_datadir}/apps
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %files
71 %defattr(644,root,root,755)
72 %doc AUTHORS ChangeLog README TODO
73 %attr(755,root,root) %{_bindir}/*
74 %{_htmldir}/en/boson
75 %{_applnkdir}/Games/TacticStrategy/*.desktop
76 %{_datadir}/apps/boson/bosonui.rc
77 %{_datadir}/apps/boson/themes
78 %{_datadir}/apps/boson/map
79 %{_datadir}/apps/boson/music/*/*
80 %{_datadir}/apps/boson/pics/*.png
81 %{_pixmapsdir}/*/*/apps/boson.png
This page took 0.063939 seconds and 4 git commands to generate.