]> git.pld-linux.org Git - packages/edgar.git/blob - edgar.spec
- up to 0.32
[packages/edgar.git] / edgar.spec
1 Summary:        2D Platform game
2 Summary(pl.UTF-8):      Dwuwymiarowa gra platformowa
3 Name:           edgar
4 Version:        0.32
5 Release:        1
6 License:        GPL v2+
7 Group:          X11/Applications/Games
8 Source0:        http://www.parallelrealities.co.uk/download/1e0beca9/edgar/%{name}-%{version}-1.tar.gz
9 # Source0-md5:  835892ce58b1622a05624cc8c8b19258
10 Source1:        %{name}.png
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:  zlib-devel
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 In The Legend of Edgar you take on the role of Edgar as he ventures
23 across the world, battling fearsome creatures and solving puzzles
24 whilst trying to find and rescue his father.
25
26 %description -l pl.UTF-8
27 W The Legend of Edgar gracz wciela się w rolę Edgara
28 podróżującego przez świat, walczącego z przerażającymi
29 potworami i rozwiązującego zagadki podczas próby odnalezienia i
30 uratowania swojego ojca.
31
32 %prep
33 %setup -q
34 %patch0 -p1
35 %patch1 -p1
36 %patch2 -p1
37
38 %build
39 %{__make} \
40         CXX="%{__cc}" \
41         OPTFLAGS="%{rpmcflags}" \
42         LDFLAGS="%{rpmldflags}"
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
47
48 %{__make} install \
49         DESTDIR=$RPM_BUILD_ROOT
50
51 install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}
52
53 %find_lang %{name} --all-name
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files -f %{name}.lang
59 %defattr(644,root,root,755)
60 %doc doc/*
61 %attr(755,root,root) %{_bindir}/edgar
62 %{_datadir}/edgar
63 %{_desktopdir}/edgar.desktop
64 %{_pixmapsdir}/edgar.png
This page took 0.031197 seconds and 3 git commands to generate.