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