]> git.pld-linux.org Git - packages/boson.git/blob - boson.spec
- add TODO
[packages/boson.git] / boson.spec
1 #
2 # TODO:
3 # - fix icon installation (probably somewhere in KDE3Macros.cmake)
4 # - better %doc installation
5 #
6 Summary:        Boson: a Real-Time Strategy Game (RTS) for the KDE project
7 Summary(pl):    Boson: gra strategiczna w czasie rzeczywistym dla KDE
8 Name:           boson
9 Version:        0.13
10 Release:        0.1
11 License:        GPL
12 Group:          X11/Applications/Games
13 Source0:        http://dl.sourceforge.net/boson/%{name}-all-%{version}.tar.bz2
14 # Source0-md5:  1b91bbdda1ff81d4d60f80c8175d974b
15 Patch0:         %{name}-ugly_install_workround.patch
16 URL:            http://boson.sourceforge.net/
17 BuildRequires:  arts-devel
18 BuildRequires:  cmake >= 2.4.0
19 BuildRequires:  kdegames-devel >= 8:3.2
20 BuildRequires:  kdelibs-devel >= 9:3.2
21 BuildRequires:  lib3ds-devel
22 BuildRequires:  rpmbuild(macros) >= 1.293
23 Requires:       arts-X11
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 Boson is a real-time strategy game, like Command&Conquer(tm) or
28 StarCraft(tm). It is designed to run on Unix (Linux) computers and
29 uses the Qt Toolkit and QwSpriteField. A minimum of two players is
30 required, since there is no artificial intelligence (yet?). Boson is
31 still in very early development and not playable yet.
32
33 %description -l pl
34 Boson jest gr± strategiczn± rozgrywan± w czasie rzeczywistym, tak jak
35 Command&Conquer czy StarCraft. Zosta³ zaprojektowany dla maszyn
36 uniksowych (linuksowych); u¿ywa biblioteki Qt i QwSpriteField. Wymaga
37 siê co najmniej dwóch graczy, poniewa¿ brak (jeszcze?) sztucznej
38 inteligencji. Boson jest wci±¿ w fazie wczesnego rozwoju i nie da siê
39 jeszcze w niego graæ.
40
41 %prep
42 %setup -q -c
43 %patch0 -p1
44
45 %build
46 %cmake \
47 %if "%{_lib}" == "lib64"
48         -DLIB_SUFFIX=64 \
49 %endif
50         -DCMAKE_INSTALL_PREFIX=%{_prefix} \
51         -DHTML_INSTALL_DIR=%{_kdedocdir} \
52         %{name}-all-%{version}
53
54 %{__make}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58
59 %{__make} install \
60         DESTDIR=$RPM_BUILD_ROOT
61 install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/{32x32,48x48}/apps
62 install %{name}-all-%{version}/code/boson/data/hi32-app-boeditor.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/32x32/apps/boeditor.png
63 install %{name}-all-%{version}/code/boson/data/hi32-app-boson.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/32x32/apps/boson.png
64 install %{name}-all-%{version}/code/boson/data/hi48-app-boeditor.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/apps/boeditor.png
65 install %{name}-all-%{version}/code/boson/data/hi48-app-boson.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/apps/boson.png
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %files
71 %defattr(644,root,root,755)
72 %doc boson-all-0.13/data/AUTHORS boson-all-0.13/data/ChangeLog boson-all-0.13/data/README
73 %attr(755,root,root) %{_bindir}/*
74 %{_datadir}/apps/boson
75 %{_desktopdir}/*.desktop
76 %{_datadir}/config/*
77 %{_iconsdir}/hicolor/*/*/*
78 %dir %{_libdir}/kde3/plugins/boson
79 %attr(755,root,root) %{_libdir}/kde3/plugins/boson/*.so*
This page took 0.111357 seconds and 3 git commands to generate.