1 Summary: 2D Platform game
2 Summary(pl.UTF-8): Dwuwymiarowa gra platformowa
7 Group: X11/Applications/Games
8 Source0: http://www.parallelrealities.co.uk/download/1e0beca9/edgar/%{name}-%{version}-1.tar.gz
9 # Source0-md5: 835892ce58b1622a05624cc8c8b19258
11 Patch0: %{name}-makefile.patch
12 Patch1: %{name}-usless_files.patch
13 Patch2: %{name}-desktop.patch
14 URL: http://www.parallelrealities.co.uk/projects/edgar.php
15 BuildRequires: SDL_image-devel
16 BuildRequires: SDL_mixer-devel
17 BuildRequires: SDL_ttf-devel
18 BuildRequires: rpmbuild(macros) >= 1.268
19 BuildRequires: zlib-devel
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 In The Legend of Edgar you take on the role of Edgar as he ventures
24 across the world, battling fearsome creatures and solving puzzles
25 whilst trying to find and rescue his father.
27 %description -l pl.UTF-8
28 W The Legend of Edgar gracz wciela się w rolę Edgara
29 podróżującego przez świat, walczącego z przerażającymi
30 potworami i rozwiązującego zagadki podczas próby odnalezienia i
31 uratowania swojego ojca.
42 OPTFLAGS="%{rpmcflags}" \
43 LDFLAGS="%{rpmldflags}"
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
50 DESTDIR=$RPM_BUILD_ROOT
52 install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}
54 %find_lang %{name} --all-name
57 rm -rf $RPM_BUILD_ROOT
59 %files -f %{name}.lang
60 %defattr(644,root,root,755)
62 %attr(755,root,root) %{_bindir}/edgar
64 %{_desktopdir}/edgar.desktop
65 %{_pixmapsdir}/edgar.png