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