]>
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 | |
7017ceb2 | 31 | Version: 2.3.12.0 |
4fbe95cf | 32 | Release: 1 |
20734182 JB |
33 | License: BSD |
34 | Group: Libraries | |
94eab2d4 | 35 | #Source0Download: https://github.com/OpenImageIO/oiio/releases |
7017ceb2 JR |
36 | Source0: https://github.com/OpenImageIO/oiio/archive/v%{version}/%{name}-%{version}.tar.gz |
37 | # Source0-md5: e109c5a4e6844f1f58c91ec7a991dbd7 | |
32c56ab5 JR |
38 | Patch2: %{name}-system-libcineon.patch |
39 | Patch3: no-clang-format.patch | |
94eab2d4 | 40 | URL: https://github.com/OpenImageIO/oiio |
8a5e279e | 41 | BuildRequires: Field3D-devel |
4f07e9d7 | 42 | %{?with_ocio:BuildRequires: OpenColorIO-devel} |
94eab2d4 | 43 | BuildRequires: OpenEXR-devel >= 2.0 |
20734182 | 44 | BuildRequires: OpenGL-devel |
88c1376f JB |
45 | BuildRequires: Qt5Core-devel >= 5.6 |
46 | BuildRequires: Qt5Gui-devel >= 5.6 | |
47 | BuildRequires: Qt5OpenGL-devel >= 5.6 | |
48 | BuildRequires: Qt5Widgets-devel >= 5.6 | |
20734182 | 49 | # filesystem, regex, system, thread |
94eab2d4 JB |
50 | BuildRequires: boost-devel >= 1.53 |
51 | BuildRequires: boost-python-devel >= 1.53 | |
52 | BuildRequires: bzip2-devel | |
53 | BuildRequires: cmake >= 3.2.2 | |
54 | BuildRequires: dcmtk-devel >= 3.6.1 | |
55 | BuildRequires: ffmpeg-devel >= 2.6 | |
56 | BuildRequires: freetype-devel >= 2.0 | |
f1d9cbc1 | 57 | BuildRequires: giflib-devel |
20734182 | 58 | BuildRequires: glew-devel >= 1.5.1 |
8a5e279e | 59 | BuildRequires: hdf5-devel |
20734182 JB |
60 | BuildRequires: ilmbase-devel >= 1.0.1 |
61 | BuildRequires: jasper-devel | |
e83a6d4b | 62 | BuildRequires: libcineon-devel |
4fbe95cf | 63 | BuildRequires: libheif-devel |
20734182 JB |
64 | BuildRequires: libjpeg-devel |
65 | BuildRequires: libpng-devel | |
88c1376f | 66 | BuildRequires: libraw-devel >= 0.18 |
94eab2d4 JB |
67 | BuildRequires: libstdc++-devel >= 6:4.7 |
68 | BuildRequires: libtiff-devel >= 3.9 | |
cf6fcddf | 69 | BuildRequires: libwebp-devel |
88c1376f | 70 | %{?with_opencv:BuildRequires: opencv-devel >= 2.0} |
f13815ec | 71 | BuildRequires: openjpeg2-devel >= 2.4 |
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 |
90556a73 | 77 | BuildRequires: rpm-build >= 4.6 |
2026a03f | 78 | BuildRequires: rpmbuild(macros) >= 1.605 |
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 | ||
4fbe95cf JR |
209 | %package plugin-heif |
210 | Summary: HEIF plugin for OpenImageIO library | |
211 | Summary(pl.UTF-8): Wtyczka HEIF dla biblioteki OpenImageIO | |
212 | Group: Libraries | |
213 | Requires: %{name} = %{version}-%{release} | |
214 | ||
215 | %description plugin-heif | |
216 | OpenImageIO plugin to read HEIF files. | |
217 | ||
218 | %description plugin-heif -l pl.UTF-8 | |
219 | Wtyczka biblioteki OpenImageIO czytająca pliki HEIF. | |
220 | ||
20734182 JB |
221 | %package plugin-ico |
222 | Summary: ICO plugin for OpenImageIO library | |
223 | Summary(pl.UTF-8): Wtyczka ICO dla biblioteki OpenImageIO | |
224 | Group: Libraries | |
225 | Requires: %{name} = %{version}-%{release} | |
226 | ||
227 | %description plugin-ico | |
228 | OpenImageIO plugin to read and write ICO files. | |
229 | ||
230 | %description plugin-ico -l pl.UTF-8 | |
231 | Wtyczka biblioteki OpenImageIO czytająca i zapisująca pliki ICO. | |
232 | ||
233 | %package plugin-jpeg | |
234 | Summary: JPEG plugin for OpenImageIO library | |
235 | Summary(pl.UTF-8): Wtyczka JPEG dla biblioteki OpenImageIO | |
236 | Group: Libraries | |
237 | Requires: %{name} = %{version}-%{release} | |
238 | ||
239 | %description plugin-jpeg | |
240 | OpenImageIO plugin to read and write JPEG files (with TIFF/EXIF | |
241 | information). | |
242 | ||
243 | %description plugin-jpeg -l pl.UTF-8 | |
73eae24f ER |
244 | Wtyczka biblioteki OpenImageIO czytająca i zapisująca pliki JPEG (wraz |
245 | z informacjami TIFF/EXIF). | |
20734182 JB |
246 | |
247 | %package plugin-jpeg2000 | |
248 | Summary: JPEG2000 plugin for OpenImageIO library | |
249 | Summary(pl.UTF-8): Wtyczka JPEG2000 dla biblioteki OpenImageIO | |
250 | Group: Libraries | |
251 | Requires: %{name} = %{version}-%{release} | |
252 | ||
253 | %description plugin-jpeg2000 | |
254 | OpenImageIO plugin to read and write JPEG2000 files. | |
255 | ||
256 | %description plugin-jpeg2000 -l pl.UTF-8 | |
257 | Wtyczka biblioteki OpenImageIO czytająca i zapisująca pliki JPEG2000. | |
258 | ||
259 | %package plugin-openexr | |
260 | Summary: OpenEXR plugin for OpenImageIO library | |
261 | Summary(pl.UTF-8): Wtyczka OpenEXR dla biblioteki OpenImageIO | |
262 | Group: Libraries | |
263 | Requires: %{name} = %{version}-%{release} | |
94eab2d4 | 264 | Requires: OpenEXR >= 2.0 |
20734182 JB |
265 | |
266 | %description plugin-openexr | |
267 | OpenImageIO plugin to read and write OpenEXR files. | |
268 | ||
269 | %description plugin-openexr -l pl.UTF-8 | |
270 | Wtyczka biblioteki OpenImageIO czytająca i zapisująca pliki OpenEXR. | |
271 | ||
272 | %package plugin-png | |
273 | Summary: PNG plugin for OpenImageIO library | |
274 | Summary(pl.UTF-8): Wtyczka PNG dla biblioteki OpenImageIO | |
275 | Group: Libraries | |
276 | Requires: %{name} = %{version}-%{release} | |
277 | ||
278 | %description plugin-png | |
279 | OpenImageIO plugin to read and write PNG files. | |
280 | ||
281 | %description plugin-png -l pl.UTF-8 | |
282 | Wtyczka biblioteki OpenImageIO czytająca i zapisująca pliki PNG. | |
283 | ||
52005a92 JR |
284 | %package plugin-psd |
285 | Summary: PSD plugin for OpenImageIO library | |
286 | Summary(pl.UTF-8): Wtyczka PSD dla biblioteki OpenImageIO | |
287 | Group: Libraries | |
288 | Requires: %{name} = %{version}-%{release} | |
289 | ||
290 | %description plugin-psd | |
291 | OpenImageIO plugin to read and write PSD files. | |
292 | ||
293 | %description plugin-psd -l pl.UTF-8 | |
294 | Wtyczka biblioteki OpenImageIO czytająca i zapisująca pliki PSD. | |
295 | ||
d46df4d1 JB |
296 | %package plugin-ptex |
297 | Summary: Ptex plugin for OpenImageIO library | |
298 | Summary(pl.UTF-8): Wtyczka Ptex dla biblioteki OpenImageIO | |
299 | Group: Libraries | |
300 | Requires: %{name} = %{version}-%{release} | |
301 | Requires: ptex >= 2 | |
302 | ||
303 | %description plugin-ptex | |
304 | OpenImageIO plugin to read Ptex files. | |
305 | ||
306 | %description plugin-ptex -l pl.UTF-8 | |
307 | Wtyczka biblioteki OpenImageIO czytająca pliki Ptex. | |
308 | ||
70aab748 JR |
309 | %package plugin-raw |
310 | Summary: RAW plugin for OpenImageIO library | |
311 | Summary(pl.UTF-8): Wtyczka RAW dla biblioteki OpenImageIO | |
312 | Group: Libraries | |
313 | Requires: %{name} = %{version}-%{release} | |
88c1376f | 314 | Requires: libraw >= 0.18 |
70aab748 JR |
315 | |
316 | %description plugin-raw | |
317 | OpenImageIO plugin to readTRAW files. | |
318 | ||
319 | %description plugin-raw -l pl.UTF-8 | |
320 | Wtyczka biblioteki OpenImageIO czytająca pliki RAW. | |
321 | ||
cf6fcddf JR |
322 | %package plugin-webp |
323 | Summary: WebP plugin for OpenImageIO library | |
324 | Summary(pl.UTF-8): Wtyczka WebP dla biblioteki OpenImageIO | |
325 | Group: Libraries | |
326 | Requires: %{name} = %{version}-%{release} | |
327 | ||
328 | %description plugin-webp | |
329 | OpenImageIO plugin to read and write WebP files. | |
330 | ||
331 | %description plugin-webp -l pl.UTF-8 | |
332 | Wtyczka biblioteki OpenImageIO czytająca i zapisująca pliki WebP. | |
333 | ||
20734182 JB |
334 | %package plugin-tiff |
335 | Summary: TIFF plugin for OpenImageIO library | |
336 | Summary(pl.UTF-8): Wtyczka TIFF dla biblioteki OpenImageIO | |
337 | Group: Libraries | |
338 | Requires: %{name} = %{version}-%{release} | |
94eab2d4 | 339 | Requires: libtiff >= 3.9 |
20734182 JB |
340 | |
341 | %description plugin-tiff | |
342 | OpenImageIO plugin to read and write TIFF files. | |
343 | ||
344 | %description plugin-tiff -l pl.UTF-8 | |
345 | Wtyczka biblioteki OpenImageIO czytająca i zapisująca pliki TIFF. | |
346 | ||
20734182 JB |
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 | |
7017ceb2 | 380 | %setup -q -n oiio-%{version} |
37fe49bc | 381 | %patch2 -p1 |
fc6d7d67 | 382 | %patch3 -p1 |
ae460afe JR |
383 | |
384 | %{__rm} -r src/dds.imageio/squish | |
20734182 JB |
385 | |
386 | %build | |
387 | install -d build | |
388 | cd build | |
94eab2d4 JB |
389 | %cmake .. \ |
390 | -DCMAKE_INSTALL_MANDIR=%{_mandir}/man1 \ | |
20734182 | 391 | -DEMBEDPLUGINS=OFF \ |
f13815ec | 392 | -DOPENJPEG_INCLUDE_DIR=%{_includedir}/openjpeg-2.4 \ |
52005a92 | 393 | -DINCLUDE_INSTALL_DIR=%{_includedir}/%{name} \ |
3d853326 | 394 | -DLIB_INSTALL_DIR:PATH=%{_libdir} \ |
488c8e3f | 395 | -DBUILD_TESTING=OFF \ |
94eab2d4 JB |
396 | %ifarch i386 i486 |
397 | -DNOTHREADS=1 \ | |
398 | %endif | |
4fbe95cf | 399 | -DENABLE_FIELD3D=ON \ |
94eab2d4 | 400 | -DPYBIND11_HOME:PATH=%{py_incdir} \ |
4f07e9d7 | 401 | -DPYLIB_INSTALL_DIR=%{py_sitedir} \ |
20734182 | 402 | -DPYTHON_VERSION=%{py_ver} \ |
4f07e9d7 | 403 | -DUSE_EXTERNAL_PUGIXML=ON \ |
cb420b0d | 404 | -DSTOP_ON_WARNING=OFF \ |
4f07e9d7 | 405 | %{!?with_ocio:-DUSE_OCIO=OFF} \ |
94eab2d4 | 406 | %{!?with_opencv:-DUSE_OPENCV=OFF} \ |
4f07e9d7 | 407 | %{!?with_tbb:-DUSE_TBB=OFF} |
20734182 JB |
408 | |
409 | %{__make} | |
410 | ||
411 | %install | |
412 | rm -rf $RPM_BUILD_ROOT | |
413 | ||
414 | %{__make} -C build install \ | |
415 | DESTDIR=$RPM_BUILD_ROOT | |
416 | ||
417 | # name clash with iv | |
ae460afe | 418 | %{__mv} $RPM_BUILD_ROOT%{_bindir}/{iv,oiiv} |
32c56ab5 | 419 | %{__mv} $RPM_BUILD_ROOT%{_mandir}/man1/{iv,oiiv}.1 |
20734182 | 420 | |
52005a92 | 421 | # installed as %doc |
32c56ab5 | 422 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir} |
52005a92 | 423 | |
20734182 JB |
424 | %clean |
425 | rm -rf $RPM_BUILD_ROOT | |
426 | ||
427 | %post -p /sbin/ldconfig | |
428 | %postun -p /sbin/ldconfig | |
429 | ||
430 | %files | |
431 | %defattr(644,root,root,755) | |
32c56ab5 | 432 | %doc CHANGES.md CREDITS.md LICENSE.md README.md |
20734182 JB |
433 | %attr(755,root,root) %{_bindir}/iconvert |
434 | %attr(755,root,root) %{_bindir}/idiff | |
435 | %attr(755,root,root) %{_bindir}/igrep | |
436 | %attr(755,root,root) %{_bindir}/iinfo | |
20734182 | 437 | %attr(755,root,root) %{_bindir}/maketx |
52005a92 | 438 | %attr(755,root,root) %{_bindir}/oiiotool |
20734182 | 439 | %attr(755,root,root) %{_libdir}/libOpenImageIO.so.*.*.* |
488c8e3f | 440 | %attr(755,root,root) %ghost %{_libdir}/libOpenImageIO.so.2.3 |
70aab748 | 441 | %attr(755,root,root) %{_libdir}/libOpenImageIO_Util.so.*.*.* |
488c8e3f | 442 | %attr(755,root,root) %ghost %{_libdir}/libOpenImageIO_Util.so.2.3 |
20734182 | 443 | %attr(755,root,root) %{_libdir}/bmp.imageio.so |
20734182 JB |
444 | %attr(755,root,root) %{_libdir}/fits.imageio.so |
445 | %attr(755,root,root) %{_libdir}/hdr.imageio.so | |
52005a92 | 446 | %attr(755,root,root) %{_libdir}/iff.imageio.so |
20734182 | 447 | %attr(755,root,root) %{_libdir}/pnm.imageio.so |
52005a92 | 448 | %attr(755,root,root) %{_libdir}/rla.imageio.so |
20734182 JB |
449 | %attr(755,root,root) %{_libdir}/sgi.imageio.so |
450 | %attr(755,root,root) %{_libdir}/socket.imageio.so | |
451 | %attr(755,root,root) %{_libdir}/softimage.imageio.so | |
452 | %attr(755,root,root) %{_libdir}/targa.imageio.so | |
453 | %attr(755,root,root) %{_libdir}/zfile.imageio.so | |
32c56ab5 | 454 | %attr(755,root,root) %{_libdir}/null.imageio.so |
4fbe95cf | 455 | %attr(755,root,root) %{_libdir}/term.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 | 468 | %{_pkgconfigdir}/OpenImageIO.pc |
488c8e3f | 469 | %{_libdir}/cmake/OpenImageIO |
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 | ||
4fbe95cf JR |
499 | %files plugin-heif |
500 | %defattr(644,root,root,755) | |
501 | %attr(755,root,root) %{_libdir}/heif.imageio.so | |
502 | ||
20734182 JB |
503 | %files plugin-ico |
504 | %defattr(644,root,root,755) | |
505 | %attr(755,root,root) %{_libdir}/ico.imageio.so | |
506 | ||
507 | %files plugin-jpeg | |
508 | %defattr(644,root,root,755) | |
509 | %attr(755,root,root) %{_libdir}/jpeg.imageio.so | |
510 | ||
511 | %files plugin-jpeg2000 | |
512 | %defattr(644,root,root,755) | |
513 | %attr(755,root,root) %{_libdir}/jpeg2000.imageio.so | |
514 | ||
515 | %files plugin-openexr | |
516 | %defattr(644,root,root,755) | |
517 | %attr(755,root,root) %{_libdir}/openexr.imageio.so | |
518 | ||
519 | %files plugin-png | |
520 | %defattr(644,root,root,755) | |
521 | %attr(755,root,root) %{_libdir}/png.imageio.so | |
522 | ||
52005a92 JR |
523 | %files plugin-psd |
524 | %defattr(644,root,root,755) | |
525 | %attr(755,root,root) %{_libdir}/psd.imageio.so | |
526 | ||
d46df4d1 JB |
527 | %files plugin-ptex |
528 | %defattr(644,root,root,755) | |
529 | %attr(755,root,root) %{_libdir}/ptex.imageio.so | |
530 | ||
70aab748 JR |
531 | %files plugin-raw |
532 | %defattr(644,root,root,755) | |
533 | %attr(755,root,root) %{_libdir}/raw.imageio.so | |
534 | ||
20734182 JB |
535 | %files plugin-tiff |
536 | %defattr(644,root,root,755) | |
537 | %attr(755,root,root) %{_libdir}/tiff.imageio.so | |
538 | ||
cf6fcddf JR |
539 | %files plugin-webp |
540 | %defattr(644,root,root,755) | |
541 | %attr(755,root,root) %{_libdir}/webp.imageio.so | |
542 | ||
20734182 JB |
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 |