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