-Summary: Balloon Chase.
+Summary: Balloon Chase game
+Summary(pl): Gra Balloon Chase
Name: balloonchase
-Version: 0.9.2
+Version: 0.9.6
Release: 1
License: GPL
Group: X11/Applications/Games
Source0: http://koti.mbnet.fi/makegho/c/bchase/%{name}-%{version}.tar.bz2
URL: http://koti.mbnet.fi/makegho/c/bchase/
-BuildRequires: SDL-devel >= 1.2.0
BuildRequires: SDL_image-devel >= 1.2.0
-Requires: SDL >= 1.2.0
-Requires: SDL_image >= 1.2.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _prefix /usr/X11R6
%description
-Balloon Chase is a game where you fly a hot air balloon
-and try to blow the other player out of the screen.
+Balloon Chase is a game where you fly a hot air balloon and try to
+blow the other player out of the screen.
+
+%description -l pl
+Balloon Chase to gra, w której lata siê balonem wype³nionym ciep³ym
+powietrzem, próbuj±c wypchn±æ drugiego gracza z ekranu.
%prep
-%setup -q -n %{name}
+%setup -q
%build
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}/images}
-install -d $RPM_BUILD_ROOT/%{_bindir}
-install -d $RPM_BUILD_ROOT/%{_datadir}/%{name}/images
-
-cp main $RPM_BUILD_ROOT/%{_datadir}/%{name}/%{name}
+cp %{name} $RPM_BUILD_ROOT/%{_datadir}/%{name}
+cp %{name}.dat $RPM_BUILD_ROOT/%{_datadir}/%{name}
cp images/* $RPM_BUILD_ROOT/%{_datadir}/%{name}/images
cat > $RPM_BUILD_ROOT/%{_bindir}/%{name} <<EOF
%files
%defattr(644,root,root,755)
-%doc VERSION README COPYING
+%doc VERSION README
%attr(755,root,root) %{_bindir}/%{name}
-%attr(755,root,root) %{_datadir}/%{name}/%{name}
%dir %{_datadir}/%{name}
+# hey, isn't it arch-dependent binary??? if so, it cannot be in %{_datadir}!
+%attr(755,root,root) %{_datadir}/%{name}/%{name}
+%{_datadir}/%{name}/%{name}.dat
%dir %{_datadir}/%{name}/images
%{_datadir}/%{name}/images/*