]> git.pld-linux.org Git - packages/boson.git/blob - boson.spec
- adapter(ized) and partialy rewrited.
[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 %prep
28 %setup -q
29 %build
30 CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure \
31               --prefix=$KDEDIR \
32               --libdir=%{buildroot}/$KDEDIR/lib \
33  --with-install-root=%{buildroot}
34 make
35
36
37 %install
38 if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT ; fi
39 make prefix=$RPM_BUILD_ROOT%{prefix} install
40
41 ## install textures and resources files :
42 mkdir $RPM_BUILD_ROOT%{prefix}/share/apps/
43 cd $RPM_BUILD_ROOT%{prefix}/share/apps/
44 cp $RPM_SOURCE_DIR/boson-pics-%{version}.tgz . 
45 gunzip boson-pics-%{version}.tgz
46 tar xvf boson-pics-%{version}.tar
47 rm boson-pics-%{version}.tar
48
49 %clean
50 rm -rf %{builddir}
51 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
52 #rm -f $RPM_SOURCE_DIR/boson*
53
54 %files 
55 %{prefix}/bin/
56 %{prefix}/share/applnk/
57 %{prefix}/share/apps/
58 %{prefix}/share/icons/
59 %doc %{prefix}/share/doc/HTML/en/Boson/
60 %doc AUTHORS COPYING ChangeLog INSTALL README TODO
This page took 0.05929 seconds and 4 git commands to generate.