Release: 1
License: GPL
Group: X11/KDE/Games
+Group(pl): X11/KDE/Gry
Source0: boson-%{version}.tgz
Source1: boson-pics-%{version}.tgz
Icon: boson.xpm
%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 still in very early
-development and not playable yet.
+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
+still in very early development and not playable yet.
-Boson's Code and Graphics are published under the GNU General Public License.
+Boson's Code and Graphics are published under the GNU General Public
+License.
If you want to know more about Boson, have a look at the Web site.
%description -l pl
Boson jest gr± strategiczn± rozgrywan± w czsie rzeczywistym, tak jak
-Command&Conquer czy StarCraft. Zosta³ zaprojektowany dla maszyn uniksowych
-(linuksowych); uzywa biblioteki Qt i QwSpriteField. Wymaga siê co najmniej
-dwóch graczy, poniewa¿ brak (jeszcze?) sztucznej inteligencji. Boson jest
-wci±¿ w fazie wczesnego rozwoju i nie da siê jeszcze w niego graæ.
-Kod i grafika Bosona s± na powszechnej licencji GNU.
-Aby dowiedzieæ siê wiêcej na temat Bosona, nale¿y zajrzeæ na stronê WWW:
-http://aquila.rezel.enst.fr/boson/.
+Command&Conquer czy StarCraft. Zosta³ zaprojektowany dla maszyn
+uniksowych (linuksowych); uzywa biblioteki Qt i QwSpriteField. Wymaga
+siê co najmniej dwóch graczy, poniewa¿ brak (jeszcze?) sztucznej
+inteligencji. Boson jest wci±¿ w fazie wczesnego rozwoju i nie da siê
+jeszcze w niego graæ. Kod i grafika Bosona s± na powszechnej licencji
+GNU. Aby dowiedzieæ siê wiêcej na temat Bosona, nale¿y zajrzeæ na
+stronê WWW: http://aquila.rezel.enst.fr/boson/.
%prep
%setup -q
make
%install
-if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT ; fi
-make prefix=$RPM_BUILD_ROOT%{prefix} install
+rm -rf $RPM_BUILD_ROOT
+make prefix=$RPM_BUILD_ROOT%{_prefix} install
## install textures and resources files :
-mkdir $RPM_BUILD_ROOT%{prefix}/share/apps/
-cd $RPM_BUILD_ROOT%{prefix}/share/apps/
+mkdir $RPM_BUILD_ROOT%{_datadir}/apps/
+cd $RPM_BUILD_ROOT%{_datadir}/apps/
cp $RPM_SOURCE_DIR/boson-pics-%{version}.tgz .
gunzip boson-pics-%{version}.tgz
tar xvf boson-pics-%{version}.tar
rm boson-pics-%{version}.tar
%clean
-rm -rf %{builddir}
-[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
-#rm -f $RPM_SOURCE_DIR/boson*
+rm -f $RPM_SOURCE_DIR
%files
-%{prefix}/bin/
-%{prefix}/share/applnk/
-%{prefix}/share/apps/
-%{prefix}/share/icons/
-%doc %{prefix}/share/doc/HTML/en/Boson/
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/
+%{_applnkdir}/
+%{_datadir}/apps/
+%{_datadir}/icons/
+%doc %{_datadir}/doc/HTML/en/Boson/
%doc AUTHORS COPYING ChangeLog INSTALL README TODO