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