1 Summary: A 2D graphical RPG game
2 Summary(pl.UTF-8): 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-tools
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.
35 %description -l pl.UTF-8
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"
52 intltoolize --copy --force
62 rm -rf $RPM_BUILD_ROOT
63 install -d $RPM_BUILD_ROOT{%{_gamedatadir}/{modules,games},%{_bindir},adonthell-wastesedge}
65 cp src/modules/adonthell.py $RPM_BUILD_ROOT%{_gamedatadir}/modules/adonthell.py
68 prefix=$RPM_BUILD_ROOT%{_prefix} \
69 bindir=$RPM_BUILD_ROOT%{_bindir} \
70 gamedatadir=$RPM_BUILD_ROOT%{_gamedatadir}
73 rm -rf $RPM_BUILD_ROOT
76 %defattr(644,root,root,755)
77 %doc ChangeLog NEWBIE README.* AUTHORS NEWS
78 %attr(755,root,root) %{_bindir}/adonthell
80 %{_gamedatadir}/modules