]> git.pld-linux.org Git - packages/boson.git/blob - boson.spec
ccf038fa73c7e93711f4e097dacc611dc0a80885
[packages/boson.git] / boson.spec
1 Summary:        Boson : a Real-Time Strategy Game (RTS) for the KDE project
2 Name:           boson 
3 Version:        0.2
4 Release:        1
5 License:        GPL
6 Group:          X11/KDE/Games
7 Source0:        boson-%{version}.tgz
8 Source1:        boson-pics-%{version}.tgz
9 Icon:           boson.xpm
10 URL:            http://aquila.rezel.enst.fr/boson/
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %define         _prefix         /usr/X11R6
14 %define         _mandir         %{_prefix}/man
15
16 %description
17 Boson is a real-time strategy game, like Command&Conquer(tm) or
18 StarCraft(tm). It is designed to run on Unix (Linux) computers and uses the
19 Qt Toolkit and QwSpriteField. A minimum of two players is required, since
20 there is no artifical intelligence (yet?). Boson is still in very early
21 development and not playable yet.
22
23 Boson's Code and Graphics are published under the GNU General Public License.
24
25 If you want to know more about Boson, have a look at the Web site.
26
27 %description -l pl
28 Boson jest gr± strategiczn± rozgrywan± w czsie rzeczywistym, tak jak
29 Command&Conquer czy StarCraft. Zosta³ zaprojektowany dla maszyn uniksowych
30 (linuksowych); uzywa biblioteki Qt i QwSpriteField. Wymaga siê co najmniej
31 dwóch graczy, poniewa¿ brak (jeszcze?) sztucznej inteligencji. Boson jest
32 wci±¿ w fazie wczesnego rozwoju i nie da siê jeszcze w niego graæ.
33 Kod i grafika Bosona s± na powszechnej licencji GNU.
34 Aby dowiedzieæ siê wiêcej na temat Bosona, nale¿y zajrzeæ na stronê WWW:
35 http://aquila.rezel.enst.fr/boson/.
36
37 %prep
38 %setup -q
39 %build
40 CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure \
41               --prefix=$KDEDIR \
42               --libdir=%{buildroot}/$KDEDIR/lib \
43  --with-install-root=%{buildroot}
44 make
45
46 %install
47 if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT ; fi
48 make prefix=$RPM_BUILD_ROOT%{prefix} install
49
50 ## install textures and resources files :
51 mkdir $RPM_BUILD_ROOT%{prefix}/share/apps/
52 cd $RPM_BUILD_ROOT%{prefix}/share/apps/
53 cp $RPM_SOURCE_DIR/boson-pics-%{version}.tgz . 
54 gunzip boson-pics-%{version}.tgz
55 tar xvf boson-pics-%{version}.tar
56 rm boson-pics-%{version}.tar
57
58 %clean
59 rm -rf %{builddir}
60 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
61 #rm -f $RPM_SOURCE_DIR/boson*
62
63 %files 
64 %{prefix}/bin/
65 %{prefix}/share/applnk/
66 %{prefix}/share/apps/
67 %{prefix}/share/icons/
68 %doc %{prefix}/share/doc/HTML/en/Boson/
69 %doc AUTHORS COPYING ChangeLog INSTALL README TODO
This page took 0.067835 seconds and 3 git commands to generate.