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