License: GPL
Group: X11/Applications/Games
Source0: ftp://ftp.sonic.net/pub/users/nbs/unix/x/circus-linux/%{name}-%{version}.tar.gz
-Source1: %{name}-desktop.patch
+# Source0-md5: d53f7d28d974c5605d6bebb9b1569216
+Source1: %{name}.desktop
Source2: %{name}.png
Patch0: %{name}-makefile.patch
Patch1: %{name}-version.patch
URL: http://www.newbreedsoftware.com/circus-linux/
BuildRequires: SDL_image-devel
BuildRequires: SDL_mixer-devel
+BuildRequires: autoconf
+BuildRequires: automake
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _prefix /usr/X11R6
-%define _mandir %{_prefix}/man
%description
"Circus Linux!" is a clone of the Atari 2600 game "Circus Atari", which is
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_applnkdir}/Games/Arcade,%{_pixmapsdir}}
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games/Arcade
install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}