--- /dev/null
+Summary: Foosball is an open source foosball (Table Football) game
+Summary(pl): Foosball jest gr± w pi³karzyki
+Name: foosball
+Version: 0.92
+Release: 1
+License: GPL
+Group: X11/Applications/Games
+Source0: http://www.autismuk.freeserve.co.uk/%{name}-%{version}.tar.gz
+# Source0-md5: a7b1513216bf00b2c01e28c1621cac6f
+Source1: %{name}.desktop
+Source2: %{name}.png
+URL: http://freshmeat.net/projects/foosball/
+BuildRequires: SDL-devel >= 1.2.0
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Foosball is an open source foosball (Table Football) game that uses
+SDL. It allows you to play against the computer, or to play against a
+friend. Various formations and game speeds are available.
+
+%description -l pl
+Foosball jest gr± w pi³karzyki u¿ywaj±c± biblioteki SDL. Mo¿na graæ z
+komputerem lub z inn± osob±. Dostêpne s± ró¿ne ustawienia i szybko¶ci
+gry.
+
+%prep
+%setup -q
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS README
+%attr(755,root,root) %{_bindir}/*
+%{_desktopdir}/*.desktop
+%{_pixmapsdir}/*.png