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