[packages/python-pyilmbase] - added am patch, rebuild ac/am/lt so that link patch takes an effect

qboosh qboosh at pld-linux.org
Fri Mar 29 13:34:36 CET 2013


commit 247411db1507ca2d83ddec709d335f2dab5eab47
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Mar 29 13:34:44 2013 +0100

    - 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(+)
---
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}
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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pyilmbase.git/commitdiff/247411db1507ca2d83ddec709d335f2dab5eab47



More information about the pld-cvs-commit mailing list