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