1 Summary: 2D Platform game
2 Summary(pl.UTF-8): Dwuwymiarowa gra platformowa
7 Group: X11/Applications/Games
8 Source0: http://downloads.sourceforge.net/legendofedgar/%{name}-%{version}-1.tar.gz
9 # Source0-md5: b9a1c89da2ebeab2fff0a1a79ae7cb08
11 Patch0: %{name}-makefile.patch
12 Patch1: %{name}-useless_files.patch
13 Patch2: %{name}-desktop.patch
14 URL: http://www.parallelrealities.co.uk/p/legend-of-edgar.html
15 BuildRequires: SDL_image-devel
16 BuildRequires: SDL_mixer-devel
17 BuildRequires: SDL_ttf-devel
18 BuildRequires: gettext-tools
19 BuildRequires: zlib-devel
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 In The Legend of Edgar you take on the role of Edgar as he ventures
26 across the world, battling fearsome creatures and solving puzzles
27 whilst trying to find and rescue his father.
29 %description -l pl.UTF-8
30 W The Legend of Edgar gracz wciela się w rolę Edgara podróżując przez
31 świat, walcząc z przerażającymi potworami i rozwiązując zagadki
32 podczas próby odnalezienia i uratowania swojego ojca.
43 OPTFLAGS="%{rpmcflags}" \
44 LDFLAGS="%{rpmldflags}"
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
51 DESTDIR=$RPM_BUILD_ROOT
53 install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}
55 %find_lang %{name} --all-name
58 rm -rf $RPM_BUILD_ROOT
60 %files -f %{name}.lang
61 %defattr(644,root,root,755)
63 %attr(755,root,root) %{_bindir}/edgar
64 %{_datadir}/games/edgar
65 %{_desktopdir}/edgar.desktop
66 %{_pixmapsdir}/edgar.png