Summary: Python bindings for the IlmBase libraries
Summary(pl.UTF-8): Wiązania Pythona do bibliotek IlmBase
Name: python-pyilmbase
-Version: 2.0.1
-Release: 2
+Version: 2.2.1
+Release: 4
License: BSD
Group: Libraries/Python
Source0: http://download.savannah.gnu.org/releases/openexr/pyilmbase-%{version}.tar.gz
-# Source0-md5: b2e3154df90014e30fd5fb89d00de111
+# Source0-md5: 363d99ecf7a4a03bb91ac427d86c01bd
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: ilmbase-devel >= 2.2.1
BuildRequires: libstdc++-devel
BuildRequires: libtool >= 2:1.5
BuildRequires: pkgconfig
BuildRequires: python-devel
BuildRequires: python-numpy-devel
BuildRequires: rpm-pythonprov
-Requires: ilmbase >= 2.0.0
+Requires: ilmbase >= 2.2.1
Requires: python-modules
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: boost-python-devel
-Requires: ilmbase-devel >= 2.0.0
+Requires: ilmbase-devel >= 2.2.1
Requires: libstdc++-devel
+%define specflags -std=c++11
+
%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
+%configure \
+ --with-boost-python-libname=boost_python%(echo %{py_ver} | tr -d .)
# g++ eats a lot of memory, don't run many in parallel
%{__make} -j1
%defattr(644,root,root,755)
%doc AUTHORS COPYING ChangeLog NEWS README
%attr(755,root,root) %{_libdir}/libPyIex.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libPyIex.so.2
+%attr(755,root,root) %ghost %{_libdir}/libPyIex.so.23
%attr(755,root,root) %{_libdir}/libPyImath.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libPyImath.so.2
+%attr(755,root,root) %ghost %{_libdir}/libPyImath.so.23
%attr(755,root,root) %{py_sitedir}/iexmodule.so
%attr(755,root,root) %{py_sitedir}/imathmodule.so
%attr(755,root,root) %{py_sitedir}/imathnumpymodule.so