]> git.pld-linux.org Git - packages/boson.git/blob - boson.spec
- up to 0.13
[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.13
5 Release:        0.1
6 License:        GPL
7 Group:          X11/Applications/Games
8 Source0:        http://dl.sourceforge.net/boson/%{name}-all-%{version}.tar.bz2
9 # Source0-md5:  1b91bbdda1ff81d4d60f80c8175d974b
10 Patch0:         %{name}-ugly_install_workround.patch
11 URL:            http://boson.sourceforge.net/
12 BuildRequires:  arts-devel
13 BuildRequires:  cmake >= 2.4.0
14 BuildRequires:  kdegames-devel >= 3.1
15 BuildRequires:  kdelibs-devel >= 3.1
16 BuildRequires:  lib3ds-devel
17 BuildRequires:  rpmbuild(macros) >= 1.293
18 Requires:       arts-X11
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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); u¿ywa 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 -c
38 %patch0 -p1
39
40 %build
41 %cmake \
42 %if "%{_lib}" == "lib64"
43         -DLIB_SUFFIX=64 \
44 %endif
45         -DCMAKE_INSTALL_PREFIX=%{_prefix} \
46         -DHTML_INSTALL_DIR=%{_kdedocdir} \
47         %{name}-all-%{version}
48
49 %{__make}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT
56 install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/{32x32,48x48}/apps
57 install %{name}-all-%{version}/code/boson/data/hi32-app-boeditor.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/32x32/apps/boeditor.png
58 install %{name}-all-%{version}/code/boson/data/hi32-app-boson.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/32x32/apps/boson.png
59 install %{name}-all-%{version}/code/boson/data/hi48-app-boeditor.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/apps/boeditor.png
60 install %{name}-all-%{version}/code/boson/data/hi48-app-boson.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/apps/boson.png
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files
66 %defattr(644,root,root,755)
67 %doc boson-all-0.13/data/AUTHORS boson-all-0.13/data/ChangeLog boson-all-0.13/data/README
68 %attr(755,root,root) %{_bindir}/*
69 %{_datadir}/apps/boson
70 %{_desktopdir}/*.desktop
71 %{_datadir}/config/*
72 %{_iconsdir}/hicolor/*/*/*
73 %dir %{_libdir}/kde3/plugins/boson
74 %attr(755,root,root) %{_libdir}/kde3/plugins/boson/*.so*
This page took 0.042104 seconds and 3 git commands to generate.