]>
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 | |
32c56ab5 | 19 | Version: 2.0.7 |
190233eb | 20 | Release: 4 |
20734182 JB |
21 | License: BSD |
22 | Group: Libraries | |
bdfb92c2 | 23 | Source0: https://github.com/OpenImageIO/oiio/tarball/Release-%{version}/%{name}-%{version}.tar.gz |
32c56ab5 | 24 | # Source0-md5: 3d722173d84cc705f4aead0679fa2393 |
40b0de7c | 25 | Patch0: %{name}-link.patch |
37fe49bc | 26 | Patch1: %{name}-system-squish.patch |
32c56ab5 JR |
27 | Patch2: %{name}-system-libcineon.patch |
28 | Patch3: no-clang-format.patch | |
20734182 | 29 | URL: https://sites.google.com/site/openimageio/home |
8a5e279e | 30 | BuildRequires: Field3D-devel |
4f07e9d7 | 31 | %{?with_ocio:BuildRequires: OpenColorIO-devel} |
20734182 JB |
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 | |
bce3ea8b | 41 | BuildRequires: dcmtk-devel |
f1d9cbc1 JR |
42 | BuildRequires: ffmpeg-devel |
43 | BuildRequires: giflib-devel | |
20734182 | 44 | BuildRequires: glew-devel >= 1.5.1 |
8a5e279e | 45 | BuildRequires: hdf5-devel |
20734182 JB |
46 | BuildRequires: ilmbase-devel >= 1.0.1 |
47 | BuildRequires: jasper-devel | |
e83a6d4b | 48 | BuildRequires: libcineon-devel |
20734182 JB |
49 | BuildRequires: libjpeg-devel |
50 | BuildRequires: libpng-devel | |
70aab748 | 51 | BuildRequires: libraw-devel |
73eae24f | 52 | BuildRequires: libstdc++-devel |
20734182 | 53 | BuildRequires: libtiff-devel |
cf6fcddf | 54 | BuildRequires: libwebp-devel |
32c56ab5 | 55 | BuildRequires: openjpeg2-devel |
ae460afe | 56 | BuildRequires: ptex-devel >= 2.1 |
73eae24f | 57 | BuildRequires: pugixml-devel |
20734182 | 58 | BuildRequires: python-devel >= 1:2.6 |
32c56ab5 JR |
59 | BuildRequires: python-pybind11 |
60 | BuildRequires: robin-map-devel | |
fc6d7d67 | 61 | BuildRequires: squish-devel >= 1.10 |
20734182 | 62 | %{?with_tbb:BuildRequires: tbb-devel} |
5bef7fef | 63 | BuildRequires: txt2man |
20734182 JB |
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} | |
4f07e9d7 | 95 | Requires: libstdc++-devel |
20734182 JB |
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 | ||
52005a92 JR |
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 | ||
bce3ea8b JR |
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 | ||
fc6d7d67 JB |
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 | |
d46df4d1 | 136 | OpenImageIO plugin to read DDS files. |
fc6d7d67 JB |
137 | |
138 | %description plugin-dds -l pl.UTF-8 | |
d46df4d1 | 139 | Wtyczka biblioteki OpenImageIO czytająca pliki DDS. |
fc6d7d67 | 140 | |
b238f81f JB |
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 | ||
f1d9cbc1 JR |
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 | ||
8a5e279e JB |
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 | |
d46df4d1 | 172 | OpenImageIO plugin to read Field3D files. |
8a5e279e JB |
173 | |
174 | %description plugin-field3d -l pl.UTF-8 | |
d46df4d1 | 175 | Wtyczka biblioteki OpenImageIO czytająca pliki Field3D. |
8a5e279e | 176 | |
f1d9cbc1 JR |
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 | ||
20734182 JB |
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 | |
73eae24f ER |
212 | Wtyczka biblioteki OpenImageIO czytająca i zapisująca pliki JPEG (wraz |
213 | z informacjami TIFF/EXIF). | |
20734182 JB |
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 | ||
52005a92 JR |
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 | ||
d46df4d1 JB |
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 | ||
70aab748 JR |
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 | ||
cf6fcddf JR |
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 | ||
20734182 JB |
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 | |
73eae24f ER |
317 | %if "%{_rpmversion}" >= "5" |
318 | BuildArch: noarch | |
319 | %endif | |
20734182 JB |
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 | |
32c56ab5 | 356 | %setup -q -n %{name}-oiio-7f79c70 |
40b0de7c | 357 | %patch0 -p1 |
37fe49bc JR |
358 | %patch1 -p1 |
359 | %patch2 -p1 | |
fc6d7d67 | 360 | %patch3 -p1 |
ae460afe JR |
361 | |
362 | %{__rm} -r src/dds.imageio/squish | |
4f07e9d7 | 363 | # when using system pugixml, don't use hacked headers |
497529b6 | 364 | %{__rm} src/include/OpenImageIO/pugi*.{c,h}pp |
20734182 JB |
365 | |
366 | %build | |
367 | install -d build | |
368 | cd build | |
497529b6 | 369 | %cmake ../ \ |
9293af1a | 370 | %ifarch i386 i486 |
8545570c AM |
371 | -DNOTHREADS=1 \ |
372 | %endif | |
20734182 | 373 | -DEMBEDPLUGINS=OFF \ |
32c56ab5 | 374 | -DOPENJPEG_INCLUDE_DIR=%{_includedir}/openjpeg-2.3 \ |
52005a92 | 375 | -DINCLUDE_INSTALL_DIR=%{_includedir}/%{name} \ |
3d853326 | 376 | -DLIB_INSTALL_DIR:PATH=%{_libdir} \ |
4f07e9d7 | 377 | -DPYLIB_INSTALL_DIR=%{py_sitedir} \ |
20734182 | 378 | -DPYTHON_VERSION=%{py_ver} \ |
4f07e9d7 | 379 | -DUSE_EXTERNAL_PUGIXML=ON \ |
cb420b0d | 380 | -DSTOP_ON_WARNING=OFF \ |
32c56ab5 JR |
381 | -DPYBIND11_HOME:PATH=%{py_incdir} \ |
382 | -DCMAKE_INSTALL_MANDIR=%{_mandir}/man1 \ | |
4f07e9d7 JB |
383 | %{!?with_ocio:-DUSE_OCIO=OFF} \ |
384 | %{!?with_tbb:-DUSE_TBB=OFF} | |
20734182 JB |
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 | |
ae460afe | 395 | %{__mv} $RPM_BUILD_ROOT%{_bindir}/{iv,oiiv} |
32c56ab5 | 396 | %{__mv} $RPM_BUILD_ROOT%{_mandir}/man1/{iv,oiiv}.1 |
20734182 | 397 | |
52005a92 | 398 | # installed as %doc |
32c56ab5 | 399 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir} |
52005a92 | 400 | |
20734182 JB |
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) | |
32c56ab5 | 409 | %doc CHANGES.md CREDITS.md LICENSE.md README.md |
20734182 JB |
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 | |
20734182 | 414 | %attr(755,root,root) %{_bindir}/maketx |
52005a92 | 415 | %attr(755,root,root) %{_bindir}/oiiotool |
20734182 | 416 | %attr(755,root,root) %{_libdir}/libOpenImageIO.so.*.*.* |
32c56ab5 | 417 | %attr(755,root,root) %ghost %{_libdir}/libOpenImageIO.so.2.0 |
70aab748 | 418 | %attr(755,root,root) %{_libdir}/libOpenImageIO_Util.so.*.*.* |
32c56ab5 | 419 | %attr(755,root,root) %ghost %{_libdir}/libOpenImageIO_Util.so.2.0 |
20734182 | 420 | %attr(755,root,root) %{_libdir}/bmp.imageio.so |
20734182 JB |
421 | %attr(755,root,root) %{_libdir}/fits.imageio.so |
422 | %attr(755,root,root) %{_libdir}/hdr.imageio.so | |
52005a92 | 423 | %attr(755,root,root) %{_libdir}/iff.imageio.so |
20734182 | 424 | %attr(755,root,root) %{_libdir}/pnm.imageio.so |
52005a92 | 425 | %attr(755,root,root) %{_libdir}/rla.imageio.so |
20734182 JB |
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 | |
32c56ab5 | 431 | %attr(755,root,root) %{_libdir}/null.imageio.so |
5bef7fef JR |
432 | %{_mandir}/man1/iconvert.1* |
433 | %{_mandir}/man1/idiff.1* | |
434 | %{_mandir}/man1/igrep.1* | |
435 | %{_mandir}/man1/iinfo.1* | |
5bef7fef JR |
436 | %{_mandir}/man1/maketx.1* |
437 | %{_mandir}/man1/oiiotool.1* | |
20734182 JB |
438 | |
439 | %files devel | |
440 | %defattr(644,root,root,755) | |
441 | %attr(755,root,root) %{_libdir}/libOpenImageIO.so | |
f1d9cbc1 | 442 | %attr(755,root,root) %{_libdir}/libOpenImageIO_Util.so |
20734182 | 443 | %{_includedir}/OpenImageIO |
32c56ab5 JR |
444 | %{_pkgconfigdir}/OpenImageIO.pc |
445 | %{_datadir}/cmake/Modules/FindOpenImageIO.cmake | |
20734182 | 446 | |
52005a92 JR |
447 | %files plugin-cineon |
448 | %defattr(644,root,root,755) | |
449 | %attr(755,root,root) %{_libdir}/cineon.imageio.so | |
450 | ||
bce3ea8b JR |
451 | %files plugin-dicom |
452 | %defattr(644,root,root,755) | |
453 | %attr(755,root,root) %{_libdir}/dicom.imageio.so | |
454 | ||
fc6d7d67 JB |
455 | %files plugin-dds |
456 | %defattr(644,root,root,755) | |
457 | %attr(755,root,root) %{_libdir}/dds.imageio.so | |
458 | ||
b238f81f JB |
459 | %files plugin-dpx |
460 | %defattr(644,root,root,755) | |
461 | %attr(755,root,root) %{_libdir}/dpx.imageio.so | |
462 | ||
70aab748 JR |
463 | %files plugin-ffmpeg |
464 | %defattr(644,root,root,755) | |
465 | %attr(755,root,root) %{_libdir}/ffmpeg.imageio.so | |
466 | ||
8a5e279e JB |
467 | %files plugin-field3d |
468 | %defattr(644,root,root,755) | |
469 | %attr(755,root,root) %{_libdir}/field3d.imageio.so | |
470 | ||
70aab748 JR |
471 | %files plugin-gif |
472 | %defattr(644,root,root,755) | |
473 | %attr(755,root,root) %{_libdir}/gif.imageio.so | |
474 | ||
20734182 JB |
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 | ||
52005a92 JR |
495 | %files plugin-psd |
496 | %defattr(644,root,root,755) | |
497 | %attr(755,root,root) %{_libdir}/psd.imageio.so | |
498 | ||
d46df4d1 JB |
499 | %files plugin-ptex |
500 | %defattr(644,root,root,755) | |
501 | %attr(755,root,root) %{_libdir}/ptex.imageio.so | |
502 | ||
70aab748 JR |
503 | %files plugin-raw |
504 | %defattr(644,root,root,755) | |
505 | %attr(755,root,root) %{_libdir}/raw.imageio.so | |
506 | ||
20734182 JB |
507 | %files plugin-tiff |
508 | %defattr(644,root,root,755) | |
509 | %attr(755,root,root) %{_libdir}/tiff.imageio.so | |
510 | ||
cf6fcddf JR |
511 | %files plugin-webp |
512 | %defattr(644,root,root,755) | |
513 | %attr(755,root,root) %{_libdir}/webp.imageio.so | |
514 | ||
20734182 JB |
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 | |
32c56ab5 | 522 | %{_mandir}/man1/oiiv.1* |
20734182 JB |
523 | |
524 | %files -n python-OpenImageIO | |
525 | %defattr(644,root,root,755) | |
526 | %attr(755,root,root) %{py_sitedir}/OpenImageIO.so |