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