From 247411db1507ca2d83ddec709d335f2dab5eab47 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Fri, 29 Mar 2013 13:34:44 +0100 Subject: [PATCH] - added am patch, rebuild ac/am/lt so that link patch takes an effect --- python-pyilmbase-am.patch | 11 +++++++++++ python-pyilmbase.spec | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100644 python-pyilmbase-am.patch diff --git a/python-pyilmbase-am.patch b/python-pyilmbase-am.patch new file mode 100644 index 0000000..32bce74 --- /dev/null +++ b/python-pyilmbase-am.patch @@ -0,0 +1,11 @@ +--- 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 diff --git a/python-pyilmbase.spec b/python-pyilmbase.spec index 44ccac4..6030c1b 100644 --- a/python-pyilmbase.spec +++ b/python-pyilmbase.spec @@ -8,9 +8,14 @@ Group: Libraries/Python 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 @@ -33,6 +38,7 @@ Group: Development/Libraries 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. @@ -43,8 +49,13 @@ Pliki nagłówkowe wiązań Pyhona do bibliotek IlmBase. %prep %setup -q -n pyilmbase-%{version} %patch0 -p1 +%patch1 -p1 %build +%{__libtoolize} +%{__aclocal} -I m4 +%{__autoconf} +%{__automake} %configure %{__make} -- 2.43.0