]> git.pld-linux.org Git - packages/python-pyilmbase.git/blame - python-pyilmbase.spec
- release 3 (boost 1.73)
[packages/python-pyilmbase.git] / python-pyilmbase.spec
CommitLineData
5438a907
JB
1Summary: Python bindings for the IlmBase libraries
2Summary(pl.UTF-8): Wiązania Pythona do bibliotek IlmBase
3Name: python-pyilmbase
b38f2537 4Version: 2.2.1
eaed962d 5Release: 3
5438a907
JB
6License: BSD
7Group: Libraries/Python
8Source0: http://download.savannah.gnu.org/releases/openexr/pyilmbase-%{version}.tar.gz
b38f2537 9# Source0-md5: 363d99ecf7a4a03bb91ac427d86c01bd
50d76b16 10Patch0: %{name}-link.patch
5438a907 11URL: http://www.openexr.com/
247411db
JB
12BuildRequires: autoconf >= 2.50
13BuildRequires: automake >= 1.6.3
5438a907 14BuildRequires: boost-python-devel
b38f2537 15BuildRequires: ilmbase-devel >= 2.2.1
247411db
JB
16BuildRequires: libstdc++-devel
17BuildRequires: libtool >= 2:1.5
5438a907
JB
18BuildRequires: pkgconfig
19BuildRequires: python-devel
20BuildRequires: python-numpy-devel
21BuildRequires: rpm-pythonprov
b38f2537 22Requires: ilmbase >= 2.2.1
5438a907
JB
23Requires: python-modules
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27The PyIlmBase package provides python bindings for the IlmBase
28libraries.
29
30%description -l pl.UTF-8
31Pakiet PyIlmBase dostarcza wiązania Pythona do bibliotek IlmBase.
32
33%package devel
34Summary: Header files for IlmBase Python bindings
35Summary(pl.UTF-8): Pliki nagłówkowe wiązań Pyhona do bibliotek IlmBase
36Group: Development/Libraries
37Requires: %{name} = %{version}-%{release}
38Requires: boost-python-devel
b38f2537 39Requires: ilmbase-devel >= 2.2.1
247411db 40Requires: libstdc++-devel
5438a907
JB
41
42%description devel
43Header files for IlmBase Python bindings.
44
45%description devel -l pl.UTF-8
46Pliki nagłówkowe wiązań Pyhona do bibliotek IlmBase.
47
48%prep
49%setup -q -n pyilmbase-%{version}
50d76b16 50%patch0 -p1
5438a907
JB
51
52%build
247411db
JB
53%{__libtoolize}
54%{__aclocal} -I m4
55%{__autoconf}
56%{__automake}
b38f2537
JB
57%configure \
58 --with-boost-python-libname=boost_python%(echo %{py_ver} | tr -d .)
5438a907 59
2122aa14
JB
60# g++ eats a lot of memory, don't run many in parallel
61%{__make} -j1
5438a907
JB
62
63%install
64rm -rf $RPM_BUILD_ROOT
65
50d76b16
JB
66# parallel build fails at libPyImath/imathmodule install
67%{__make} -j1 install \
5438a907
JB
68 DESTDIR=$RPM_BUILD_ROOT
69
70%{__rm} $RPM_BUILD_ROOT%{_libdir}/libPy*.la \
71 $RPM_BUILD_ROOT%{py_sitedir}/*.la
72
73%clean
74rm -rf $RPM_BUILD_ROOT
75
76%files
77%defattr(644,root,root,755)
78%doc AUTHORS COPYING ChangeLog NEWS README
79%attr(755,root,root) %{_libdir}/libPyIex.so.*.*.*
b38f2537 80%attr(755,root,root) %ghost %{_libdir}/libPyIex.so.23
5438a907 81%attr(755,root,root) %{_libdir}/libPyImath.so.*.*.*
b38f2537 82%attr(755,root,root) %ghost %{_libdir}/libPyImath.so.23
5438a907
JB
83%attr(755,root,root) %{py_sitedir}/iexmodule.so
84%attr(755,root,root) %{py_sitedir}/imathmodule.so
85%attr(755,root,root) %{py_sitedir}/imathnumpymodule.so
86
87%files devel
88%defattr(644,root,root,755)
89%attr(755,root,root) %{_libdir}/libPyIex.so
90%attr(755,root,root) %{_libdir}/libPyImath.so
91%{_includedir}/OpenEXR/PyIex*.h
92%{_includedir}/OpenEXR/PyIlmBaseConfig.h
93%{_includedir}/OpenEXR/PyImath*.h
94%{_pkgconfigdir}/PyIlmBase.pc
95%{_aclocaldir}/pyilmbase.m4
This page took 0.057949 seconds and 4 git commands to generate.