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