]>
Commit | Line | Data |
---|---|---|
03901c0b | 1 | Summary: 2D Platform game |
2 | Summary(pl.UTF-8): Dwuwymiarowa gra platformowa | |
3 | Name: edgar | |
d66a39d1 | 4 | Version: 0.97 |
3763ba35 | 5 | Release: 1 |
03901c0b | 6 | License: GPL v2+ |
7 | Group: X11/Applications/Games | |
ffe3968d | 8 | Source0: http://downloads.sourceforge.net/legendofedgar/%{name}-%{version}-1.tar.gz |
d66a39d1 | 9 | # Source0-md5: b9a1c89da2ebeab2fff0a1a79ae7cb08 |
03901c0b | 10 | Source1: %{name}.png |
11 | Patch0: %{name}-makefile.patch | |
8bbf6b73 | 12 | Patch1: %{name}-useless_files.patch |
03901c0b | 13 | Patch2: %{name}-desktop.patch |
056c8612 | 14 | URL: http://www.parallelrealities.co.uk/p/legend-of-edgar.html |
03901c0b | 15 | BuildRequires: SDL_image-devel |
16 | BuildRequires: SDL_mixer-devel | |
17 | BuildRequires: SDL_ttf-devel | |
26507245 | 18 | BuildRequires: gettext-tools |
03901c0b | 19 | BuildRequires: zlib-devel |
7fd5b803 | 20 | Requires: audiofile |
21 | Requires: libmikmod | |
03901c0b | 22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
23 | ||
24 | %description | |
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. | |
28 | ||
29 | %description -l pl.UTF-8 | |
0abd5286 | 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. | |
03901c0b | 33 | |
34 | %prep | |
35 | %setup -q | |
36 | %patch0 -p1 | |
37 | %patch1 -p1 | |
38 | %patch2 -p1 | |
39 | ||
40 | %build | |
41 | %{__make} \ | |
42 | CXX="%{__cc}" \ | |
43 | OPTFLAGS="%{rpmcflags}" \ | |
44 | LDFLAGS="%{rpmldflags}" | |
45 | ||
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | install -d $RPM_BUILD_ROOT%{_pixmapsdir} | |
49 | ||
50 | %{__make} install \ | |
51 | DESTDIR=$RPM_BUILD_ROOT | |
52 | ||
53 | install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir} | |
54 | ||
3763ba35 | 55 | %find_lang %{name} --all-name |
56 | ||
03901c0b | 57 | %clean |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
3763ba35 | 60 | %files -f %{name}.lang |
03901c0b | 61 | %defattr(644,root,root,755) |
62 | %doc doc/* | |
63 | %attr(755,root,root) %{_bindir}/edgar | |
8bbf6b73 | 64 | %{_datadir}/games/edgar |
03901c0b | 65 | %{_desktopdir}/edgar.desktop |
66 | %{_pixmapsdir}/edgar.png |