Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP3:GA
openexr.20698
openexr.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openexr.spec of Package openexr.20698
# # spec file for package openexr # # Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %global so_suffix -Imf_2_1-21 Name: openexr Version: 2.1.0 Release: 0 Summary: Utilities for work with HDR images in OpenEXR format License: BSD-3-Clause Group: Productivity/Graphics/Other URL: http://www.openexr.com/ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: automake BuildRequires: fltk-devel BuildRequires: freeglut-devel BuildRequires: gcc-c++ BuildRequires: pkg-config BuildRequires: pkgconfig(IlmBase) = %{version} BuildRequires: pkgconfig(zlib) Obsoletes: OpenEXR <= 1.6.1 Provides: OpenEXR = %{version} Source0: http://download.savannah.nongnu.org/releases/%{name}/%{name}-%{version}.tar.gz Source1: http://download.savannah.nongnu.org/releases/%{name}/%{name}-%{version}.tar.gz.sig Source2: baselibs.conf Source3: openexr.keyring # PATCH-FIX-UPSTREAM install ImfDeepImageStateAttribute.h header too Rex Dieter<rdieter@math.unl.edu> Patch0: openexr-2.1.0-headers.patch Patch1: openexr-CVE-2017-9110,9112,9114,9116,12596.patch Patch2: openexr-CVE-2018-18444.patch # CVE-2017-9111 [bsc#1040109], CVE-2017-9113 [bsc#1040113], CVE-2017-9115 [bsc#1040115] Patch3: openexr-CVE-2017-9111,9113,9115.patch # CVE-2017-14988 [bsc#1061305] Patch4: openexr-CVE-2017-14988.patch # CVE-2020-11758 [bsc#1169573], out-of-bounds read in ImfOptimizedPixelReading.h.|CVE-2020-11764 [bsc#1169574], out-of-bounds write in copyIntoFrameBuffer in ImfMisc.cpp|CVE-2020-11763 [bsc#1169576], out-of-bounds read and write, as demonstrated by ImfTileOffsets.cpp|CVE-2020-11760 [bsc#1169580], out-of-bounds read during RLE uncompression in rleUncompress in ImfRle.cpp Patch5: openexr-CVE-2020-11758,11764,11763,11760.patch # CVE-2020-15305 [bsc#1173467], use-after-free in DeepScanLineInputFile:DeepScanLineInputFile() Patch6: openexr-CVE-2020-15305.patch # CVE-2020-15306 [bsc#1173469], invalid chunkCount attributes could cause a heap buffer overflow in getChunkOffsetTableSize() Patch7: openexr-CVE-2020-15306.patch # CVE-2020-15304 [bsc#1173466], NULL pointer dereference in TiledInputFile:TiledInputFile() Patch8: openexr-CVE-2020-15304.patch # CVE-2020-16587 [bsc#1179879], multiple memory safety issues Patch9: openexr-CVE-2020-16587.patch # CVE not found in bugzilla Patch10: openexr-CVE-2020-16588.patch # CVE not found in bugzilla Patch11: openexr-CVE-2020-16589.patch # CVE-2021-3476 [bsc#1184172], Undefined-shift in Imf_2_5::unpack14 Patch12: openexr-CVE-2021-3476.patch # CVE-2021-3475 [bsc#1184173], Integer-overflow in Imf_2_5::calculateNumTiles Patch13: openexr-CVE-2021-3475.patch # CVE-2021-3598 [bsc#1187310], Heap buffer overflow in Imf_3_1:CharPtrIO:readChars Patch14: openexr-CVE-2021-3598.patch # CVE-2021-3605 [bsc#1187395], Heap buffer overflow in the rleUncompress function Patch15: openexr-CVE-2021-3605.patch # CVE-2021-3479 [bsc#1184354], Out-of-memory caused by allocation of a very large buffer Patch16: openexr-CVE-2021-3479.patch # CVE-2021-20300 [bsc#1188458], Integer-overflow in Imf_2_5:hufUncompress Patch17: openexr-CVE-2021-20300.patch # CVE-2021-20299 [bsc#1188459], Null-dereference READ in Imf_2_5:Header:operator Patch18: openexr-CVE-2021-20299.patch # CVE-2021-20304 [bsc#1188461], Undefined-shift in Imf_2_5:hufDecode Patch19: openexr-CVE-2021-20304.patch # CVE-2021-20302 [bsc#1188462], Floating-point-exception in Imf_2_5:precalculateTileInfot Patch20: openexr-CVE-2021-20302.patch # CVE-2021-20303 [bsc#1188457], Heap-buffer-overflow in Imf_2_5::copyIntoFrameBuffer Patch21: openexr-CVE-2021-20303.patch # CVE-2021-20298 [bsc#1188460], Out-of-memory in B44Compressor Patch22: openexr-CVE-2021-20298.patch %description OpenEXR is a high dynamic-range (HDR) image file format developed by Industrial Light & Magic for use in computer imaging applications. This package contains a set of utilities to work with this format. * exrheader, a utility for dumping header information * exrstdattr, a utility for modifying OpenEXR standard attributes * exrmaketiled, for generating tiled and rip/mipmapped images * exrenvmap, for creating OpenEXR environment maps * exrmakepreview, for creating preview images for OpenEXR files * exr2aces, converter to ACES format * exrmultiview, combine two or more images into one multi-view %package -n libIlmImf%{so_suffix} Summary: Library to Handle EXR Pictures in 16-Bit Floating-Point Format Group: Development/Libraries/C and C++ %description -n libIlmImf%{so_suffix} OpenEXR is a high dynamic-range (HDR) image file format developed by Industrial Light & Magic for use in computer imaging applications. This package contains shared library libIlmImf %post -n libIlmImf%{so_suffix} -p /sbin/ldconfig %postun -n libIlmImf%{so_suffix} -p /sbin/ldconfig %files -n libIlmImf%{so_suffix} %defattr(-,root,root) %doc COPYING %{_libdir}/libIlmImf-*.so.* %package devel Summary: Library to Handle EXR Pictures (16-bit floating-point format) Group: Development/Libraries/C and C++ Obsoletes: OpenEXR-devel <= 1.6.1 Provides: OpenEXR-devel = %{version} Obsoletes: libopenexr-devel <= 1.7.0 Provides: libopenexr-devel = %{version} Requires: libIlmImf%{so_suffix} = %{version} Requires: libilmbase-devel Requires: pkg-config Requires: zlib-devel %description devel OpenEXR is a high dynamic-range (HDR) image file format developed by Industrial Light & Magic for use in computer imaging applications. This package contains header files. %package doc Summary: Library to Handle EXR Pictures in 16-Bit Floating-Point Format Group: Development/Libraries/C and C++ Obsoletes: OpenEXR-doc <= 1.6.1 Provides: OpenEXR-doc = %{version} %description doc OpenEXR is a high dynamic-range (HDR) image file format developed by Industrial Light & Magic for use in computer imaging applications. This package contains a documentation %prep %setup -q %patch0 -p1 %patch1 -p2 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p1 %patch8 -p1 %patch9 -p1 %patch10 -p1 %patch11 -p1 %patch12 -p1 %patch13 -p1 %patch14 -p1 %patch15 -p1 %patch16 -p1 %patch17 -p1 %patch18 -p1 %patch19 -p1 %patch20 -p1 %patch21 -p1 %patch22 -p1 # poor man's fdupes if cmp COPYING LICENSE; then rm -rf LICENSE ln -sf COPYING LICENSE fi # remove a non-linux file %{__rm} README.win32 README.OSX %build #autoreconf --force --install --include=config # export PTHREAD_LIBS="-lpthread" %{configure} \ --disable-static \ --with-pic \ --enable-large-stack \ --enable-imfexamples \ --enable-imfhugetest %{__make} %{?_smp_mflags} %install %{makeinstall} %{__rm} -f %{buildroot}%{_libdir}/*.la install -d -m 0755 %{buildroot}%{_defaultdocdir}/ mv %{buildroot}%{_datadir}/doc/OpenEXR-2* %{buildroot}%{_defaultdocdir}/%{name}-%{version} %check %ifarch x86_64 make -j1 check %endif %files %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING LICENSE NEWS README* %{_bindir}/exrenvmap %{_bindir}/exrheader %{_bindir}/exrmakepreview %{_bindir}/exrmaketiled %{_bindir}/exrstdattr %{_bindir}/exrmultiview %{_bindir}/exrmultipart %files devel %defattr(-,root,root) %{_includedir}/OpenEXR %{_libdir}/libIlmImf.so %{_libdir}/pkgconfig/OpenEXR.pc %{_datadir}/aclocal/openexr.m4 %files doc %defattr(-,root,root) %{_docdir}/%{name}-%{version} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor