1 Summary: Balloon Chase.
6 Group: X11/Applications/Games
7 Source0: http://koti.mbnet.fi/makegho/c/bchase/%{name}-%{version}.tar.bz2
8 URL: http://koti.mbnet.fi/makegho/c/bchase/
9 BuildRequires: SDL-devel >= 1.2.0
10 BuildRequires: SDL_image-devel >= 1.2.0
11 Requires: SDL >= 1.2.0
12 Requires: SDL_image >= 1.2.0
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 %define _prefix /usr/X11R6
18 Balloon Chase is a game where you fly a hot air balloon
19 and try to blow the other player out of the screen.
28 rm -rf $RPM_BUILD_ROOT
30 install -d $RPM_BUILD_ROOT/%{_bindir}
31 install -d $RPM_BUILD_ROOT/%{_datadir}/%{name}/images
33 cp main $RPM_BUILD_ROOT/%{_datadir}/%{name}/%{name}
34 cp images/* $RPM_BUILD_ROOT/%{_datadir}/%{name}/images
36 cat > $RPM_BUILD_ROOT/%{_bindir}/%{name} <<EOF
38 cd %{_datadir}/%{name}
43 rm -rf $RPM_BUILD_ROOT
46 %defattr(644,root,root,755)
47 %doc VERSION README COPYING
48 %attr(755,root,root) %{_bindir}/%{name}
49 %attr(755,root,root) %{_datadir}/%{name}/%{name}
50 %dir %{_datadir}/%{name}
51 %dir %{_datadir}/%{name}/images
52 %{_datadir}/%{name}/images/*