]> git.pld-linux.org Git - packages/edgar.git/blame - edgar.spec
- 0.30
[packages/edgar.git] / edgar.spec
CommitLineData
03901c0b 1Summary: 2D Platform game
2Summary(pl.UTF-8): Dwuwymiarowa gra platformowa
3Name: edgar
eca8fa17 4Version: 0.30
03901c0b 5Release: 1
6License: GPL v2+
7Group: X11/Applications/Games
8# download it from http://www.parallelrealities.co.uk/projects/edgar.php
9# and put it into the edgar dir
10Source0: %{name}-%{version}-1.tar.gz
eca8fa17 11# Source0-md5: e54de1b6b5b198e0e3ad1fe6dd93dcf0
03901c0b 12Source1: %{name}.png
13Patch0: %{name}-makefile.patch
14Patch1: %{name}-usless_files.patch
15Patch2: %{name}-desktop.patch
16URL: http://www.parallelrealities.co.uk/projects/edgar.php
17BuildRequires: SDL_image-devel
18BuildRequires: SDL_mixer-devel
19BuildRequires: SDL_ttf-devel
20BuildRequires: zlib-devel
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24In The Legend of Edgar you take on the role of Edgar as he ventures
25across the world, battling fearsome creatures and solving puzzles
26whilst trying to find and rescue his father.
27
28%description -l pl.UTF-8
29W The Legend of Edgar gracz wciela się w rolę Edgara
30podróżującego przez świat, walczącego z przerażającymi
31potworami i rozwiązującego zagadki podczas próby odnalezienia i
32uratowania 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
47rm -rf $RPM_BUILD_ROOT
48install -d $RPM_BUILD_ROOT%{_pixmapsdir}
49
50%{__make} install \
51 DESTDIR=$RPM_BUILD_ROOT
52
53install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files
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.073998 seconds and 4 git commands to generate.