]> git.pld-linux.org Git - packages/edgar.git/blame - edgar.spec
- up to 0.77
[packages/edgar.git] / edgar.spec
CommitLineData
b08d0ee6 1# $Revision: 1.36 $, $Damte: 2011/01/28 21:24:39 $
03901c0b 2Summary: 2D Platform game
3Summary(pl.UTF-8): Dwuwymiarowa gra platformowa
4Name: edgar
b08d0ee6 5Version: 0.77
3763ba35 6Release: 1
03901c0b 7License: GPL v2+
8Group: X11/Applications/Games
0abd5286 9Source0: http://www.parallelrealities.co.uk/download/edgar/%{name}-%{version}-1.tar.gz
b08d0ee6 10# Source0-md5: 9dd279fa6edbeb40122dafe3f3e0df1c
03901c0b 11Source1: %{name}.png
12Patch0: %{name}-makefile.patch
8bbf6b73 13Patch1: %{name}-useless_files.patch
03901c0b 14Patch2: %{name}-desktop.patch
d21167eb 15Patch3: %{name}-link.patch
03901c0b 16URL: http://www.parallelrealities.co.uk/projects/edgar.php
17BuildRequires: SDL_image-devel
18BuildRequires: SDL_mixer-devel
8c45ab58 19BuildRequires: SDL_net-devel
03901c0b 20BuildRequires: SDL_ttf-devel
a212aaa3 21BuildRequires: gettext-devel
03901c0b 22BuildRequires: zlib-devel
7fd5b803 23Requires: audiofile
24Requires: libmikmod
03901c0b 25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
28In The Legend of Edgar you take on the role of Edgar as he ventures
29across the world, battling fearsome creatures and solving puzzles
30whilst trying to find and rescue his father.
31
32%description -l pl.UTF-8
0abd5286 33W The Legend of Edgar gracz wciela się w rolę Edgara podróżując przez
34świat, walcząc z przerażającymi potworami i rozwiązując zagadki
35podczas próby odnalezienia i uratowania swojego ojca.
03901c0b 36
37%prep
38%setup -q
39%patch0 -p1
40%patch1 -p1
41%patch2 -p1
d21167eb 42%patch3 -p1
03901c0b 43
44%build
45%{__make} \
46 CXX="%{__cc}" \
47 OPTFLAGS="%{rpmcflags}" \
48 LDFLAGS="%{rpmldflags}"
49
50%install
51rm -rf $RPM_BUILD_ROOT
52install -d $RPM_BUILD_ROOT%{_pixmapsdir}
53
54%{__make} install \
55 DESTDIR=$RPM_BUILD_ROOT
56
57install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}
58
3763ba35 59%find_lang %{name} --all-name
60
03901c0b 61%clean
62rm -rf $RPM_BUILD_ROOT
63
3763ba35 64%files -f %{name}.lang
03901c0b 65%defattr(644,root,root,755)
66%doc doc/*
67%attr(755,root,root) %{_bindir}/edgar
8bbf6b73 68%{_datadir}/games/edgar
03901c0b 69%{_desktopdir}/edgar.desktop
70%{_pixmapsdir}/edgar.png
This page took 0.043746 seconds and 4 git commands to generate.