]> git.pld-linux.org Git - packages/edgar.git/blob - edgar.spec
- 0.62
[packages/edgar.git] / edgar.spec
1 Summary:        2D Platform game
2 Summary(pl.UTF-8):      Dwuwymiarowa gra platformowa
3 Name:           edgar
4 Version:        0.62
5 Release:        1
6 License:        GPL v2+
7 Group:          X11/Applications/Games
8 Source0:        http://www.parallelrealities.co.uk/download/edgar/%{name}-%{version}-1.tar.gz
9 # Source0-md5:  02f2315dacb8c4761840ce012333e193
10 Source1:        %{name}.png
11 Patch0:         %{name}-makefile.patch
12 Patch1:         %{name}-useless_files.patch
13 Patch2:         %{name}-desktop.patch
14 Patch3:         %{name}-link.patch
15 URL:            http://www.parallelrealities.co.uk/projects/edgar.php
16 BuildRequires:  SDL_image-devel
17 BuildRequires:  SDL_mixer-devel
18 BuildRequires:  SDL_net-devel
19 BuildRequires:  SDL_ttf-devel
20 BuildRequires:  gettext-devel
21 BuildRequires:  zlib-devel
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
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.
33
34 %prep
35 %setup -q
36 %patch0 -p1
37 %patch1 -p1
38 %patch2 -p1
39 %patch3 -p1
40
41 %build
42 %{__make} \
43         CXX="%{__cc}" \
44         OPTFLAGS="%{rpmcflags}" \
45         LDFLAGS="%{rpmldflags}"
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc doc/*
62 %attr(755,root,root) %{_bindir}/edgar
63 %{_datadir}/games/edgar
64 %{_desktopdir}/edgar.desktop
65 %{_pixmapsdir}/edgar.png
This page took 0.040724 seconds and 4 git commands to generate.