1 Summary: A 2D graphical RPG game
2 Summary(pl): Darmowa gra RPG z graficznym interfejsem
7 Group: X11/Applications/Games
8 Source0: http://savannah.nongnu.org/download/adonthell/src/%{name}-%{version}.tar.gz
9 # Source0-md5: 8ed4a8b02ea24fd393b67bca355cc70b
10 Patch0: %{name}-etc_dir.patch
11 Patch1: %{name}-lib64.patch
12 URL: http://adonthell.linuxgames.com/
13 BuildRequires: SDL-devel >= 1.2.0
14 BuildRequires: autoconf
15 BuildRequires: automake
16 BuildRequires: gettext-devel
17 BuildRequires: gtk+-devel
18 BuildRequires: intltool
19 BuildRequires: libtool
20 BuildRequires: libvorbis-devel
22 BuildRequires: python-devel
23 BuildRequires: python-modules
24 BuildRequires: sed >= 4.0
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 %define _gamedatadir %{_datadir}/%{name}
30 Adonthell is a role playing game in development that aims to combine
31 the best features of the Final Fantasy and Ultima series with an epic
32 plot. It is set in a detailed virtual world. With the current engine,
33 a small demo game (Waste's Edge) is available.
36 Adonthell jest ci±gle rozwijan± gr± RPG której celem jest po³±czenie
37 najlepszych cech takich serii jak Final Fantasy i Ultima. Akcja gry
38 toczy siê w szczegó³owym, wirtualnym ¶wiecie. Razem z obecnym engine
39 gry jest dostêpna ma³a plansza (Waste's Edge).
44 %if "%{_lib}" == "lib64"
48 # ugly workaround for a buggy libtool
49 sed -i 's/-Wl,-E/-Wl,-Xlinker,-E/' configure.in
54 intltoolize --copy --force
64 rm -rf $RPM_BUILD_ROOT
65 install -d $RPM_BUILD_ROOT{%{_gamedatadir}/{modules,games},%{_bindir},adonthell-wastesedge}
67 cp src/modules/adonthell.py $RPM_BUILD_ROOT%{_gamedatadir}/modules/adonthell.py
70 prefix=$RPM_BUILD_ROOT%{_prefix} \
71 bindir=$RPM_BUILD_ROOT%{_bindir} \
72 gamedatadir=$RPM_BUILD_ROOT%{_gamedatadir}
75 rm -rf $RPM_BUILD_ROOT
78 %defattr(644,root,root,755)
79 %doc ChangeLog NEWBIE README.* AUTHORS NEWS
80 %attr(755,root,root) %{_bindir}/adonthell
82 %{_gamedatadir}/modules