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