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