Summary(pl): Darmowa gra RPG z graficznym interfejsem
Name: adonthell
Version: 0.3.3
-Release: 4
+Release: 5
License: GPL
Group: X11/Applications/Games
Source0: http://savannah.nongnu.org/download/adonthell/src/%{name}-%{version}.tar.gz
# Source0-md5: 8ed4a8b02ea24fd393b67bca355cc70b
Patch0: %{name}-etc_dir.patch
+Patch1: %{name}-lib64.patch
URL: http://adonthell.linuxgames.com/
BuildRequires: SDL-devel >= 1.2.0
+BuildRequires: autoconf
BuildRequires: automake
+BuildRequires: gettext-devel
+BuildRequires: gtk+-devel
+BuildRequires: intltool
+BuildRequires: libtool
BuildRequires: libvorbis-devel
BuildRequires: python
BuildRequires: python-devel
BuildRequires: python-modules
+BuildRequires: sed >= 4.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _gamedatadir %{_datadir}/%{name}
%prep
%setup -q
%patch0 -p1
+%if "%{_lib}" == "lib64"
+%patch1 -p1
+%endif
+:> acinclude.m4
+# ugly workaround for a buggy libtool
+sed -i 's/-Wl,-E/-Wl,-Xlinker,-E/' configure.in
%build
-cp -f /usr/share/automake/config.sub .
-
-%configure2_13 \
+%{__gettextize}
+%{__libtoolize}
+intltoolize --copy --force
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure \
--disable-py-debug
%{__make}