From: saq Date: Thu, 23 Dec 2004 22:00:24 +0000 (+0000) Subject: - lib64.patch X-Git-Tag: auto/ac/adonthell-0_3_3-5 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fadonthell.git;a=commitdiff_plain;h=778ff2a652b07e8f763076b4efe182ce02fab99a - lib64.patch - release 5 Changed files: adonthell.spec -> 1.21 --- diff --git a/adonthell.spec b/adonthell.spec index 9ef4802..b5425f3 100644 --- a/adonthell.spec +++ b/adonthell.spec @@ -2,19 +2,26 @@ Summary: A 2D graphical RPG game 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} @@ -34,11 +41,21 @@ gry jest dost %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}