]> git.pld-linux.org Git - packages/boson.git/blobdiff - boson.spec
- Added patch1 (thx giejot)
[packages/boson.git] / boson.spec
index 5e5557b943c36aebf52e9728bd6aa76930bd114c..bf6c76685742556cb0a2a764eb36183d990c8efe 100644 (file)
@@ -5,8 +5,10 @@ Version:       0.6.1
 Release:       3
 License:       GPL
 Group:         X11/Applications/Games
-Source0:       http://telia.dl.sourceforge.net/sourceforge/boson/%{name}-all-%{version}.tar.bz2
+Source0:       http://dl.sourceforge.net/sourceforge/%{name}/%{name}-all-%{version}.tar.bz2
+# Source0-md5: a8a1f40fde64d5e03d22b3d10cc16198
 Patch0:                %{name}-desktop.patch
+Patch1:                %{name}-qptrdict_h.patch
 Icon:          boson.xpm
 URL:           http://boson.sourceforge.net/
 BuildRequires: arts-devel
@@ -15,15 +17,13 @@ BuildRequires:      kdelibs-devel >= 3.0.3
 Requires:      arts-X11
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _prefix         /usr/X11R6
-%define                _mandir         %{_prefix}/man
 %define                _htmldir        %{_docdir}/kde/HTML
 
 %description
 Boson is a real-time strategy game, like Command&Conquer(tm) or
 StarCraft(tm). It is designed to run on Unix (Linux) computers and
 uses the Qt Toolkit and QwSpriteField. A minimum of two players is
-required, since there is no artifical intelligence (yet?). Boson is
+required, since there is no artificial intelligence (yet?). Boson is
 still in very early development and not playable yet.
 
 %description -l pl
@@ -37,6 +37,7 @@ jeszcze w niego gra
 %prep
 %setup -q -n %{name}
 %patch0 -p1
+%patch1 -p1
 
 %build
 kde_icondir=%{_pixmapsdir}; export kde_icondir
@@ -44,13 +45,13 @@ kde_htmldir=%{_htmldir}; export kde_htmldir
 %configure \
        --disable-rpath \
        --enable-final
-       
+
 # %{__make} Fails becuse after including many QT headers gcc is unable to find <map> :/
-mv map map.foo
+mv ./data/map ./data/map.foo
 cd boson
 %{__make}
 cd ..
-mv map.foo map
+mv ./data/map.foo ./data/map
 %{__make}
 
 %install
@@ -63,7 +64,7 @@ rm -rf $RPM_BUILD_ROOT
 #install -d $RPM_BUILD_ROOT%{_datadir}/apps
 
 mv -f $RPM_BUILD_ROOT%{_applnkdir}/Games/{TacticStrategy,Strategy}
-mv -f $RPM_BUILD_ROOT%{_pixmapsdir}/{hicolor/48x48/apps,}boson.png
+mv -f $RPM_BUILD_ROOT%{_pixmapsdir}/{hicolor/48x48/apps/,}boson.png
 
 %find_lang %{name} --with-kde
 
This page took 0.180697 seconds and 4 git commands to generate.