]> git.pld-linux.org Git - packages/boson.git/blob - boson.spec
347f385b01edac66231ab4312651e85813347092
[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:      /tmp/%{name}-%{version}-root
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 - 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
47 %install
48 if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT ; fi
49 make prefix=$RPM_BUILD_ROOT%{prefix} install
50
51 ## install textures and resources files :
52 mkdir $RPM_BUILD_ROOT%{prefix}/share/apps/
53 cd $RPM_BUILD_ROOT%{prefix}/share/apps/
54 cp $RPM_SOURCE_DIR/boson-pics-%{version}.tgz . 
55 gunzip boson-pics-%{version}.tgz
56 tar xvf boson-pics-%{version}.tar
57 rm boson-pics-%{version}.tar
58
59 %clean
60 rm -rf %{builddir}
61 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
62 #rm -f $RPM_SOURCE_DIR/boson*
63
64 %files 
65 %{prefix}/bin/
66 %{prefix}/share/applnk/
67 %{prefix}/share/apps/
68 %{prefix}/share/icons/
69 %doc %{prefix}/share/doc/HTML/en/Boson/
70 %doc AUTHORS COPYING ChangeLog INSTALL README TODO
This page took 0.027492 seconds and 2 git commands to generate.