]>
Commit | Line | Data |
---|---|---|
5438a907 JB |
1 | Summary: Python bindings for the IlmBase libraries |
2 | Summary(pl.UTF-8): Wiązania Pythona do bibliotek IlmBase | |
3 | Name: python-pyilmbase | |
4 | Version: 2.0.0 | |
5 | Release: 1 | |
6 | License: BSD | |
7 | Group: Libraries/Python | |
8 | Source0: http://download.savannah.gnu.org/releases/openexr/pyilmbase-%{version}.tar.gz | |
9 | # Source0-md5: 4585eba94a82f0b0916445990a47d143 | |
10 | URL: http://www.openexr.com/ | |
11 | BuildRequires: boost-python-devel | |
12 | BuildRequires: ilmbase-devel >= 2.0.0 | |
13 | BuildRequires: pkgconfig | |
14 | BuildRequires: python-devel | |
15 | BuildRequires: python-numpy-devel | |
16 | BuildRequires: rpm-pythonprov | |
17 | Requires: ilmbase >= 2.0.0 | |
18 | Requires: python-modules | |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %description | |
22 | The PyIlmBase package provides python bindings for the IlmBase | |
23 | libraries. | |
24 | ||
25 | %description -l pl.UTF-8 | |
26 | Pakiet PyIlmBase dostarcza wiązania Pythona do bibliotek IlmBase. | |
27 | ||
28 | %package devel | |
29 | Summary: Header files for IlmBase Python bindings | |
30 | Summary(pl.UTF-8): Pliki nagłówkowe wiązań Pyhona do bibliotek IlmBase | |
31 | Group: Development/Libraries | |
32 | Requires: %{name} = %{version}-%{release} | |
33 | Requires: boost-python-devel | |
34 | Requires: ilmbase-devel >= 2.0.0 | |
35 | ||
36 | %description devel | |
37 | Header files for IlmBase Python bindings. | |
38 | ||
39 | %description devel -l pl.UTF-8 | |
40 | Pliki nagłówkowe wiązań Pyhona do bibliotek IlmBase. | |
41 | ||
42 | %prep | |
43 | %setup -q -n pyilmbase-%{version} | |
44 | ||
45 | %build | |
46 | %configure | |
47 | ||
48 | %{__make} | |
49 | ||
50 | %install | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %{__make} install \ | |
54 | DESTDIR=$RPM_BUILD_ROOT | |
55 | ||
56 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libPy*.la \ | |
57 | $RPM_BUILD_ROOT%{py_sitedir}/*.la | |
58 | ||
59 | %clean | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %files | |
63 | %defattr(644,root,root,755) | |
64 | %doc AUTHORS COPYING ChangeLog NEWS README | |
65 | %attr(755,root,root) %{_libdir}/libPyIex.so.*.*.* | |
66 | %attr(755,root,root) %ghost %{_libdir}/libPyIex.so.2 | |
67 | %attr(755,root,root) %{_libdir}/libPyImath.so.*.*.* | |
68 | %attr(755,root,root) %ghost %{_libdir}/libPyImath.so.2 | |
69 | %attr(755,root,root) %{py_sitedir}/iexmodule.so | |
70 | %attr(755,root,root) %{py_sitedir}/imathmodule.so | |
71 | %attr(755,root,root) %{py_sitedir}/imathnumpymodule.so | |
72 | ||
73 | %files devel | |
74 | %defattr(644,root,root,755) | |
75 | %attr(755,root,root) %{_libdir}/libPyIex.so | |
76 | %attr(755,root,root) %{_libdir}/libPyImath.so | |
77 | %{_includedir}/OpenEXR/PyIex*.h | |
78 | %{_includedir}/OpenEXR/PyIlmBaseConfig.h | |
79 | %{_includedir}/OpenEXR/PyImath*.h | |
80 | %{_pkgconfigdir}/PyIlmBase.pc | |
81 | %{_aclocaldir}/pyilmbase.m4 |