- added am patch (fixes build with automake 1.13)
--- /dev/null
+--- geos-3.3.7/configure.in.orig 2013-01-22 19:21:11.000000000 +0100
++++ geos-3.3.7/configure.in 2013-01-26 13:00:57.162086197 +0100
+@@ -37,8 +37,7 @@
+
+ AM_INIT_AUTOMAKE([geos], [$VERSION], [no-define])
+ AM_MAINTAINER_MODE
+-AM_CONFIG_HEADER([include/config.h])
+-AM_CONFIG_HEADER([include/geos/platform.h])
++AC_CONFIG_HEADERS([include/config.h include/geos/platform.h])
+ AC_PROG_CC
+
+ dnl use libtool ----------------------------------------------------------
Summary: Geometry Engine - Open Source
Summary(pl.UTF-8): GEOS - silnik geometryczny z otwartymi źródłami
Name: geos
-Version: 3.3.6
+Version: 3.3.7
Release: 1
License: LGPL v2.1
Group: Libraries
Source0: http://download.osgeo.org/geos/%{name}-%{version}.tar.bz2
-# Source0-md5: 6fadfb941541875f4976f75fb0bbc800
+# Source0-md5: 95ab996d22672b067d92c7dee2170460
Patch0: %{name}-ruby1.9.patch
+Patch1: %{name}-am.patch
URL: http://trac.osgeo.org/geos/
BuildRequires: autoconf >= 2.52
BuildRequires: automake
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
%{__aclocal} -I macros