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