- added am patch, rebuild ac/am/lt so that link patch takes an effect auto/th/python-pyilmbase-2.0.0-1
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 29 Mar 2013 12:34:44 +0000 (13:34 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Fri, 29 Mar 2013 12:34:44 +0000 (13:34 +0100)
python-pyilmbase-am.patch [new file with mode: 0644]
python-pyilmbase.spec

diff --git a/python-pyilmbase-am.patch b/python-pyilmbase-am.patch
new file mode 100644 (file)
index 0000000..32bce74
--- /dev/null
@@ -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
index 44ccac4dc6d1750d0112937c7aed30b228b869f0..6030c1bb538654bea21a03fe5e767be1a6ebdf04 100644 (file)
@@ -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}
This page took 0.125249 seconds and 4 git commands to generate.