Summary: 2D Platform game
Summary(pl.UTF-8): Dwuwymiarowa gra platformowa
Name: edgar
-Version: 0.26
+Version: 0.33
Release: 1
License: GPL v2+
Group: X11/Applications/Games
-# download it from http://www.parallelrealities.co.uk/projects/edgar.php
-# and put it into the edgar dir
-Source0: %{name}-%{version}-1.tar.gz
-# Source0-md5: 38f85b1c447504128b5a0e74d17f80ab
+Source0: http://www.parallelrealities.co.uk/download/12854320/edgar/%{name}-%{version}-1.tar.gz
+# Source0-md5: ca3622338ead40f193433e345267a08f
Source1: %{name}.png
Patch0: %{name}-makefile.patch
Patch1: %{name}-usless_files.patch
BuildRequires: SDL_image-devel
BuildRequires: SDL_mixer-devel
BuildRequires: SDL_ttf-devel
+BuildRequires: gettext-devel
+BuildRequires: rpmbuild(macros) >= 1.268
BuildRequires: zlib-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}
+%find_lang %{name} --all-name
+
%clean
rm -rf $RPM_BUILD_ROOT
-%files
+%files -f %{name}.lang
%defattr(644,root,root,755)
%doc doc/*
%attr(755,root,root) %{_bindir}/edgar