]> git.pld-linux.org Git - packages/edgar.git/blame - edgar.spec
- 0.73
[packages/edgar.git] / edgar.spec
CommitLineData
03901c0b 1Summary: 2D Platform game
2Summary(pl.UTF-8): Dwuwymiarowa gra platformowa
3Name: edgar
9285be04 4Version: 0.73
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
9285be04 9# Source0-md5: 2dd9f5b83015807410fa3979bcf1a8c5
03901c0b 10Source1: %{name}.png
11Patch0: %{name}-makefile.patch
8bbf6b73 12Patch1: %{name}-useless_files.patch
03901c0b 13Patch2: %{name}-desktop.patch
d21167eb 14Patch3: %{name}-link.patch
03901c0b 15URL: http://www.parallelrealities.co.uk/projects/edgar.php
16BuildRequires: SDL_image-devel
17BuildRequires: SDL_mixer-devel
8c45ab58 18BuildRequires: SDL_net-devel
03901c0b 19BuildRequires: SDL_ttf-devel
a212aaa3 20BuildRequires: gettext-devel
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
d21167eb 39%patch3 -p1
03901c0b 40
41%build
42%{__make} \
43 CXX="%{__cc}" \
44 OPTFLAGS="%{rpmcflags}" \
45 LDFLAGS="%{rpmldflags}"
46
47%install
48rm -rf $RPM_BUILD_ROOT
49install -d $RPM_BUILD_ROOT%{_pixmapsdir}
50
51%{__make} install \
52 DESTDIR=$RPM_BUILD_ROOT
53
54install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}
55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
8bbf6b73 59%files
03901c0b 60%defattr(644,root,root,755)
61%doc doc/*
62%attr(755,root,root) %{_bindir}/edgar
8bbf6b73 63%{_datadir}/games/edgar
03901c0b 64%{_desktopdir}/edgar.desktop
65%{_pixmapsdir}/edgar.png
This page took 0.080258 seconds and 4 git commands to generate.