]> git.pld-linux.org Git - packages/boson.git/blame - boson.spec
- adapter(ized) and partialy rewrited.
[packages/boson.git] / boson.spec
CommitLineData
f1199096 1Summary: Boson : a Real-Time Strategy Game (RTS) for the KDE project
2Name: boson
3Version: 0.2
4Release: 1
5License: GPL
6Group: X11/KDE/Games
7Source0: boson-%{version}.tgz
8Source1: boson-pics-%{version}.tgz
9Icon: boson.xpm
10URL: http://aquila.rezel.enst.fr/boson/
11BuildRoot: /tmp/%{name}-%{version}-root
12
13%define _prefix /usr/X11R6
14%define _mandir %{_prefix}/man
36d24f82 15
16%description
f1199096 17Boson is a real-time strategy game, like Command&Conquer(tm) or
18StarCraft(tm). It is designed to run on Unix (Linux) computers and uses the
19Qt Toolkit and QwSpriteField. A minimum of two players is required, since
20there is no artifical intelligence (yet?). Boson is still in very early
21development and not playable yet.
36d24f82 22
23Boson's Code and Graphics are published under the GNU General Public License.
24
25If you want to know more about Boson, have a look at the Web site.
26
27%prep
f1199096 28%setup -q
36d24f82 29%build
30CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure \
31 --prefix=$KDEDIR \
32 --libdir=%{buildroot}/$KDEDIR/lib \
33 --with-install-root=%{buildroot}
34make
35
36
37%install
38if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT ; fi
39make prefix=$RPM_BUILD_ROOT%{prefix} install
40
41## install textures and resources files :
42mkdir $RPM_BUILD_ROOT%{prefix}/share/apps/
43cd $RPM_BUILD_ROOT%{prefix}/share/apps/
44cp $RPM_SOURCE_DIR/boson-pics-%{version}.tgz .
45gunzip boson-pics-%{version}.tgz
46tar xvf boson-pics-%{version}.tar
47rm boson-pics-%{version}.tar
48
49%clean
50rm -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.084791 seconds and 4 git commands to generate.