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