2010-08-09 11:58:48 +02:00
|
|
|
#
|
2011-04-21 11:53:52 +02:00
|
|
|
# spec file for package openexr
|
2010-08-09 11:58:48 +02:00
|
|
|
#
|
Accepting request 773200 from home:StefanBruens:branches:devel:tools:building
- Fix relative paths in generated pkgconfig files:
0001-Use-absolute-CMAKE_INSTALL_FULL_LIBDIR-for-libdir-in.patch
- Fix build with older cmake package (Leap 15.0 up to 15.2), the
included ctest macro does not accept extra parameters.
- Add Fix-the-symlinks-creation.patch to fix the symlinks creation.
- fix OpenEXR.pc
- increase timeout for IlmImf test
- version update to 2.4.0
* Completely re-written CMake configuration files
* Improved support for building on Windows, via CMake
* Improved support for building on macOS, via CMake
* All code compiles without warnings on gcc, clang, msvc
* Cleanup of license and copyright notices
* floating-point exception handling is disabled by default
* New Slice::Make method to reliably compute base pointer for a slice.
* Miscellaneous bug fixes
* CVE-2018-18444 Issue #351 Out of Memory
* CVE-2018-18443 Issue #350 heap-buffer-overflow
- upstream does not provide gpg signature anymore
https://github.com/openexr/openexr/issues/565
- modified sources
% baselibs.conf
- deleted patches
- openexr-CVE-2017-14988.patch (upstreamed)
- openexr-CVE-2017-9111,9113,9115.patch (upstreamed)
- openexr-CVE-2018-18444.patch (upstreamed)
- deleted sources
- openexr-2.3.0.tar.gz.sig (not needed)
- openexr.keyring (not needed)
- testsuite only for x86_64 [bsc#1146648]
- Enable tests on architectures with enough memory - boo#1146648
* disable imffuzztest as it takes to much resources
- security update
- added patches
CVE-2017-14988 [bsc#1061305]
+ openexr-CVE-2017-14988.patch
- security update
- added patches
CVE-2017-9111 [bsc#1040109], CVE-2017-9113 [bsc#1040113], CVE-2017-9115 [bsc#1040115]
+ openexr-CVE-2017-9111,9113,9115.patch
- Codify new ilmbase requirements.
- security update
* CVE-2018-18444 [bsc#1113455]
+ openexr-CVE-2018-18444.patch
- asan_build: build ASAN included
- debug_build: build more suitable for debugging
- Remove useless --with-pic.
- Adjust RPM groups and repair sentence structure.
- updated to 2.3.0
* ThreadPool overhead improvements, enable custom thread pool
to be registered via ThreadPoolProvider class
* Fixes to enable custom namespaces for Iex, Imf
* Improve read performance for deep/zipped data, and
SIMD-accelerated uncompress support
* Added rawPixelDataToBuffer() function for access to
compressed scanlines
* Iex::BaseExc no longer derived from std::string.
* Imath throw() specifiers removed
* Initial Support for Python 3
* removed patch
- Update to 2.2.1
* Fix reported OpenEXR security vulnerabilities: CVE-2017-9110,
CVE-2017-9111, CVE-2017-9112, CVE-2017-9113, CVE-2017-9114,
CVE-2017-9115 and CVE-2017-9116
- pgajdos@suse.com: but really seem to fix only:
CVE-2017-9110 [bsc#1040107], CVE-2017-9114 [bsc#1040114],
CVE-2017-9116 [bsc#1040116], CVE-2017-12596 [bsc#1052522]; for
the rest of issues see [bsc#1040109], [bsc#1040112],
[bsc#1040113], [bsc#1040114], [bsc#1040115], and [bsc#1061305]
- Cleanup a bit with spec-cleaner
- Update to 2.2.0
* DreamWorks Lossy Compression A new high quality, high performance lossy
compression codec contributed by DreamWorks Animation. This codec allows
control over variable lossiness to balance visual quality and file size.
This contribution also includes performance improvements that speed up
the PIZ codec.
* IlmImfUtil A new library intended to aid in development of image file
manipulation utilities that support the many types of OpenEXR images.
* This release also includes improvements to cross-platform build support
using CMake.
- Bumped the soname, and now we have libIlmImf and libIlmImfUtil
- Removed openexr-2.1.0-headers.patch
- Updated openexr.keyring from the savannah project page.
- Add obsoletes to baselibs.conf.
- remove dependency on gpg-offline (blocks rebuilds and
tarball integrity is checked by source-validator anyway)
- add openexr-2.1.0-headers.patch to install
ImfDeepImageStateAttribute.h header too
- update to 2.1.0
This release includes a refactoring of the optimised read paths for RGBA
data, optimisations for some of the python bindings to Imath, improvements to
the cmake build environment as well as additional documentation describing
deep data in more detail.
- make tests conditional, enable fuzz test and huge test
- update to 2.0.1
This is a maintenance push that predominantly addresses edge case
failures in the optimisation code paths by temporarily disabling the
feature. For more details, please refer to the
/usr/share/doc/packages/openexr/ChangeLog
- add gpg-offline based verification
- fix library deps
- update to 2.0.0
* Deep Data support - Pixels can now store a variable-length list of samples.
The main rationale behind deep images is to enable the storage of multiple
values at different depths for each pixel. OpenEXR 2.0 supports both
hard-surface and volumetric representations for Deep Compositing workflows.
* Multi-part Image Files - With OpenEXR 2.0, files can now contain a number
of separate, but related, data parts in one file. Access to any part is
independent of the others, pixels from parts that are not required in the
current operation don't need to be accessed, resulting in quicker read
times when accessing only a subset of channels. The multipart interface
also incorporates support for Stereo images where views are stored in
separate parts. This makes stereo OpenEXR 2.0 files significantly faster to
work with than the previous multiview support in OpenEXR.
* Optimized pixel reading - decoding RGB(A) scanline images has been
accelerated on SSE processors providing a significant speedup when reading
both old and new format images, including multipart and multiview files.
* Namespacing - The library introduces versioned namespaces to avoid
conflicts between packages compiled with different versions of the library.
- obsoleted
openexr-suse-docdir.patch (moved in install phase)
openexr-disable-tests.patch
- license update: BSD-3-Clause
No GPL licensed files found in the package
- Update baselibs.conf
- Update to 1.7.1
* Updated the .so verison to 7.
* obsoletes openexr-includes.patch
- require new ilmbase-devel for build
- rename libopenexr-devel to openexr devel to be compatible
with renamed ilmbase package
- disable the test at all, as running them in OBS seems not to be
reliable
- Remove redundant tags/sections per specfile guideline suggestions
- openexr-disable-tests.patch - disable broken tests prevents a build
in Factory
- remove explicit libdrm buildrequires
- Use %_smp_mflags for parallel build
- Update to 1.7.0 - bugfix release, multiviewer support
* obsoletes CVE-2009-1720 support
* built with --enable-larget-stack and test
- Renammed to be more comfortable with Shared Library policy
* openexr - main (source package) contains tools in bindir, it provides and
obsoletes the old OpenEXR symbol
* libIlmImf6 - contains the openexr library
* libopenexr-devel - contains the headers, Provides and Obsoletes the
OpenEXR-devel symbol
* openexr-doc - documentation
- add baselibs.conf as a source
- fixed bnc#527539: VUL-0: OpenEXR: [ MDVSA-2009:190 ] OpenEXR
used patches from Mandriva
* CVE-2009-1720
* CVE-2009-1721
- save 6.7MB by removing static libraries and "la" files
- use Obsoletes: -XXbit only for ppc64 to help solver during distupgrade
(bnc#437293)
- obsolete old -XXbit packages (bnc#437293)
- added baselibs.conf file to build xxbit packages
for multilib support
- update to 1.6.1
- fix buid, add docu subpackage with documentation and examples
- fix linking of new IlmThread lib versus libpthread
- update to 1.4.6
- fix build, fix packaging examples and doc
- added missing Requires
- fixed RPM_OPT_FLAGS
- fix shared lib dependencies
- fix installed headers
- converted neededforbuild to BuildRequires
- make use of mesa-devel-packages macro in neededforbuild
- don't build as root
- update to version 1.2.2
- Fix missing declaration.
- try to fix docu installation
- initial package of version 1.2.1
OBS-URL: https://build.opensuse.org/request/show/773200
OBS-URL: https://build.opensuse.org/package/show/graphics/openexr?expand=0&rev=45
2020-02-11 09:47:13 +01:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2010-08-09 11:58:48 +02:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2018-11-05 13:02:16 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2010-08-09 11:58:48 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2018-11-06 10:41:12 +01:00
|
|
|
# perhaps you want to build against corresponding ilmbase build
|
|
|
|
%define asan_build 0
|
|
|
|
%define debug_build 0
|
2020-06-29 14:44:27 +02:00
|
|
|
%define sonum 25
|
|
|
|
%global so_suffix -2_5
|
2010-08-09 11:58:48 +02:00
|
|
|
Name: openexr
|
2020-09-30 09:02:24 +02:00
|
|
|
Version: 2.5.3
|
2012-08-08 10:56:55 +02:00
|
|
|
Release: 0
|
2018-11-05 16:47:17 +01:00
|
|
|
Summary: Utilities for working with HDR images in OpenEXR format
|
2012-10-03 09:20:45 +02:00
|
|
|
License: BSD-3-Clause
|
2010-08-09 11:58:48 +02:00
|
|
|
Group: Productivity/Graphics/Other
|
2019-08-21 17:02:56 +02:00
|
|
|
URL: http://www.openexr.com/
|
2019-09-26 10:30:24 +02:00
|
|
|
Source0: https://github.com/openexr/openexr/archive/v%{version}.tar.gz
|
2017-07-13 00:48:08 +02:00
|
|
|
Source2: baselibs.conf
|
Accepting request 773200 from home:StefanBruens:branches:devel:tools:building
- Fix relative paths in generated pkgconfig files:
0001-Use-absolute-CMAKE_INSTALL_FULL_LIBDIR-for-libdir-in.patch
- Fix build with older cmake package (Leap 15.0 up to 15.2), the
included ctest macro does not accept extra parameters.
- Add Fix-the-symlinks-creation.patch to fix the symlinks creation.
- fix OpenEXR.pc
- increase timeout for IlmImf test
- version update to 2.4.0
* Completely re-written CMake configuration files
* Improved support for building on Windows, via CMake
* Improved support for building on macOS, via CMake
* All code compiles without warnings on gcc, clang, msvc
* Cleanup of license and copyright notices
* floating-point exception handling is disabled by default
* New Slice::Make method to reliably compute base pointer for a slice.
* Miscellaneous bug fixes
* CVE-2018-18444 Issue #351 Out of Memory
* CVE-2018-18443 Issue #350 heap-buffer-overflow
- upstream does not provide gpg signature anymore
https://github.com/openexr/openexr/issues/565
- modified sources
% baselibs.conf
- deleted patches
- openexr-CVE-2017-14988.patch (upstreamed)
- openexr-CVE-2017-9111,9113,9115.patch (upstreamed)
- openexr-CVE-2018-18444.patch (upstreamed)
- deleted sources
- openexr-2.3.0.tar.gz.sig (not needed)
- openexr.keyring (not needed)
- testsuite only for x86_64 [bsc#1146648]
- Enable tests on architectures with enough memory - boo#1146648
* disable imffuzztest as it takes to much resources
- security update
- added patches
CVE-2017-14988 [bsc#1061305]
+ openexr-CVE-2017-14988.patch
- security update
- added patches
CVE-2017-9111 [bsc#1040109], CVE-2017-9113 [bsc#1040113], CVE-2017-9115 [bsc#1040115]
+ openexr-CVE-2017-9111,9113,9115.patch
- Codify new ilmbase requirements.
- security update
* CVE-2018-18444 [bsc#1113455]
+ openexr-CVE-2018-18444.patch
- asan_build: build ASAN included
- debug_build: build more suitable for debugging
- Remove useless --with-pic.
- Adjust RPM groups and repair sentence structure.
- updated to 2.3.0
* ThreadPool overhead improvements, enable custom thread pool
to be registered via ThreadPoolProvider class
* Fixes to enable custom namespaces for Iex, Imf
* Improve read performance for deep/zipped data, and
SIMD-accelerated uncompress support
* Added rawPixelDataToBuffer() function for access to
compressed scanlines
* Iex::BaseExc no longer derived from std::string.
* Imath throw() specifiers removed
* Initial Support for Python 3
* removed patch
- Update to 2.2.1
* Fix reported OpenEXR security vulnerabilities: CVE-2017-9110,
CVE-2017-9111, CVE-2017-9112, CVE-2017-9113, CVE-2017-9114,
CVE-2017-9115 and CVE-2017-9116
- pgajdos@suse.com: but really seem to fix only:
CVE-2017-9110 [bsc#1040107], CVE-2017-9114 [bsc#1040114],
CVE-2017-9116 [bsc#1040116], CVE-2017-12596 [bsc#1052522]; for
the rest of issues see [bsc#1040109], [bsc#1040112],
[bsc#1040113], [bsc#1040114], [bsc#1040115], and [bsc#1061305]
- Cleanup a bit with spec-cleaner
- Update to 2.2.0
* DreamWorks Lossy Compression A new high quality, high performance lossy
compression codec contributed by DreamWorks Animation. This codec allows
control over variable lossiness to balance visual quality and file size.
This contribution also includes performance improvements that speed up
the PIZ codec.
* IlmImfUtil A new library intended to aid in development of image file
manipulation utilities that support the many types of OpenEXR images.
* This release also includes improvements to cross-platform build support
using CMake.
- Bumped the soname, and now we have libIlmImf and libIlmImfUtil
- Removed openexr-2.1.0-headers.patch
- Updated openexr.keyring from the savannah project page.
- Add obsoletes to baselibs.conf.
- remove dependency on gpg-offline (blocks rebuilds and
tarball integrity is checked by source-validator anyway)
- add openexr-2.1.0-headers.patch to install
ImfDeepImageStateAttribute.h header too
- update to 2.1.0
This release includes a refactoring of the optimised read paths for RGBA
data, optimisations for some of the python bindings to Imath, improvements to
the cmake build environment as well as additional documentation describing
deep data in more detail.
- make tests conditional, enable fuzz test and huge test
- update to 2.0.1
This is a maintenance push that predominantly addresses edge case
failures in the optimisation code paths by temporarily disabling the
feature. For more details, please refer to the
/usr/share/doc/packages/openexr/ChangeLog
- add gpg-offline based verification
- fix library deps
- update to 2.0.0
* Deep Data support - Pixels can now store a variable-length list of samples.
The main rationale behind deep images is to enable the storage of multiple
values at different depths for each pixel. OpenEXR 2.0 supports both
hard-surface and volumetric representations for Deep Compositing workflows.
* Multi-part Image Files - With OpenEXR 2.0, files can now contain a number
of separate, but related, data parts in one file. Access to any part is
independent of the others, pixels from parts that are not required in the
current operation don't need to be accessed, resulting in quicker read
times when accessing only a subset of channels. The multipart interface
also incorporates support for Stereo images where views are stored in
separate parts. This makes stereo OpenEXR 2.0 files significantly faster to
work with than the previous multiview support in OpenEXR.
* Optimized pixel reading - decoding RGB(A) scanline images has been
accelerated on SSE processors providing a significant speedup when reading
both old and new format images, including multipart and multiview files.
* Namespacing - The library introduces versioned namespaces to avoid
conflicts between packages compiled with different versions of the library.
- obsoleted
openexr-suse-docdir.patch (moved in install phase)
openexr-disable-tests.patch
- license update: BSD-3-Clause
No GPL licensed files found in the package
- Update baselibs.conf
- Update to 1.7.1
* Updated the .so verison to 7.
* obsoletes openexr-includes.patch
- require new ilmbase-devel for build
- rename libopenexr-devel to openexr devel to be compatible
with renamed ilmbase package
- disable the test at all, as running them in OBS seems not to be
reliable
- Remove redundant tags/sections per specfile guideline suggestions
- openexr-disable-tests.patch - disable broken tests prevents a build
in Factory
- remove explicit libdrm buildrequires
- Use %_smp_mflags for parallel build
- Update to 1.7.0 - bugfix release, multiviewer support
* obsoletes CVE-2009-1720 support
* built with --enable-larget-stack and test
- Renammed to be more comfortable with Shared Library policy
* openexr - main (source package) contains tools in bindir, it provides and
obsoletes the old OpenEXR symbol
* libIlmImf6 - contains the openexr library
* libopenexr-devel - contains the headers, Provides and Obsoletes the
OpenEXR-devel symbol
* openexr-doc - documentation
- add baselibs.conf as a source
- fixed bnc#527539: VUL-0: OpenEXR: [ MDVSA-2009:190 ] OpenEXR
used patches from Mandriva
* CVE-2009-1720
* CVE-2009-1721
- save 6.7MB by removing static libraries and "la" files
- use Obsoletes: -XXbit only for ppc64 to help solver during distupgrade
(bnc#437293)
- obsolete old -XXbit packages (bnc#437293)
- added baselibs.conf file to build xxbit packages
for multilib support
- update to 1.6.1
- fix buid, add docu subpackage with documentation and examples
- fix linking of new IlmThread lib versus libpthread
- update to 1.4.6
- fix build, fix packaging examples and doc
- added missing Requires
- fixed RPM_OPT_FLAGS
- fix shared lib dependencies
- fix installed headers
- converted neededforbuild to BuildRequires
- make use of mesa-devel-packages macro in neededforbuild
- don't build as root
- update to version 1.2.2
- Fix missing declaration.
- try to fix docu installation
- initial package of version 1.2.1
OBS-URL: https://build.opensuse.org/request/show/773200
OBS-URL: https://build.opensuse.org/package/show/graphics/openexr?expand=0&rev=45
2020-02-11 09:47:13 +01:00
|
|
|
Patch1: 0001-Use-absolute-CMAKE_INSTALL_FULL_LIBDIR-for-libdir-in.patch
|
2019-09-26 10:30:24 +02:00
|
|
|
BuildRequires: cmake
|
2010-08-09 11:58:48 +02:00
|
|
|
BuildRequires: fltk-devel
|
|
|
|
BuildRequires: freeglut-devel
|
|
|
|
BuildRequires: gcc-c++
|
2017-07-13 00:48:08 +02:00
|
|
|
BuildRequires: pkgconfig
|
2020-09-30 09:09:01 +02:00
|
|
|
BuildRequires: pkgconfig(IlmBase) == %{version}
|
2013-11-28 07:38:20 +01:00
|
|
|
BuildRequires: pkgconfig(zlib)
|
2019-08-21 17:02:56 +02:00
|
|
|
Obsoletes: OpenEXR <= 1.6.1
|
|
|
|
Provides: OpenEXR = %{version}
|
2018-11-06 15:50:35 +01:00
|
|
|
%if %{asan_build} || %{debug_build}
|
|
|
|
BuildRequires: ilmbase-debugsource
|
2019-09-26 10:30:24 +02:00
|
|
|
BuildRequires: libHalf%{so_suffix}-%{sonum}-debuginfo
|
|
|
|
BuildRequires: libIex%{so_suffix}-%{sonum}-debuginfo
|
|
|
|
BuildRequires: libIexMath%{so_suffix}-%{sonum}-debuginfo
|
|
|
|
BuildRequires: libIlmThread%{so_suffix}-%{sonum}-debuginfo
|
|
|
|
BuildRequires: libImath%{so_suffix}-%{sonum}-debuginfo
|
2018-11-06 15:50:35 +01:00
|
|
|
%endif
|
2010-08-09 11:58:48 +02:00
|
|
|
|
|
|
|
%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
|
|
|
|
|
2019-09-26 10:30:24 +02:00
|
|
|
%package -n libIlmImf%{so_suffix}-%{sonum}
|
2010-08-09 11:58:48 +02:00
|
|
|
Summary: Library to Handle EXR Pictures in 16-Bit Floating-Point Format
|
2018-11-05 16:47:17 +01:00
|
|
|
Group: System/Libraries
|
2010-08-09 11:58:48 +02:00
|
|
|
|
2019-09-26 10:30:24 +02:00
|
|
|
%description -n libIlmImf%{so_suffix}-%{sonum}
|
2010-08-09 11:58:48 +02:00
|
|
|
OpenEXR is a high dynamic-range (HDR) image file format developed by
|
|
|
|
Industrial Light & Magic for use in computer imaging applications.
|
|
|
|
|
2013-04-20 22:07:36 +02:00
|
|
|
This package contains shared library libIlmImf
|
2010-08-09 11:58:48 +02:00
|
|
|
|
2019-09-26 10:30:24 +02:00
|
|
|
%package -n libIlmImfUtil%{so_suffix}-%{sonum}
|
2015-01-29 15:34:51 +01:00
|
|
|
Summary: Library to simplify development of OpenEXR utilities
|
2018-11-05 16:47:17 +01:00
|
|
|
Group: System/Libraries
|
2015-01-29 15:34:51 +01:00
|
|
|
|
2019-09-26 10:30:24 +02:00
|
|
|
%description -n libIlmImfUtil%{so_suffix}-%{sonum}
|
2015-01-29 15:34:51 +01:00
|
|
|
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 libIlmImfUtil
|
|
|
|
|
2012-08-08 10:56:55 +02:00
|
|
|
%package devel
|
2018-11-05 16:47:17 +01:00
|
|
|
Summary: Development files for the 16-bit FP EXR picture handling library
|
2012-05-03 10:59:07 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2019-10-07 10:16:27 +02:00
|
|
|
Requires: ilmbase-devel >= 2.3.0
|
2019-09-26 10:30:24 +02:00
|
|
|
Requires: libIlmImf%{so_suffix}-%{sonum} = %{version}
|
|
|
|
Requires: libIlmImfUtil%{so_suffix}-%{sonum} = %{version}
|
2017-07-13 00:48:08 +02:00
|
|
|
Requires: pkgconfig
|
|
|
|
Requires: pkgconfig(zlib)
|
2010-08-09 11:58:48 +02:00
|
|
|
Obsoletes: OpenEXR-devel <= 1.6.1
|
|
|
|
Provides: OpenEXR-devel = %{version}
|
2012-08-08 10:56:55 +02:00
|
|
|
Obsoletes: libopenexr-devel <= 1.7.0
|
|
|
|
Provides: libopenexr-devel = %{version}
|
2010-08-09 11:58:48 +02:00
|
|
|
|
2012-08-08 10:56:55 +02:00
|
|
|
%description devel
|
2010-08-09 11:58:48 +02:00
|
|
|
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
|
2020-07-06 10:04:05 +02:00
|
|
|
Summary: Documentation for the 16-bit FP EXR picture handling library
|
2019-09-26 10:30:24 +02:00
|
|
|
Group: Documentation/Other
|
2010-08-09 11:58:48 +02:00
|
|
|
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.
|
|
|
|
|
2018-11-05 16:47:17 +01:00
|
|
|
This package contains documentation.
|
2010-08-09 11:58:48 +02:00
|
|
|
|
|
|
|
%prep
|
2019-11-14 20:45:07 +01:00
|
|
|
%setup -q
|
Accepting request 773200 from home:StefanBruens:branches:devel:tools:building
- Fix relative paths in generated pkgconfig files:
0001-Use-absolute-CMAKE_INSTALL_FULL_LIBDIR-for-libdir-in.patch
- Fix build with older cmake package (Leap 15.0 up to 15.2), the
included ctest macro does not accept extra parameters.
- Add Fix-the-symlinks-creation.patch to fix the symlinks creation.
- fix OpenEXR.pc
- increase timeout for IlmImf test
- version update to 2.4.0
* Completely re-written CMake configuration files
* Improved support for building on Windows, via CMake
* Improved support for building on macOS, via CMake
* All code compiles without warnings on gcc, clang, msvc
* Cleanup of license and copyright notices
* floating-point exception handling is disabled by default
* New Slice::Make method to reliably compute base pointer for a slice.
* Miscellaneous bug fixes
* CVE-2018-18444 Issue #351 Out of Memory
* CVE-2018-18443 Issue #350 heap-buffer-overflow
- upstream does not provide gpg signature anymore
https://github.com/openexr/openexr/issues/565
- modified sources
% baselibs.conf
- deleted patches
- openexr-CVE-2017-14988.patch (upstreamed)
- openexr-CVE-2017-9111,9113,9115.patch (upstreamed)
- openexr-CVE-2018-18444.patch (upstreamed)
- deleted sources
- openexr-2.3.0.tar.gz.sig (not needed)
- openexr.keyring (not needed)
- testsuite only for x86_64 [bsc#1146648]
- Enable tests on architectures with enough memory - boo#1146648
* disable imffuzztest as it takes to much resources
- security update
- added patches
CVE-2017-14988 [bsc#1061305]
+ openexr-CVE-2017-14988.patch
- security update
- added patches
CVE-2017-9111 [bsc#1040109], CVE-2017-9113 [bsc#1040113], CVE-2017-9115 [bsc#1040115]
+ openexr-CVE-2017-9111,9113,9115.patch
- Codify new ilmbase requirements.
- security update
* CVE-2018-18444 [bsc#1113455]
+ openexr-CVE-2018-18444.patch
- asan_build: build ASAN included
- debug_build: build more suitable for debugging
- Remove useless --with-pic.
- Adjust RPM groups and repair sentence structure.
- updated to 2.3.0
* ThreadPool overhead improvements, enable custom thread pool
to be registered via ThreadPoolProvider class
* Fixes to enable custom namespaces for Iex, Imf
* Improve read performance for deep/zipped data, and
SIMD-accelerated uncompress support
* Added rawPixelDataToBuffer() function for access to
compressed scanlines
* Iex::BaseExc no longer derived from std::string.
* Imath throw() specifiers removed
* Initial Support for Python 3
* removed patch
- Update to 2.2.1
* Fix reported OpenEXR security vulnerabilities: CVE-2017-9110,
CVE-2017-9111, CVE-2017-9112, CVE-2017-9113, CVE-2017-9114,
CVE-2017-9115 and CVE-2017-9116
- pgajdos@suse.com: but really seem to fix only:
CVE-2017-9110 [bsc#1040107], CVE-2017-9114 [bsc#1040114],
CVE-2017-9116 [bsc#1040116], CVE-2017-12596 [bsc#1052522]; for
the rest of issues see [bsc#1040109], [bsc#1040112],
[bsc#1040113], [bsc#1040114], [bsc#1040115], and [bsc#1061305]
- Cleanup a bit with spec-cleaner
- Update to 2.2.0
* DreamWorks Lossy Compression A new high quality, high performance lossy
compression codec contributed by DreamWorks Animation. This codec allows
control over variable lossiness to balance visual quality and file size.
This contribution also includes performance improvements that speed up
the PIZ codec.
* IlmImfUtil A new library intended to aid in development of image file
manipulation utilities that support the many types of OpenEXR images.
* This release also includes improvements to cross-platform build support
using CMake.
- Bumped the soname, and now we have libIlmImf and libIlmImfUtil
- Removed openexr-2.1.0-headers.patch
- Updated openexr.keyring from the savannah project page.
- Add obsoletes to baselibs.conf.
- remove dependency on gpg-offline (blocks rebuilds and
tarball integrity is checked by source-validator anyway)
- add openexr-2.1.0-headers.patch to install
ImfDeepImageStateAttribute.h header too
- update to 2.1.0
This release includes a refactoring of the optimised read paths for RGBA
data, optimisations for some of the python bindings to Imath, improvements to
the cmake build environment as well as additional documentation describing
deep data in more detail.
- make tests conditional, enable fuzz test and huge test
- update to 2.0.1
This is a maintenance push that predominantly addresses edge case
failures in the optimisation code paths by temporarily disabling the
feature. For more details, please refer to the
/usr/share/doc/packages/openexr/ChangeLog
- add gpg-offline based verification
- fix library deps
- update to 2.0.0
* Deep Data support - Pixels can now store a variable-length list of samples.
The main rationale behind deep images is to enable the storage of multiple
values at different depths for each pixel. OpenEXR 2.0 supports both
hard-surface and volumetric representations for Deep Compositing workflows.
* Multi-part Image Files - With OpenEXR 2.0, files can now contain a number
of separate, but related, data parts in one file. Access to any part is
independent of the others, pixels from parts that are not required in the
current operation don't need to be accessed, resulting in quicker read
times when accessing only a subset of channels. The multipart interface
also incorporates support for Stereo images where views are stored in
separate parts. This makes stereo OpenEXR 2.0 files significantly faster to
work with than the previous multiview support in OpenEXR.
* Optimized pixel reading - decoding RGB(A) scanline images has been
accelerated on SSE processors providing a significant speedup when reading
both old and new format images, including multipart and multiview files.
* Namespacing - The library introduces versioned namespaces to avoid
conflicts between packages compiled with different versions of the library.
- obsoleted
openexr-suse-docdir.patch (moved in install phase)
openexr-disable-tests.patch
- license update: BSD-3-Clause
No GPL licensed files found in the package
- Update baselibs.conf
- Update to 1.7.1
* Updated the .so verison to 7.
* obsoletes openexr-includes.patch
- require new ilmbase-devel for build
- rename libopenexr-devel to openexr devel to be compatible
with renamed ilmbase package
- disable the test at all, as running them in OBS seems not to be
reliable
- Remove redundant tags/sections per specfile guideline suggestions
- openexr-disable-tests.patch - disable broken tests prevents a build
in Factory
- remove explicit libdrm buildrequires
- Use %_smp_mflags for parallel build
- Update to 1.7.0 - bugfix release, multiviewer support
* obsoletes CVE-2009-1720 support
* built with --enable-larget-stack and test
- Renammed to be more comfortable with Shared Library policy
* openexr - main (source package) contains tools in bindir, it provides and
obsoletes the old OpenEXR symbol
* libIlmImf6 - contains the openexr library
* libopenexr-devel - contains the headers, Provides and Obsoletes the
OpenEXR-devel symbol
* openexr-doc - documentation
- add baselibs.conf as a source
- fixed bnc#527539: VUL-0: OpenEXR: [ MDVSA-2009:190 ] OpenEXR
used patches from Mandriva
* CVE-2009-1720
* CVE-2009-1721
- save 6.7MB by removing static libraries and "la" files
- use Obsoletes: -XXbit only for ppc64 to help solver during distupgrade
(bnc#437293)
- obsolete old -XXbit packages (bnc#437293)
- added baselibs.conf file to build xxbit packages
for multilib support
- update to 1.6.1
- fix buid, add docu subpackage with documentation and examples
- fix linking of new IlmThread lib versus libpthread
- update to 1.4.6
- fix build, fix packaging examples and doc
- added missing Requires
- fixed RPM_OPT_FLAGS
- fix shared lib dependencies
- fix installed headers
- converted neededforbuild to BuildRequires
- make use of mesa-devel-packages macro in neededforbuild
- don't build as root
- update to version 1.2.2
- Fix missing declaration.
- try to fix docu installation
- initial package of version 1.2.1
OBS-URL: https://build.opensuse.org/request/show/773200
OBS-URL: https://build.opensuse.org/package/show/graphics/openexr?expand=0&rev=45
2020-02-11 09:47:13 +01:00
|
|
|
%patch1 -p1
|
2012-08-08 10:56:55 +02:00
|
|
|
|
2010-08-09 11:58:48 +02:00
|
|
|
%build
|
2019-11-14 20:45:07 +01:00
|
|
|
pushd OpenEXR
|
2010-08-09 11:58:48 +02:00
|
|
|
export PTHREAD_LIBS="-lpthread"
|
2018-11-06 10:41:12 +01:00
|
|
|
%if %{debug_build}
|
|
|
|
export CXXFLAGS="%{optflags} -O0"
|
|
|
|
%endif
|
2019-09-26 10:30:24 +02:00
|
|
|
%cmake \
|
Accepting request 773200 from home:StefanBruens:branches:devel:tools:building
- Fix relative paths in generated pkgconfig files:
0001-Use-absolute-CMAKE_INSTALL_FULL_LIBDIR-for-libdir-in.patch
- Fix build with older cmake package (Leap 15.0 up to 15.2), the
included ctest macro does not accept extra parameters.
- Add Fix-the-symlinks-creation.patch to fix the symlinks creation.
- fix OpenEXR.pc
- increase timeout for IlmImf test
- version update to 2.4.0
* Completely re-written CMake configuration files
* Improved support for building on Windows, via CMake
* Improved support for building on macOS, via CMake
* All code compiles without warnings on gcc, clang, msvc
* Cleanup of license and copyright notices
* floating-point exception handling is disabled by default
* New Slice::Make method to reliably compute base pointer for a slice.
* Miscellaneous bug fixes
* CVE-2018-18444 Issue #351 Out of Memory
* CVE-2018-18443 Issue #350 heap-buffer-overflow
- upstream does not provide gpg signature anymore
https://github.com/openexr/openexr/issues/565
- modified sources
% baselibs.conf
- deleted patches
- openexr-CVE-2017-14988.patch (upstreamed)
- openexr-CVE-2017-9111,9113,9115.patch (upstreamed)
- openexr-CVE-2018-18444.patch (upstreamed)
- deleted sources
- openexr-2.3.0.tar.gz.sig (not needed)
- openexr.keyring (not needed)
- testsuite only for x86_64 [bsc#1146648]
- Enable tests on architectures with enough memory - boo#1146648
* disable imffuzztest as it takes to much resources
- security update
- added patches
CVE-2017-14988 [bsc#1061305]
+ openexr-CVE-2017-14988.patch
- security update
- added patches
CVE-2017-9111 [bsc#1040109], CVE-2017-9113 [bsc#1040113], CVE-2017-9115 [bsc#1040115]
+ openexr-CVE-2017-9111,9113,9115.patch
- Codify new ilmbase requirements.
- security update
* CVE-2018-18444 [bsc#1113455]
+ openexr-CVE-2018-18444.patch
- asan_build: build ASAN included
- debug_build: build more suitable for debugging
- Remove useless --with-pic.
- Adjust RPM groups and repair sentence structure.
- updated to 2.3.0
* ThreadPool overhead improvements, enable custom thread pool
to be registered via ThreadPoolProvider class
* Fixes to enable custom namespaces for Iex, Imf
* Improve read performance for deep/zipped data, and
SIMD-accelerated uncompress support
* Added rawPixelDataToBuffer() function for access to
compressed scanlines
* Iex::BaseExc no longer derived from std::string.
* Imath throw() specifiers removed
* Initial Support for Python 3
* removed patch
- Update to 2.2.1
* Fix reported OpenEXR security vulnerabilities: CVE-2017-9110,
CVE-2017-9111, CVE-2017-9112, CVE-2017-9113, CVE-2017-9114,
CVE-2017-9115 and CVE-2017-9116
- pgajdos@suse.com: but really seem to fix only:
CVE-2017-9110 [bsc#1040107], CVE-2017-9114 [bsc#1040114],
CVE-2017-9116 [bsc#1040116], CVE-2017-12596 [bsc#1052522]; for
the rest of issues see [bsc#1040109], [bsc#1040112],
[bsc#1040113], [bsc#1040114], [bsc#1040115], and [bsc#1061305]
- Cleanup a bit with spec-cleaner
- Update to 2.2.0
* DreamWorks Lossy Compression A new high quality, high performance lossy
compression codec contributed by DreamWorks Animation. This codec allows
control over variable lossiness to balance visual quality and file size.
This contribution also includes performance improvements that speed up
the PIZ codec.
* IlmImfUtil A new library intended to aid in development of image file
manipulation utilities that support the many types of OpenEXR images.
* This release also includes improvements to cross-platform build support
using CMake.
- Bumped the soname, and now we have libIlmImf and libIlmImfUtil
- Removed openexr-2.1.0-headers.patch
- Updated openexr.keyring from the savannah project page.
- Add obsoletes to baselibs.conf.
- remove dependency on gpg-offline (blocks rebuilds and
tarball integrity is checked by source-validator anyway)
- add openexr-2.1.0-headers.patch to install
ImfDeepImageStateAttribute.h header too
- update to 2.1.0
This release includes a refactoring of the optimised read paths for RGBA
data, optimisations for some of the python bindings to Imath, improvements to
the cmake build environment as well as additional documentation describing
deep data in more detail.
- make tests conditional, enable fuzz test and huge test
- update to 2.0.1
This is a maintenance push that predominantly addresses edge case
failures in the optimisation code paths by temporarily disabling the
feature. For more details, please refer to the
/usr/share/doc/packages/openexr/ChangeLog
- add gpg-offline based verification
- fix library deps
- update to 2.0.0
* Deep Data support - Pixels can now store a variable-length list of samples.
The main rationale behind deep images is to enable the storage of multiple
values at different depths for each pixel. OpenEXR 2.0 supports both
hard-surface and volumetric representations for Deep Compositing workflows.
* Multi-part Image Files - With OpenEXR 2.0, files can now contain a number
of separate, but related, data parts in one file. Access to any part is
independent of the others, pixels from parts that are not required in the
current operation don't need to be accessed, resulting in quicker read
times when accessing only a subset of channels. The multipart interface
also incorporates support for Stereo images where views are stored in
separate parts. This makes stereo OpenEXR 2.0 files significantly faster to
work with than the previous multiview support in OpenEXR.
* Optimized pixel reading - decoding RGB(A) scanline images has been
accelerated on SSE processors providing a significant speedup when reading
both old and new format images, including multipart and multiview files.
* Namespacing - The library introduces versioned namespaces to avoid
conflicts between packages compiled with different versions of the library.
- obsoleted
openexr-suse-docdir.patch (moved in install phase)
openexr-disable-tests.patch
- license update: BSD-3-Clause
No GPL licensed files found in the package
- Update baselibs.conf
- Update to 1.7.1
* Updated the .so verison to 7.
* obsoletes openexr-includes.patch
- require new ilmbase-devel for build
- rename libopenexr-devel to openexr devel to be compatible
with renamed ilmbase package
- disable the test at all, as running them in OBS seems not to be
reliable
- Remove redundant tags/sections per specfile guideline suggestions
- openexr-disable-tests.patch - disable broken tests prevents a build
in Factory
- remove explicit libdrm buildrequires
- Use %_smp_mflags for parallel build
- Update to 1.7.0 - bugfix release, multiviewer support
* obsoletes CVE-2009-1720 support
* built with --enable-larget-stack and test
- Renammed to be more comfortable with Shared Library policy
* openexr - main (source package) contains tools in bindir, it provides and
obsoletes the old OpenEXR symbol
* libIlmImf6 - contains the openexr library
* libopenexr-devel - contains the headers, Provides and Obsoletes the
OpenEXR-devel symbol
* openexr-doc - documentation
- add baselibs.conf as a source
- fixed bnc#527539: VUL-0: OpenEXR: [ MDVSA-2009:190 ] OpenEXR
used patches from Mandriva
* CVE-2009-1720
* CVE-2009-1721
- save 6.7MB by removing static libraries and "la" files
- use Obsoletes: -XXbit only for ppc64 to help solver during distupgrade
(bnc#437293)
- obsolete old -XXbit packages (bnc#437293)
- added baselibs.conf file to build xxbit packages
for multilib support
- update to 1.6.1
- fix buid, add docu subpackage with documentation and examples
- fix linking of new IlmThread lib versus libpthread
- update to 1.4.6
- fix build, fix packaging examples and doc
- added missing Requires
- fixed RPM_OPT_FLAGS
- fix shared lib dependencies
- fix installed headers
- converted neededforbuild to BuildRequires
- make use of mesa-devel-packages macro in neededforbuild
- don't build as root
- update to version 1.2.2
- Fix missing declaration.
- try to fix docu installation
- initial package of version 1.2.1
OBS-URL: https://build.opensuse.org/request/show/773200
OBS-URL: https://build.opensuse.org/package/show/graphics/openexr?expand=0&rev=45
2020-02-11 09:47:13 +01:00
|
|
|
-DCMAKE_INSTALL_DOCDIR="%{_docdir}/%{name}"
|
2018-11-06 10:41:12 +01:00
|
|
|
%if %{asan_build}
|
2018-11-06 13:36:12 +01:00
|
|
|
vmemlimit=$(ulimit -v)
|
|
|
|
if [ $vmemlimit != unlimited ]; then
|
|
|
|
echo "ulimit -v has to be unlimited (currently $vmemlimit) to run ASAN build"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
for i in $(find -name Makefile); do
|
2018-11-06 10:41:12 +01:00
|
|
|
sed -i -e 's/\(^CXXFLAGS.*\)/\1 -fsanitize=address/' \
|
|
|
|
-e 's/\(^LIBS =.*\)/\1 -lasan/' \
|
|
|
|
$i
|
|
|
|
done
|
|
|
|
%endif
|
2020-07-06 10:04:05 +02:00
|
|
|
%cmake_build
|
2019-11-14 20:45:07 +01:00
|
|
|
popd
|
2010-08-09 11:58:48 +02:00
|
|
|
|
|
|
|
%install
|
2019-11-14 20:45:07 +01:00
|
|
|
pushd OpenEXR
|
2019-09-26 10:30:24 +02:00
|
|
|
%cmake_install
|
2019-11-14 20:45:07 +01:00
|
|
|
popd
|
2010-08-09 11:58:48 +02:00
|
|
|
|
|
|
|
%check
|
2020-09-15 19:50:57 +02:00
|
|
|
%ifnarch i586 ppc ppc64 s390 s390x
|
2019-11-14 20:45:07 +01:00
|
|
|
pushd OpenEXR
|
2020-07-06 10:04:05 +02:00
|
|
|
export LD_LIBRARY_PATH="%{buildroot}/%{_libdir}"
|
2019-11-25 09:43:39 +01:00
|
|
|
# tests can take longer than the default timeout of 25 minutes
|
|
|
|
%if 0%{?suse_version} < 1550
|
|
|
|
# HACK - older versions of the ctest macro do not allow passing additional parameters
|
|
|
|
%global __ctest %{__ctest} --timeout 3600
|
|
|
|
%ctest
|
|
|
|
%else
|
|
|
|
%ctest --timeout 3600
|
|
|
|
%endif
|
2019-11-14 20:45:07 +01:00
|
|
|
popd
|
2019-10-07 16:52:03 +02:00
|
|
|
%endif
|
2019-09-26 10:30:24 +02:00
|
|
|
|
|
|
|
%post -n libIlmImf%{so_suffix}-%{sonum} -p /sbin/ldconfig
|
|
|
|
%postun -n libIlmImf%{so_suffix}-%{sonum} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%post -n libIlmImfUtil%{so_suffix}-%{sonum} -p /sbin/ldconfig
|
|
|
|
%postun -n libIlmImfUtil%{so_suffix}-%{sonum} -p /sbin/ldconfig
|
2010-08-09 11:58:48 +02:00
|
|
|
|
|
|
|
%files
|
2019-11-14 20:45:07 +01:00
|
|
|
%license LICENSE.md
|
|
|
|
%doc CHANGES.md CODE_OF_CONDUCT.md CODEOWNERS CONTRIBUTING.md CONTRIBUTORS.md README.md SECURITY.md
|
2010-08-09 11:58:48 +02:00
|
|
|
%{_bindir}/exrenvmap
|
|
|
|
%{_bindir}/exrheader
|
|
|
|
%{_bindir}/exrmakepreview
|
|
|
|
%{_bindir}/exrmaketiled
|
|
|
|
%{_bindir}/exrstdattr
|
|
|
|
%{_bindir}/exrmultiview
|
2013-04-20 22:07:36 +02:00
|
|
|
%{_bindir}/exrmultipart
|
2019-09-26 10:30:24 +02:00
|
|
|
%{_bindir}/exr2aces
|
2010-08-09 11:58:48 +02:00
|
|
|
|
2012-08-08 10:56:55 +02:00
|
|
|
%files devel
|
2010-08-09 11:58:48 +02:00
|
|
|
%{_includedir}/OpenEXR
|
2019-11-14 20:45:07 +01:00
|
|
|
%{_libdir}/libIlmImf.so
|
2019-09-26 10:30:24 +02:00
|
|
|
%{_libdir}/libIlmImf%{so_suffix}.so
|
2019-11-14 20:45:07 +01:00
|
|
|
%{_libdir}/libIlmImfUtil.so
|
2019-09-26 10:30:24 +02:00
|
|
|
%{_libdir}/libIlmImfUtil%{so_suffix}.so
|
2010-08-09 11:58:48 +02:00
|
|
|
%{_libdir}/pkgconfig/OpenEXR.pc
|
2019-09-26 10:30:24 +02:00
|
|
|
%dir %{_libdir}/cmake/OpenEXR
|
|
|
|
%{_libdir}/cmake/OpenEXR/*.cmake
|
2010-08-09 11:58:48 +02:00
|
|
|
|
|
|
|
%files doc
|
2018-11-05 13:02:16 +01:00
|
|
|
%{_docdir}/%{name}
|
2019-09-26 10:30:24 +02:00
|
|
|
%exclude %{_docdir}/%{name}/{CHANGES.md,CODE_OF_CONDUCT.md,CODEOWNERS,CONTRIBUTING.md,CONTRIBUTORS.md,README.md,SECURITY.md}
|
|
|
|
|
|
|
|
%files -n libIlmImf%{so_suffix}-%{sonum}
|
2019-11-14 20:45:07 +01:00
|
|
|
%license LICENSE.md
|
2019-09-26 10:30:24 +02:00
|
|
|
%{_libdir}/libIlmImf-*.so.*
|
|
|
|
|
|
|
|
%files -n libIlmImfUtil%{so_suffix}-%{sonum}
|
2019-11-14 20:45:07 +01:00
|
|
|
%license LICENSE.md
|
2019-09-26 10:30:24 +02:00
|
|
|
%{_libdir}/libIlmImfUtil-*.so.*
|
2010-08-09 11:58:48 +02:00
|
|
|
|
|
|
|
%changelog
|