--- /dev/null
+Summary: 3D action game
+Summary(pl.UTF-8): Trójwymiarowa gra akcji
+Name: blobAndConquer
+Version: 1.06
+Release: 1
+License: GPL v2+
+Group: X11/Applications/Games
+# download it from http://www.parallelrealities.co.uk/projects/blobAndConquer.php
+# and put it into the blobAndConquer dir
+Source0: %{name}-%{version}-1.tar.gz
+# Source0-md5: 17e3dd5b42142dddbc0af85fb7470d8a
+Patch0: %{name}-makefile.patch
+URL: http://www.parallelrealities.co.uk/projects/blobAndConquer.php
+BuildRequires: OpenGL-GLU-devel
+BuildRequires: OpenGL-devel
+BuildRequires: SDL_image-devel
+BuildRequires: SDL_mixer-devel
+BuildRequires: SDL_ttf-devel
+BuildRequires: zlib-devel
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Mission and Objective based 3D Action game. This is episode 2 of the
+Blob Wars saga.
+
+%description -l pl.UTF-8
+Trójwymiarowa gra akcji oparta na wykonywaniu misji i zadań. Jest to
+drugi epizod sagi Blob Wars.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__make} \
+ CXX="%{__cxx}" \
+ CFLAGS="%{rpmcflags}" \
+ LDFLAGS="%{rpmldflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_pixmapsdir}
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+install icons/blobAndConquer.png $RPM_BUILD_ROOT%{_pixmapsdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc doc
+%attr(755,root,root) %{_bindir}/*
+%dir %{_datadir}/%{name}
+%{_datadir}/%{name}/blobAndConquer.pak
+%{_desktopdir}/%{name}.desktop
+%{_pixmapsdir}/%{name}.png