]> git.pld-linux.org Git - packages/edgar.git/blame - edgar.spec
- renamed to useless_files.patch
[packages/edgar.git] / edgar.spec
CommitLineData
03901c0b 1Summary: 2D Platform game
2Summary(pl.UTF-8): Dwuwymiarowa gra platformowa
3Name: edgar
8bbf6b73 4Version: 0.57
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
8bbf6b73 9# Source0-md5: 173d15fe36e4936343a8b676bab3b582
03901c0b 10Source1: %{name}.png
11Patch0: %{name}-makefile.patch
8bbf6b73 12Patch1: %{name}-useless_files.patch
03901c0b 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
03901c0b 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
0abd5286 29W The Legend of Edgar gracz wciela się w rolę Edgara podróżując przez
30świat, walcząc z przerażającymi potworami i rozwiązując zagadki
31podczas próby odnalezienia i uratowania swojego ojca.
03901c0b 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
54%clean
55rm -rf $RPM_BUILD_ROOT
56
8bbf6b73 57%files
03901c0b 58%defattr(644,root,root,755)
59%doc doc/*
60%attr(755,root,root) %{_bindir}/edgar
8bbf6b73 61%{_datadir}/games/edgar
03901c0b 62%{_desktopdir}/edgar.desktop
63%{_pixmapsdir}/edgar.png
This page took 0.098247 seconds and 4 git commands to generate.