]> git.pld-linux.org Git - packages/python-pyilmbase.git/blobdiff - python-pyilmbase.spec
- boost 1.61 rebuild
[packages/python-pyilmbase.git] / python-pyilmbase.spec
index 2dd4324054681d7baf40759a4b86fb14a180a5a8..c576b4eb4db709bf1d83a85ef3d3db1cbd0bc9a4 100644 (file)
@@ -1,20 +1,25 @@
 Summary:       Python bindings for the IlmBase libraries
 Summary(pl.UTF-8):     Wiązania Pythona do bibliotek IlmBase
 Name:          python-pyilmbase
-Version:       2.0.0
-Release:       1
+Version:       2.2.0
+Release:       7
 License:       BSD
 Group:         Libraries/Python
 Source0:       http://download.savannah.gnu.org/releases/openexr/pyilmbase-%{version}.tar.gz
-# Source0-md5: 4585eba94a82f0b0916445990a47d143
+# Source0-md5: e84a6a4462f90b5e14d83d67253d8e5a
+Patch0:                %{name}-link.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.0
+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.0
 Requires:      python-modules
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -31,7 +36,8 @@ Summary(pl.UTF-8):    Pliki nagłówkowe wiązań Pyhona do bibliotek IlmBase
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
 Requires:      boost-python-devel
-Requires:      ilmbase-devel >= 2.0.0
+Requires:      ilmbase-devel >= 2.2.0
+Requires:      libstdc++-devel
 
 %description devel
 Header files for IlmBase Python bindings.
@@ -41,16 +47,23 @@ Pliki nagłówkowe wiązań Pyhona do bibliotek IlmBase.
 
 %prep
 %setup -q -n pyilmbase-%{version}
+%patch0 -p1
 
 %build
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__automake}
 %configure
 
-%{__make}
+# g++ eats a lot of memory, don't run many in parallel
+%{__make} -j1
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install \
+# parallel build fails at libPyImath/imathmodule install
+%{__make} -j1 install \
        DESTDIR=$RPM_BUILD_ROOT
 
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libPy*.la \
This page took 0.097687 seconds and 4 git commands to generate.