--- /dev/null
+--- pyilmbase-2.0.0/configure.ac.orig 2013-02-04 19:22:35.000000000 +0100
++++ pyilmbase-2.0.0/configure.ac 2013-03-29 12:55:07.647170193 +0100
+@@ -3,7 +3,7 @@
+ AC_SUBST(PYILMBASE_VERSION, 2.0.0)
+ AC_CANONICAL_HOST
+ AC_CONFIG_SRCDIR(PyIex/iexmodule.cpp)
+-AM_CONFIG_HEADER(config/PyIlmBaseConfig.h)
++AC_CONFIG_HEADERS(config/PyIlmBaseConfig.h)
+ AM_INIT_AUTOMAKE(1.6.3) dnl Require automake 1.6.3 or better
+ AM_MAINTAINER_MODE
+ dnl static python modules make no sense - disable static
Source0: http://download.savannah.gnu.org/releases/openexr/pyilmbase-%{version}.tar.gz
# Source0-md5: 4585eba94a82f0b0916445990a47d143
Patch0: %{name}-link.patch
+Patch1: %{name}-am.patch
URL: http://www.openexr.com/
+BuildRequires: autoconf >= 2.50
+BuildRequires: automake >= 1.6.3
BuildRequires: boost-python-devel
BuildRequires: ilmbase-devel >= 2.0.0
+BuildRequires: libstdc++-devel
+BuildRequires: libtool >= 2:1.5
BuildRequires: pkgconfig
BuildRequires: python-devel
BuildRequires: python-numpy-devel
Requires: %{name} = %{version}-%{release}
Requires: boost-python-devel
Requires: ilmbase-devel >= 2.0.0
+Requires: libstdc++-devel
%description devel
Header files for IlmBase Python bindings.
%prep
%setup -q -n pyilmbase-%{version}
%patch0 -p1
+%patch1 -p1
%build
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__automake}
%configure
%{__make}