]>
Commit | Line | Data |
---|---|---|
1 | # to bootstrap: build OpenColorIO --without oiio, build OpenImageIO, rebuild OpenColorIO | |
2 | # | |
3 | # Conditional build: | |
4 | %bcond_without ocio # OpenColorIO support in library | |
5 | %bcond_without static_libs # don't build static libraries | |
6 | %bcond_without tbb # Threading Building Blocks | |
7 | # | |
8 | %ifarch i386 i486 | |
9 | # https://github.com/OpenImageIO/oiio/issues/583 | |
10 | %undefine with_tbb | |
11 | %endif | |
12 | %ifnarch %{ix86} %{x8664} %{arm} ia64 ppc ppc64 | |
13 | %undefine with_tbb | |
14 | %endif | |
15 | # | |
16 | Summary: Library for reading and writing images | |
17 | Summary(pl.UTF-8): Biblioteka do odczytu i zapisu obrazów | |
18 | Name: OpenImageIO | |
19 | Version: 2.0.7 | |
20 | Release: 2 | |
21 | License: BSD | |
22 | Group: Libraries | |
23 | Source0: https://github.com/OpenImageIO/oiio/tarball/Release-%{version}/%{name}-%{version}.tar.gz | |
24 | # Source0-md5: 3d722173d84cc705f4aead0679fa2393 | |
25 | Patch0: %{name}-link.patch | |
26 | Patch1: %{name}-system-squish.patch | |
27 | Patch2: %{name}-system-libcineon.patch | |
28 | Patch3: no-clang-format.patch | |
29 | URL: https://sites.google.com/site/openimageio/home | |
30 | BuildRequires: Field3D-devel | |
31 | %{?with_ocio:BuildRequires: OpenColorIO-devel} | |
32 | BuildRequires: OpenEXR-devel >= 1.6.1 | |
33 | BuildRequires: OpenGL-devel | |
34 | BuildRequires: QtCore-devel | |
35 | BuildRequires: QtGui-devel | |
36 | BuildRequires: QtOpenGL-devel | |
37 | # filesystem, regex, system, thread | |
38 | BuildRequires: boost-devel >= 1.35 | |
39 | BuildRequires: boost-python-devel >= 1.35 | |
40 | BuildRequires: cmake >= 2.6 | |
41 | BuildRequires: dcmtk-devel | |
42 | BuildRequires: ffmpeg-devel | |
43 | BuildRequires: giflib-devel | |
44 | BuildRequires: glew-devel >= 1.5.1 | |
45 | BuildRequires: hdf5-devel | |
46 | BuildRequires: ilmbase-devel >= 1.0.1 | |
47 | BuildRequires: jasper-devel | |
48 | BuildRequires: libcineon-devel | |
49 | BuildRequires: libjpeg-devel | |
50 | BuildRequires: libpng-devel | |
51 | BuildRequires: libraw-devel | |
52 | BuildRequires: libstdc++-devel | |
53 | BuildRequires: libtiff-devel | |
54 | BuildRequires: libwebp-devel | |
55 | BuildRequires: openjpeg2-devel | |
56 | BuildRequires: ptex-devel >= 2.1 | |
57 | BuildRequires: pugixml-devel | |
58 | BuildRequires: python-devel >= 1:2.6 | |
59 | BuildRequires: python-pybind11 | |
60 | BuildRequires: robin-map-devel | |
61 | BuildRequires: squish-devel >= 1.10 | |
62 | %{?with_tbb:BuildRequires: tbb-devel} | |
63 | BuildRequires: txt2man | |
64 | BuildRequires: zlib-devel | |
65 | Requires: ilmbase >= 1.0.1 | |
66 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
67 | ||
68 | %description | |
69 | OpenImageIO is a library for reading and writing images, and a bunch | |
70 | of related classes, utilities, and applications. It has extremely | |
71 | simple but powerful ImageInput and ImageOutput APIs for reading and | |
72 | writing 2D images that is format agnostic; specific formats are | |
73 | implemented by DLL/DSO plugins. | |
74 | ||
75 | Currently there are format plugins for: TIFF, JPEG/JFIF, OpenEXR, PNG, | |
76 | HDR/RGBE, Targa, JPEG-2000, DPX, Cineon, FITS, BMP, ICO, RMan Zfile, | |
77 | Softimage PIC, DDS, SGI, PNM/PPM/PGM/PBM, Field3d, WebP. | |
78 | ||
79 | %description -l pl.UTF-8 | |
80 | OpenImageIO to biblioteka do odczytu i zapisu obrazów oraz wiele | |
81 | powiązanych klas, narzędzi i aplikacji. Ma bardzo proste, ale mające | |
82 | wiele możliwości API ImageInput i ImageOutput służące do odczytu i | |
83 | zapisu obrazów 2D, które jest niezależne od formatu; konkretne formaty | |
84 | są implementowane przez wtyczki DLL/DSO. | |
85 | ||
86 | Obecnie istnieją wtyczki obsługujące formaty: TIFF, JPEG/JFIF, | |
87 | OpenEXR, PNG, HDR/RGBE, Targa, JPEG-2000, DPX, Cineon, FITS, BMP, ICO, | |
88 | RMan Zfile, Softimage PIC, DDS, SGI, PNM/PPM/PGM/PBM, Field3d, WebP. | |
89 | ||
90 | %package devel | |
91 | Summary: Header files for OpenImageIO library | |
92 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki OpenImageIO | |
93 | Group: Development/Libraries | |
94 | Requires: %{name} = %{version}-%{release} | |
95 | Requires: libstdc++-devel | |
96 | ||
97 | %description devel | |
98 | Header files for OpenImageIO library. | |
99 | ||
100 | %description devel -l pl.UTF-8 | |
101 | Pliki nagłówkowe biblioteki OpenImageIO. | |
102 | ||
103 | %package plugin-cineon | |
104 | Summary: Cineon plugin for OpenImageIO library | |
105 | Summary(pl.UTF-8): Wtyczka Cineon dla biblioteki OpenImageIO | |
106 | Group: Libraries | |
107 | Requires: %{name} = %{version}-%{release} | |
108 | ||
109 | %description plugin-cineon | |
110 | OpenImageIO plugin to read Cineon files. | |
111 | ||
112 | %description plugin-cineon -l pl.UTF-8 | |
113 | Wtyczka biblioteki OpenImageIO czytająca pliki Cineon. | |
114 | ||
115 | %package plugin-dicom | |
116 | Summary: DICOM plugin for OpenImageIO library | |
117 | Summary(pl.UTF-8): Wtyczka DICOM dla biblioteki OpenImageIO | |
118 | Group: Libraries | |
119 | Requires: %{name} = %{version}-%{release} | |
120 | Requires: squish >= 1.10 | |
121 | ||
122 | %description plugin-dicom | |
123 | OpenImageIO plugin to read DICOM files. | |
124 | ||
125 | %description plugin-dicom -l pl.UTF-8 | |
126 | Wtyczka biblioteki OpenImageIO czytająca pliki DICOM. | |
127 | ||
128 | %package plugin-dds | |
129 | Summary: DDS plugin for OpenImageIO library | |
130 | Summary(pl.UTF-8): Wtyczka DDS dla biblioteki OpenImageIO | |
131 | Group: Libraries | |
132 | Requires: %{name} = %{version}-%{release} | |
133 | Requires: squish >= 1.10 | |
134 | ||
135 | %description plugin-dds | |
136 | OpenImageIO plugin to read DDS files. | |
137 | ||
138 | %description plugin-dds -l pl.UTF-8 | |
139 | Wtyczka biblioteki OpenImageIO czytająca pliki DDS. | |
140 | ||
141 | %package plugin-dpx | |
142 | Summary: DPX plugin for OpenImageIO library | |
143 | Summary(pl.UTF-8): Wtyczka DPX dla biblioteki OpenImageIO | |
144 | Group: Libraries | |
145 | Requires: %{name} = %{version}-%{release} | |
146 | ||
147 | %description plugin-dpx | |
148 | OpenImageIO plugin to read and write DPX files. | |
149 | ||
150 | %description plugin-dpx -l pl.UTF-8 | |
151 | Wtyczka biblioteki OpenImageIO czytająca i zapisująca pliki DPX. | |
152 | ||
153 | %package plugin-ffmpeg | |
154 | Summary: FFmpeg plugin for OpenImageIO library | |
155 | Summary(pl.UTF-8): Wtyczka FFmpeg dla biblioteki OpenImageIO | |
156 | Group: Libraries | |
157 | Requires: %{name} = %{version}-%{release} | |
158 | ||
159 | %description plugin-ffmpeg | |
160 | OpenImageIO plugin to read FFmpeg files. | |
161 | ||
162 | %description plugin-ffmpeg -l pl.UTF-8 | |
163 | Wtyczka biblioteki OpenImageIO czytająca pliki FFmpeg. | |
164 | ||
165 | %package plugin-field3d | |
166 | Summary: Field3D plugin for OpenImageIO library | |
167 | Summary(pl.UTF-8): Wtyczka Field3D dla biblioteki OpenImageIO | |
168 | Group: Libraries | |
169 | Requires: %{name} = %{version}-%{release} | |
170 | ||
171 | %description plugin-field3d | |
172 | OpenImageIO plugin to read Field3D files. | |
173 | ||
174 | %description plugin-field3d -l pl.UTF-8 | |
175 | Wtyczka biblioteki OpenImageIO czytająca pliki Field3D. | |
176 | ||
177 | %package plugin-gif | |
178 | Summary: Gif plugin for OpenImageIO library | |
179 | Summary(pl.UTF-8): Wtyczka Gif dla biblioteki OpenImageIO | |
180 | Group: Libraries | |
181 | Requires: %{name} = %{version}-%{release} | |
182 | ||
183 | %description plugin-gif | |
184 | OpenImageIO plugin to read GIF files. | |
185 | ||
186 | %description plugin-gif -l pl.UTF-8 | |
187 | Wtyczka biblioteki OpenImageIO czytająca pliki GIF. | |
188 | ||
189 | %package plugin-ico | |
190 | Summary: ICO plugin for OpenImageIO library | |
191 | Summary(pl.UTF-8): Wtyczka ICO dla biblioteki OpenImageIO | |
192 | Group: Libraries | |
193 | Requires: %{name} = %{version}-%{release} | |
194 | ||
195 | %description plugin-ico | |
196 | OpenImageIO plugin to read and write ICO files. | |
197 | ||
198 | %description plugin-ico -l pl.UTF-8 | |
199 | Wtyczka biblioteki OpenImageIO czytająca i zapisująca pliki ICO. | |
200 | ||
201 | %package plugin-jpeg | |
202 | Summary: JPEG plugin for OpenImageIO library | |
203 | Summary(pl.UTF-8): Wtyczka JPEG dla biblioteki OpenImageIO | |
204 | Group: Libraries | |
205 | Requires: %{name} = %{version}-%{release} | |
206 | ||
207 | %description plugin-jpeg | |
208 | OpenImageIO plugin to read and write JPEG files (with TIFF/EXIF | |
209 | information). | |
210 | ||
211 | %description plugin-jpeg -l pl.UTF-8 | |
212 | Wtyczka biblioteki OpenImageIO czytająca i zapisująca pliki JPEG (wraz | |
213 | z informacjami TIFF/EXIF). | |
214 | ||
215 | %package plugin-jpeg2000 | |
216 | Summary: JPEG2000 plugin for OpenImageIO library | |
217 | Summary(pl.UTF-8): Wtyczka JPEG2000 dla biblioteki OpenImageIO | |
218 | Group: Libraries | |
219 | Requires: %{name} = %{version}-%{release} | |
220 | ||
221 | %description plugin-jpeg2000 | |
222 | OpenImageIO plugin to read and write JPEG2000 files. | |
223 | ||
224 | %description plugin-jpeg2000 -l pl.UTF-8 | |
225 | Wtyczka biblioteki OpenImageIO czytająca i zapisująca pliki JPEG2000. | |
226 | ||
227 | %package plugin-openexr | |
228 | Summary: OpenEXR plugin for OpenImageIO library | |
229 | Summary(pl.UTF-8): Wtyczka OpenEXR dla biblioteki OpenImageIO | |
230 | Group: Libraries | |
231 | Requires: %{name} = %{version}-%{release} | |
232 | Requires: OpenEXR >= 1.6.1 | |
233 | ||
234 | %description plugin-openexr | |
235 | OpenImageIO plugin to read and write OpenEXR files. | |
236 | ||
237 | %description plugin-openexr -l pl.UTF-8 | |
238 | Wtyczka biblioteki OpenImageIO czytająca i zapisująca pliki OpenEXR. | |
239 | ||
240 | %package plugin-png | |
241 | Summary: PNG plugin for OpenImageIO library | |
242 | Summary(pl.UTF-8): Wtyczka PNG dla biblioteki OpenImageIO | |
243 | Group: Libraries | |
244 | Requires: %{name} = %{version}-%{release} | |
245 | ||
246 | %description plugin-png | |
247 | OpenImageIO plugin to read and write PNG files. | |
248 | ||
249 | %description plugin-png -l pl.UTF-8 | |
250 | Wtyczka biblioteki OpenImageIO czytająca i zapisująca pliki PNG. | |
251 | ||
252 | %package plugin-psd | |
253 | Summary: PSD plugin for OpenImageIO library | |
254 | Summary(pl.UTF-8): Wtyczka PSD dla biblioteki OpenImageIO | |
255 | Group: Libraries | |
256 | Requires: %{name} = %{version}-%{release} | |
257 | ||
258 | %description plugin-psd | |
259 | OpenImageIO plugin to read and write PSD files. | |
260 | ||
261 | %description plugin-psd -l pl.UTF-8 | |
262 | Wtyczka biblioteki OpenImageIO czytająca i zapisująca pliki PSD. | |
263 | ||
264 | %package plugin-ptex | |
265 | Summary: Ptex plugin for OpenImageIO library | |
266 | Summary(pl.UTF-8): Wtyczka Ptex dla biblioteki OpenImageIO | |
267 | Group: Libraries | |
268 | Requires: %{name} = %{version}-%{release} | |
269 | Requires: ptex >= 2 | |
270 | ||
271 | %description plugin-ptex | |
272 | OpenImageIO plugin to read Ptex files. | |
273 | ||
274 | %description plugin-ptex -l pl.UTF-8 | |
275 | Wtyczka biblioteki OpenImageIO czytająca pliki Ptex. | |
276 | ||
277 | %package plugin-raw | |
278 | Summary: RAW plugin for OpenImageIO library | |
279 | Summary(pl.UTF-8): Wtyczka RAW dla biblioteki OpenImageIO | |
280 | Group: Libraries | |
281 | Requires: %{name} = %{version}-%{release} | |
282 | ||
283 | %description plugin-raw | |
284 | OpenImageIO plugin to readTRAW files. | |
285 | ||
286 | %description plugin-raw -l pl.UTF-8 | |
287 | Wtyczka biblioteki OpenImageIO czytająca pliki RAW. | |
288 | ||
289 | %package plugin-webp | |
290 | Summary: WebP plugin for OpenImageIO library | |
291 | Summary(pl.UTF-8): Wtyczka WebP dla biblioteki OpenImageIO | |
292 | Group: Libraries | |
293 | Requires: %{name} = %{version}-%{release} | |
294 | ||
295 | %description plugin-webp | |
296 | OpenImageIO plugin to read and write WebP files. | |
297 | ||
298 | %description plugin-webp -l pl.UTF-8 | |
299 | Wtyczka biblioteki OpenImageIO czytająca i zapisująca pliki WebP. | |
300 | ||
301 | %package plugin-tiff | |
302 | Summary: TIFF plugin for OpenImageIO library | |
303 | Summary(pl.UTF-8): Wtyczka TIFF dla biblioteki OpenImageIO | |
304 | Group: Libraries | |
305 | Requires: %{name} = %{version}-%{release} | |
306 | ||
307 | %description plugin-tiff | |
308 | OpenImageIO plugin to read and write TIFF files. | |
309 | ||
310 | %description plugin-tiff -l pl.UTF-8 | |
311 | Wtyczka biblioteki OpenImageIO czytająca i zapisująca pliki TIFF. | |
312 | ||
313 | %package apidocs | |
314 | Summary: Programmer documentation for OpenImageIO library | |
315 | Summary(pl.UTF-8): Dokumentacja programisty do biblioteki OpenImageIO | |
316 | Group: Documentation | |
317 | %if "%{_rpmversion}" >= "5" | |
318 | BuildArch: noarch | |
319 | %endif | |
320 | ||
321 | %description apidocs | |
322 | Programmer documentation for OpenImageIO library. | |
323 | ||
324 | %description apidocs -l pl.UTF-8 | |
325 | Dokumentacja programisty do biblioteki OpenImageIO. | |
326 | ||
327 | %package iv | |
328 | Summary: Qt/OpenImageIO-based Image Viewer | |
329 | Summary(pl.UTF-8): Przeglądarka obrazków (IV) oparta o Qt i OpenImageIO | |
330 | Group: X11/Applications/Graphics | |
331 | Requires: %{name} = %{version}-%{release} | |
332 | Requires: glew >= 1.5.1 | |
333 | ||
334 | %description iv | |
335 | IV is an image viewer based on ImageIO plugins; therefore it can read | |
336 | images of any format for which an appropriate plugin may be found. | |
337 | ||
338 | %description iv -l pl.UTF-8 | |
339 | IV to przeglądarka obrazków oparta na wtyczkach ImageIO; dzięki temu | |
340 | jest w stanie odczytać obrazy w dowolnym formacie, dla którego | |
341 | istnieje właściwa wtyczka. | |
342 | ||
343 | %package -n python-OpenImageIO | |
344 | Summary: Python binding for OpenImageIO library | |
345 | Summary(pl.UTF-8): Wiązanie Pythona do biblioteki OpenImageIO | |
346 | Group: Libraries/Python | |
347 | Requires: %{name} = %{version}-%{release} | |
348 | ||
349 | %description -n python-OpenImageIO | |
350 | Python binding for OpenImageIO library. | |
351 | ||
352 | %description -n python-OpenImageIO -l pl.UTF-8 | |
353 | Wiązanie Pythona do biblioteki OpenImageIO. | |
354 | ||
355 | %prep | |
356 | %setup -q -n %{name}-oiio-7f79c70 | |
357 | %patch0 -p1 | |
358 | %patch1 -p1 | |
359 | %patch2 -p1 | |
360 | %patch3 -p1 | |
361 | ||
362 | %{__rm} -r src/dds.imageio/squish | |
363 | # when using system pugixml, don't use hacked headers | |
364 | %{__rm} src/include/OpenImageIO/pugi*.{c,h}pp | |
365 | ||
366 | %build | |
367 | install -d build | |
368 | cd build | |
369 | %cmake ../ \ | |
370 | %ifarch i386 i486 | |
371 | -DNOTHREADS=1 \ | |
372 | %endif | |
373 | -DEMBEDPLUGINS=OFF \ | |
374 | -DOPENJPEG_INCLUDE_DIR=%{_includedir}/openjpeg-2.3 \ | |
375 | -DINCLUDE_INSTALL_DIR=%{_includedir}/%{name} \ | |
376 | -DLIB_INSTALL_DIR:PATH=%{_libdir} \ | |
377 | -DPYLIB_INSTALL_DIR=%{py_sitedir} \ | |
378 | -DPYTHON_VERSION=%{py_ver} \ | |
379 | -DUSE_EXTERNAL_PUGIXML=ON \ | |
380 | -DSTOP_ON_WARNING=OFF \ | |
381 | -DPYBIND11_HOME:PATH=%{py_incdir} \ | |
382 | -DCMAKE_INSTALL_MANDIR=%{_mandir}/man1 \ | |
383 | %{!?with_ocio:-DUSE_OCIO=OFF} \ | |
384 | %{!?with_tbb:-DUSE_TBB=OFF} | |
385 | ||
386 | %{__make} | |
387 | ||
388 | %install | |
389 | rm -rf $RPM_BUILD_ROOT | |
390 | ||
391 | %{__make} -C build install \ | |
392 | DESTDIR=$RPM_BUILD_ROOT | |
393 | ||
394 | # name clash with iv | |
395 | %{__mv} $RPM_BUILD_ROOT%{_bindir}/{iv,oiiv} | |
396 | %{__mv} $RPM_BUILD_ROOT%{_mandir}/man1/{iv,oiiv}.1 | |
397 | ||
398 | # installed as %doc | |
399 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir} | |
400 | ||
401 | %clean | |
402 | rm -rf $RPM_BUILD_ROOT | |
403 | ||
404 | %post -p /sbin/ldconfig | |
405 | %postun -p /sbin/ldconfig | |
406 | ||
407 | %files | |
408 | %defattr(644,root,root,755) | |
409 | %doc CHANGES.md CREDITS.md LICENSE.md README.md | |
410 | %attr(755,root,root) %{_bindir}/iconvert | |
411 | %attr(755,root,root) %{_bindir}/idiff | |
412 | %attr(755,root,root) %{_bindir}/igrep | |
413 | %attr(755,root,root) %{_bindir}/iinfo | |
414 | %attr(755,root,root) %{_bindir}/maketx | |
415 | %attr(755,root,root) %{_bindir}/oiiotool | |
416 | %attr(755,root,root) %{_libdir}/libOpenImageIO.so.*.*.* | |
417 | %attr(755,root,root) %ghost %{_libdir}/libOpenImageIO.so.2.0 | |
418 | %attr(755,root,root) %{_libdir}/libOpenImageIO_Util.so.*.*.* | |
419 | %attr(755,root,root) %ghost %{_libdir}/libOpenImageIO_Util.so.2.0 | |
420 | %attr(755,root,root) %{_libdir}/bmp.imageio.so | |
421 | %attr(755,root,root) %{_libdir}/fits.imageio.so | |
422 | %attr(755,root,root) %{_libdir}/hdr.imageio.so | |
423 | %attr(755,root,root) %{_libdir}/iff.imageio.so | |
424 | %attr(755,root,root) %{_libdir}/pnm.imageio.so | |
425 | %attr(755,root,root) %{_libdir}/rla.imageio.so | |
426 | %attr(755,root,root) %{_libdir}/sgi.imageio.so | |
427 | %attr(755,root,root) %{_libdir}/socket.imageio.so | |
428 | %attr(755,root,root) %{_libdir}/softimage.imageio.so | |
429 | %attr(755,root,root) %{_libdir}/targa.imageio.so | |
430 | %attr(755,root,root) %{_libdir}/zfile.imageio.so | |
431 | %attr(755,root,root) %{_libdir}/null.imageio.so | |
432 | %{_mandir}/man1/iconvert.1* | |
433 | %{_mandir}/man1/idiff.1* | |
434 | %{_mandir}/man1/igrep.1* | |
435 | %{_mandir}/man1/iinfo.1* | |
436 | %{_mandir}/man1/maketx.1* | |
437 | %{_mandir}/man1/oiiotool.1* | |
438 | ||
439 | %files devel | |
440 | %defattr(644,root,root,755) | |
441 | %attr(755,root,root) %{_libdir}/libOpenImageIO.so | |
442 | %attr(755,root,root) %{_libdir}/libOpenImageIO_Util.so | |
443 | %{_includedir}/OpenImageIO | |
444 | %{_pkgconfigdir}/OpenImageIO.pc | |
445 | %{_datadir}/cmake/Modules/FindOpenImageIO.cmake | |
446 | ||
447 | %files plugin-cineon | |
448 | %defattr(644,root,root,755) | |
449 | %attr(755,root,root) %{_libdir}/cineon.imageio.so | |
450 | ||
451 | %files plugin-dicom | |
452 | %defattr(644,root,root,755) | |
453 | %attr(755,root,root) %{_libdir}/dicom.imageio.so | |
454 | ||
455 | %files plugin-dds | |
456 | %defattr(644,root,root,755) | |
457 | %attr(755,root,root) %{_libdir}/dds.imageio.so | |
458 | ||
459 | %files plugin-dpx | |
460 | %defattr(644,root,root,755) | |
461 | %attr(755,root,root) %{_libdir}/dpx.imageio.so | |
462 | ||
463 | %files plugin-ffmpeg | |
464 | %defattr(644,root,root,755) | |
465 | %attr(755,root,root) %{_libdir}/ffmpeg.imageio.so | |
466 | ||
467 | %files plugin-field3d | |
468 | %defattr(644,root,root,755) | |
469 | %attr(755,root,root) %{_libdir}/field3d.imageio.so | |
470 | ||
471 | %files plugin-gif | |
472 | %defattr(644,root,root,755) | |
473 | %attr(755,root,root) %{_libdir}/gif.imageio.so | |
474 | ||
475 | %files plugin-ico | |
476 | %defattr(644,root,root,755) | |
477 | %attr(755,root,root) %{_libdir}/ico.imageio.so | |
478 | ||
479 | %files plugin-jpeg | |
480 | %defattr(644,root,root,755) | |
481 | %attr(755,root,root) %{_libdir}/jpeg.imageio.so | |
482 | ||
483 | %files plugin-jpeg2000 | |
484 | %defattr(644,root,root,755) | |
485 | %attr(755,root,root) %{_libdir}/jpeg2000.imageio.so | |
486 | ||
487 | %files plugin-openexr | |
488 | %defattr(644,root,root,755) | |
489 | %attr(755,root,root) %{_libdir}/openexr.imageio.so | |
490 | ||
491 | %files plugin-png | |
492 | %defattr(644,root,root,755) | |
493 | %attr(755,root,root) %{_libdir}/png.imageio.so | |
494 | ||
495 | %files plugin-psd | |
496 | %defattr(644,root,root,755) | |
497 | %attr(755,root,root) %{_libdir}/psd.imageio.so | |
498 | ||
499 | %files plugin-ptex | |
500 | %defattr(644,root,root,755) | |
501 | %attr(755,root,root) %{_libdir}/ptex.imageio.so | |
502 | ||
503 | %files plugin-raw | |
504 | %defattr(644,root,root,755) | |
505 | %attr(755,root,root) %{_libdir}/raw.imageio.so | |
506 | ||
507 | %files plugin-tiff | |
508 | %defattr(644,root,root,755) | |
509 | %attr(755,root,root) %{_libdir}/tiff.imageio.so | |
510 | ||
511 | %files plugin-webp | |
512 | %defattr(644,root,root,755) | |
513 | %attr(755,root,root) %{_libdir}/webp.imageio.so | |
514 | ||
515 | %files apidocs | |
516 | %defattr(644,root,root,755) | |
517 | %doc src/doc/openimageio.pdf | |
518 | ||
519 | %files iv | |
520 | %defattr(644,root,root,755) | |
521 | %attr(755,root,root) %{_bindir}/oiiv | |
522 | %{_mandir}/man1/oiiv.1* | |
523 | ||
524 | %files -n python-OpenImageIO | |
525 | %defattr(644,root,root,755) | |
526 | %attr(755,root,root) %{py_sitedir}/OpenImageIO.so |