]> git.pld-linux.org Git - packages/boson.git/blob - boson.spec
- removed two lines with define
[packages/boson.git] / boson.spec
1 Summary:        Boson: a Real-Time Strategy Game (RTS) for the KDE project
2 Summary(pl):    Boson: gra strategiczna w czasie rzeczywistym dla KDE
3 Name:           boson
4 Version:        0.6.1
5 Release:        3
6 License:        GPL
7 Group:          X11/Applications/Games
8 Source0:        http://telia.dl.sourceforge.net/sourceforge/boson/%{name}-all-%{version}.tar.bz2
9 Patch0:         %{name}-desktop.patch
10 Icon:           boson.xpm
11 URL:            http://boson.sourceforge.net/
12 BuildRequires:  arts-devel
13 BuildRequires:  kdegames-devel >= 3.0.3
14 BuildRequires:  kdelibs-devel >= 3.0.3
15 Requires:       arts-X11
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %define         _htmldir        %{_docdir}/kde/HTML
19
20 %description
21 Boson is a real-time strategy game, like Command&Conquer(tm) or
22 StarCraft(tm). It is designed to run on Unix (Linux) computers and
23 uses the Qt Toolkit and QwSpriteField. A minimum of two players is
24 required, since there is no artifical intelligence (yet?). Boson is
25 still in very early development and not playable yet.
26
27 %description -l pl
28 Boson jest gr± strategiczn± rozgrywan± w czasie rzeczywistym, tak jak
29 Command&Conquer czy StarCraft. Zosta³ zaprojektowany dla maszyn
30 uniksowych (linuksowych); uzywa biblioteki Qt i QwSpriteField. Wymaga
31 siê co najmniej dwóch graczy, poniewa¿ brak (jeszcze?) sztucznej
32 inteligencji. Boson jest wci±¿ w fazie wczesnego rozwoju i nie da siê
33 jeszcze w niego graæ.
34
35 %prep
36 %setup -q -n %{name}
37 %patch0 -p1
38
39 %build
40 kde_icondir=%{_pixmapsdir}; export kde_icondir
41 kde_htmldir=%{_htmldir}; export kde_htmldir
42 %configure \
43         --disable-rpath \
44         --enable-final
45         
46 # %{__make} Fails becuse after including many QT headers gcc is unable to find <map> :/
47 mv map map.foo
48 cd boson
49 %{__make}
50 cd ..
51 mv map.foo map
52 %{__make}
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT
59
60 ## install textures and resources files :
61 #install -d $RPM_BUILD_ROOT%{_datadir}/apps
62
63 mv -f $RPM_BUILD_ROOT%{_applnkdir}/Games/{TacticStrategy,Strategy}
64 mv -f $RPM_BUILD_ROOT%{_pixmapsdir}/{hicolor/48x48/apps/,}boson.png
65
66 %find_lang %{name} --with-kde
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %files -f %{name}.lang
72 %defattr(644,root,root,755)
73 %doc AUTHORS ChangeLog README TODO
74 %attr(755,root,root) %{_bindir}/*
75 %{_applnkdir}/Games/Strategy/*.desktop
76 %{_datadir}/apps/boson
77 %{_pixmapsdir}/boson.png
This page took 0.064517 seconds and 3 git commands to generate.