]> git.pld-linux.org Git - packages/edgar.git/blob - edgar.spec
f9a864f3833d7b7e7790fa636a600ff4ef2fe887
[packages/edgar.git] / edgar.spec
1 Summary:        2D Platform game
2 Summary(pl.UTF-8):      Dwuwymiarowa gra platformowa
3 Name:           edgar
4 Version:        0.33
5 Release:        1
6 License:        GPL v2+
7 Group:          X11/Applications/Games
8 Source0:        http://www.parallelrealities.co.uk/download/12854320/edgar/%{name}-%{version}-1.tar.gz
9 # Source0-md5:  ca3622338ead40f193433e345267a08f
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
30 podróżującego przez świat, walczącego z przerażającymi
31 potworami i rozwiązującego zagadki podczas próby odnalezienia i
32 uratowania swojego ojca.
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
55 %find_lang %{name} --all-name
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files -f %{name}.lang
61 %defattr(644,root,root,755)
62 %doc doc/*
63 %attr(755,root,root) %{_bindir}/edgar
64 %{_datadir}/edgar
65 %{_desktopdir}/edgar.desktop
66 %{_pixmapsdir}/edgar.png
This page took 0.027791 seconds and 2 git commands to generate.