]> git.pld-linux.org Git - packages/edgar.git/blame - edgar.spec
- up to 0.90
[packages/edgar.git] / edgar.spec
CommitLineData
03901c0b 1Summary: 2D Platform game
2Summary(pl.UTF-8): Dwuwymiarowa gra platformowa
3Name: edgar
ea4c91a2 4Version: 0.90
3763ba35 5Release: 1
03901c0b 6License: GPL v2+
7Group: X11/Applications/Games
0abd5286 8Source0: http://www.parallelrealities.co.uk/download/edgar/%{name}-%{version}-1.tar.gz
ea4c91a2 9# Source0-md5: e3361f4861bac3e785449686b2d1cace
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
7fd5b803 22Requires: audiofile
23Requires: libmikmod
03901c0b 24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27In The Legend of Edgar you take on the role of Edgar as he ventures
28across the world, battling fearsome creatures and solving puzzles
29whilst trying to find and rescue his father.
30
31%description -l pl.UTF-8
0abd5286 32W The Legend of Edgar gracz wciela się w rolę Edgara podróżując przez
33świat, walcząc z przerażającymi potworami i rozwiązując zagadki
34podczas próby odnalezienia i uratowania swojego ojca.
03901c0b 35
36%prep
37%setup -q
38%patch0 -p1
39%patch1 -p1
40%patch2 -p1
d21167eb 41%patch3 -p1
03901c0b 42
43%build
44%{__make} \
45 CXX="%{__cc}" \
46 OPTFLAGS="%{rpmcflags}" \
47 LDFLAGS="%{rpmldflags}"
48
49%install
50rm -rf $RPM_BUILD_ROOT
51install -d $RPM_BUILD_ROOT%{_pixmapsdir}
52
53%{__make} install \
54 DESTDIR=$RPM_BUILD_ROOT
55
56install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}
57
3763ba35 58%find_lang %{name} --all-name
59
03901c0b 60%clean
61rm -rf $RPM_BUILD_ROOT
62
3763ba35 63%files -f %{name}.lang
03901c0b 64%defattr(644,root,root,755)
65%doc doc/*
66%attr(755,root,root) %{_bindir}/edgar
8bbf6b73 67%{_datadir}/games/edgar
03901c0b 68%{_desktopdir}/edgar.desktop
69%{_pixmapsdir}/edgar.png
This page took 0.109196 seconds and 4 git commands to generate.