]> git.pld-linux.org Git - packages/boson.git/blame - boson.spec
- tabs in preamble
[packages/boson.git] / boson.spec
CommitLineData
263efd3d 1#
2# TODO:
3# - fix icon installation (probably somewhere in KDE3Macros.cmake)
263efd3d 4#
03df381a 5Summary: Boson: a Real-Time Strategy Game (RTS) for the KDE project
e62a646c 6Summary(pl.UTF-8): Boson: gra strategiczna w czasie rzeczywistym dla KDE
c29f9d9f 7Name: boson
900d1f11 8Version: 0.13
ff20cb01 9Release: 0.1
f1199096 10License: GPL
383bede4 11Group: X11/Applications/Games
db6a4c6a 12Source0: http://dl.sourceforge.net/boson/%{name}-all-%{version}.tar.bz2
900d1f11 13# Source0-md5: 1b91bbdda1ff81d4d60f80c8175d974b
14Patch0: %{name}-ugly_install_workround.patch
6b81d176 15URL: http://boson.sourceforge.net/
40b8fe05 16BuildRequires: arts-devel
900d1f11 17BuildRequires: cmake >= 2.4.0
263efd3d 18BuildRequires: kdegames-devel >= 8:3.2
19BuildRequires: kdelibs-devel >= 9:3.2
ff20cb01 20BuildRequires: lib3ds-devel
900d1f11 21BuildRequires: rpmbuild(macros) >= 1.293
b0bc7c57 22Requires: arts-X11
9ad5e9df 23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
f1199096 24
36d24f82 25%description
f1199096 26Boson is a real-time strategy game, like Command&Conquer(tm) or
1f15ea7e 27StarCraft(tm). It is designed to run on Unix (Linux) computers and
28uses the Qt Toolkit and QwSpriteField. A minimum of two players is
94ef520f 29required, since there is no artificial intelligence (yet?). Boson is
1f15ea7e 30still in very early development and not playable yet.
36d24f82 31
3ec14d3f
JR
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ć.
677160c8 39
36d24f82 40%prep
900d1f11 41%setup -q -c
42%patch0 -p1
c29f9d9f 43
36d24f82 44%build
900d1f11 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}
3bbc2cbf 52
55808fcc 53%{__make}
36d24f82 54
36d24f82 55%install
1f15ea7e 56rm -rf $RPM_BUILD_ROOT
371f1cb1 57
58%{__make} install \
59 DESTDIR=$RPM_BUILD_ROOT
900d1f11 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
75797b45 65mv -f boson-all-0.13/data/{AUTHORS,ChangeLog,README} .
371f1cb1 66
36d24f82 67%clean
c29f9d9f 68rm -rf $RPM_BUILD_ROOT
36d24f82 69
900d1f11 70%files
1f15ea7e 71%defattr(644,root,root,755)
75797b45 72%doc AUTHORS ChangeLog README
03df381a 73%attr(755,root,root) %{_bindir}/*
371f1cb1 74%{_datadir}/apps/boson
900d1f11 75%{_desktopdir}/*.desktop
d603b77b 76%{_datadir}/config/*
77%{_iconsdir}/hicolor/*/*/*
78%dir %{_libdir}/kde3/plugins/boson
30911ddf 79%attr(755,root,root) %{_libdir}/kde3/plugins/boson/*.so*
This page took 0.132935 seconds and 4 git commands to generate.