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