]> git.pld-linux.org Git - packages/edgar.git/blame - edgar.spec
- 0.52
[packages/edgar.git] / edgar.spec
CommitLineData
03901c0b 1Summary: 2D Platform game
2Summary(pl.UTF-8): Dwuwymiarowa gra platformowa
3Name: edgar
fa1ebad9 4Version: 0.52
955bf986 5Release: 1
03901c0b 6License: GPL v2+
7Group: X11/Applications/Games
0abd5286 8Source0: http://www.parallelrealities.co.uk/download/edgar/%{name}-%{version}-1.tar.gz
fa1ebad9 9# Source0-md5: 188071d7e2e276588811cad9d9c87c0e
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
8c45ab58 17BuildRequires: SDL_net-devel
03901c0b 18BuildRequires: SDL_ttf-devel
a212aaa3 19BuildRequires: gettext-devel
670bcf41 20BuildRequires: rpmbuild(macros) >= 1.268
03901c0b 21BuildRequires: zlib-devel
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25In The Legend of Edgar you take on the role of Edgar as he ventures
26across the world, battling fearsome creatures and solving puzzles
27whilst trying to find and rescue his father.
28
29%description -l pl.UTF-8
0abd5286 30W The Legend of Edgar gracz wciela się w rolę Edgara podróżując przez
31świat, walcząc z przerażającymi potworami i rozwiązując zagadki
32podczas próby odnalezienia i uratowania swojego ojca.
03901c0b 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
73c44b87 55%find_lang %{name} --all-name
56
03901c0b 57%clean
58rm -rf $RPM_BUILD_ROOT
59
73c44b87 60%files -f %{name}.lang
03901c0b 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.076571 seconds and 4 git commands to generate.