2020-12-14 22:51:55 +00:00
|
|
|
%{?!python3_pkgversion:%global python3_pkgversion 3}
|
2021-08-20 21:20:20 +00:00
|
|
|
%global sover 30
|
2020-12-14 22:51:55 +00:00
|
|
|
|
|
|
|
Name: openexr
|
2023-08-04 12:39:59 +00:00
|
|
|
Version: 3.1.10
|
2024-06-26 12:46:38 +00:00
|
|
|
Release: 7%{?dist}
|
2020-12-14 22:51:55 +00:00
|
|
|
Summary: Provides the specification and reference implementation of the EXR file format
|
|
|
|
|
2023-07-18 07:44:59 +00:00
|
|
|
License: BSD-3-Clause
|
2020-12-14 22:51:55 +00:00
|
|
|
URL: https://www.openexr.com/
|
|
|
|
Source0: https://github.com/AcademySoftwareFoundation/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
|
|
|
2023-01-24 03:44:54 +00:00
|
|
|
Patch0: openexr-cstdint.patch
|
2023-08-04 19:30:56 +00:00
|
|
|
# https://github.com/AcademySoftwareFoundation/openexr/pull/1507
|
|
|
|
Patch1: march-x86-64-v3.patch
|
2024-02-04 21:05:03 +00:00
|
|
|
# Fix incompatible pointer types with GCC 14 on i686
|
|
|
|
Patch2: gcc14.patch
|
2024-02-05 21:38:00 +00:00
|
|
|
# Fix CVE 2023 5841
|
|
|
|
# https://github.com/AcademySoftwareFoundation/openexr/pull/1627
|
|
|
|
# Backported to 3.1.10
|
|
|
|
Patch3: openexr-3.1.10-CVE-2023-5841.patch
|
2023-01-24 03:44:54 +00:00
|
|
|
|
2020-12-14 22:51:55 +00:00
|
|
|
BuildRequires: cmake gcc gcc-c++
|
|
|
|
BuildRequires: boost-devel
|
2021-07-20 11:55:40 +00:00
|
|
|
BuildRequires: imath-devel
|
2020-12-14 22:51:55 +00:00
|
|
|
BuildRequires: python%{python3_pkgversion}-devel
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
|
2021-01-18 02:53:33 +00:00
|
|
|
Obsoletes: OpenEXR < 2.5.3
|
|
|
|
Provides: OpenEXR = %{version}-%{release}
|
|
|
|
|
2020-12-14 22:51:55 +00:00
|
|
|
%description
|
|
|
|
OpenEXR is an open-source high-dynamic-range floating-point image file format
|
|
|
|
for high-quality image processing and storage. This document presents a brief
|
|
|
|
overview of OpenEXR and explains concepts that are specific to this format.
|
|
|
|
|
|
|
|
This package containes the binaries for OpenEXR.
|
|
|
|
|
|
|
|
|
|
|
|
%package libs
|
|
|
|
Summary: OpenEXR Libraries
|
2021-01-18 02:53:33 +00:00
|
|
|
Provides: OpenEXR-libs = %{version}-%{release}
|
|
|
|
Obsoletes: OpenEXR-libs < 2.5.3
|
2020-12-14 22:51:55 +00:00
|
|
|
|
|
|
|
%description libs
|
|
|
|
OpenEXR is an open-source high-dynamic-range floating-point image file format
|
|
|
|
for high-quality image processing and storage. This document presents a brief
|
|
|
|
overview of OpenEXR and explains concepts that are specific to this format.
|
|
|
|
|
|
|
|
OpenEXR Features:
|
|
|
|
|
|
|
|
* High dynamic range and color precision. Support for 16-bit floating-point,
|
|
|
|
* 32-bit floating-point, and 32-bit integer pixels.
|
|
|
|
* Multiple image compression algorithms, both lossless and lossy. Some of
|
|
|
|
the included codecs can achieve 2:1 lossless compression ratios on images
|
|
|
|
with film grain. The lossy codecs have been tuned for visual quality and
|
|
|
|
decoding performance.
|
|
|
|
* Extensibility. New compression codecs and image types can easily be added
|
|
|
|
by extending the C++ classes included in the OpenEXR software distribution.
|
|
|
|
New image attributes (strings, vectors, integers, etc.) can be added to
|
|
|
|
OpenEXR image headers without affecting backward compatibility with existing
|
|
|
|
OpenEXR applications.
|
|
|
|
* Support for stereoscopic image workflows and a generalization
|
|
|
|
to multi-views.
|
|
|
|
* Flexible support for deep data: pixels can store a variable-length list
|
|
|
|
of samples and, thus, it is possible to store multiple values at different
|
|
|
|
depths for each pixel. Hard surfaces and volumetric data representations are
|
|
|
|
accommodated.
|
|
|
|
* Multipart: ability to encode separate, but related, images in one file.
|
|
|
|
This allows for access to individual parts without the need to read other
|
|
|
|
parts in the file.
|
|
|
|
* Versioning: OpenEXR source allows for user configurable C++
|
|
|
|
namespaces to provide protection when using multiple versions of the library
|
|
|
|
in the same process space.
|
|
|
|
|
|
|
|
The IlmBase Library:
|
|
|
|
|
|
|
|
Also a part of OpenEXR, the IlmBase library is a basic, light-weight, and
|
|
|
|
efficient representation of 2D and 3D vectors and matrices and other simple but
|
|
|
|
useful mathematical objects, functions, and data types common in computer
|
|
|
|
graphics applications, including the “half” 16-bit floating-point type.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
Provides: OpenEXR-devel = %{version}-%{release}
|
|
|
|
Provides: OpenEXR-devel%{?_isa} = %{version}-%{release}
|
|
|
|
Obsoletes: OpenEXR-devel < 2.5.3
|
|
|
|
|
|
|
|
Provides: ilmbase-devel = %{version}-%{release}
|
|
|
|
Provides: ilmbase-devel%{?_isa} = %{version}-%{release}
|
|
|
|
Obsoletes: ilmbase-devel < 2.5.3
|
|
|
|
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake
|
|
|
|
%cmake_build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%cmake_install
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
2023-07-11 00:00:08 +00:00
|
|
|
# Some tests fail on particular architectures
|
2023-08-04 19:30:56 +00:00
|
|
|
%ifarch aarch64
|
2023-07-11 00:00:08 +00:00
|
|
|
# https://github.com/AcademySoftwareFoundation/openexr/issues/1460
|
|
|
|
EXCLUDE_REGEX='DWA[AB]Compression'
|
|
|
|
%endif
|
|
|
|
%ifarch s390x
|
2021-10-06 02:57:30 +00:00
|
|
|
# https://github.com/AcademySoftwareFoundation/openexr/issues/1175
|
2023-07-11 00:00:08 +00:00
|
|
|
EXCLUDE_REGEX='ReadDeep|DWA[AB]Compression|testCompression|Rgba|SampleImages|SharedFrameBuffer'
|
2020-12-14 22:51:55 +00:00
|
|
|
%endif
|
2023-07-11 00:00:08 +00:00
|
|
|
%ctest --exclude-regex "$EXCLUDE_REGEX"
|
2020-12-14 22:51:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files
|
2023-02-23 14:04:20 +00:00
|
|
|
%{_bindir}/exr2aces
|
|
|
|
%{_bindir}/exrenvmap
|
|
|
|
%{_bindir}/exrheader
|
|
|
|
%{_bindir}/exrinfo
|
|
|
|
%{_bindir}/exrmakepreview
|
|
|
|
%{_bindir}/exrmaketiled
|
|
|
|
%{_bindir}/exrmultipart
|
|
|
|
%{_bindir}/exrmultiview
|
|
|
|
%{_bindir}/exrstdattr
|
2020-12-14 22:51:55 +00:00
|
|
|
|
|
|
|
%files libs
|
|
|
|
%doc CHANGES.md CONTRIBUTING.md GOVERNANCE.md SECURITY.md CODE_OF_CONDUCT.md CONTRIBUTORS.md README.md
|
|
|
|
%license LICENSE.md
|
2023-02-23 14:04:20 +00:00
|
|
|
%{_libdir}/libIex-3_1.so.%{sover}{,.*}
|
|
|
|
%{_libdir}/libIlmThread-3_1.so.%{sover}{,.*}
|
|
|
|
%{_libdir}/libOpenEXR-3_1.so.%{sover}{,.*}
|
|
|
|
%{_libdir}/libOpenEXRCore-3_1.so.%{sover}{,.*}
|
|
|
|
%{_libdir}/libOpenEXRUtil-3_1.so.%{sover}{,.*}
|
2020-12-14 22:51:55 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_docdir}/OpenEXR/
|
|
|
|
%{_includedir}/OpenEXR/
|
2023-02-23 14:04:20 +00:00
|
|
|
%{_libdir}/libIex{,-3_1}.so
|
|
|
|
%{_libdir}/libIlmThread{,-3_1}.so
|
|
|
|
%{_libdir}/libOpenEXR{,-3_1}.so
|
|
|
|
%{_libdir}/libOpenEXRCore{,-3_1}.so
|
|
|
|
%{_libdir}/libOpenEXRUtil{,-3_1}.so
|
2020-12-14 22:51:55 +00:00
|
|
|
%{_libdir}/cmake/OpenEXR/
|
|
|
|
%{_libdir}/pkgconfig/OpenEXR.pc
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2024-06-26 12:46:38 +00:00
|
|
|
* Wed Jun 26 2024 Josef Ridky <jridky@redhat.com> - 3.1.10-7
|
|
|
|
- Add gating.yaml file
|
|
|
|
|
2024-06-24 16:05:48 +00:00
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 3.1.10-6
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
2024-02-05 21:38:00 +00:00
|
|
|
* Mon Feb 05 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 3.1.10-5
|
|
|
|
- Backport proposed fix for CVE-2023-5841 to 3.1.10 (fix RHBZ#2262406)
|
|
|
|
|
2024-01-25 11:17:18 +00:00
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.10-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2024-01-21 11:12:08 +00:00
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.10-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2023-08-04 19:30:56 +00:00
|
|
|
* Fri Aug 04 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 3.1.10-2
|
|
|
|
- Fix build for x86-64-v3
|
|
|
|
- Run all tests on i686, ppc64le, x86_64
|
|
|
|
|
2023-08-04 12:39:59 +00:00
|
|
|
* Fri Aug 04 2023 Richard Shaw <hobbes1069@gmail.com> - 3.1.10-1
|
|
|
|
- Update to 3.1.10.
|
|
|
|
|
2023-07-20 18:03:10 +00:00
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.9-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-07-18 07:44:59 +00:00
|
|
|
* Tue Jul 18 2023 Josef Ridky <jridky@redhat.com> - 3.1.9-2
|
|
|
|
- Migrate to SPDX license format
|
|
|
|
|
2023-06-26 11:29:29 +00:00
|
|
|
* Mon Jun 26 2023 Richard Shaw <hobbes1069@gmail.com> - 3.1.9-1
|
|
|
|
- Upgrade to 3.1.9.
|
|
|
|
|
2023-06-19 07:49:13 +00:00
|
|
|
* Mon Jun 19 2023 Florian Weimer <fweimer@redhat.com> - 3.1.8-2
|
|
|
|
- Disable F16C intrinsics on x86-64 (#2212579)
|
|
|
|
|
2023-06-07 12:30:33 +00:00
|
|
|
* Wed Jun 07 2023 Richard Shaw <hobbes1069@gmail.com> - 3.1.8-1
|
|
|
|
- Update to 3.1.8.
|
|
|
|
|
2023-05-16 12:59:48 +00:00
|
|
|
* Tue May 16 2023 Richard Shaw <hobbes1069@gmail.com> - 3.1.7-1
|
|
|
|
- Update to 3.1.7.
|
|
|
|
|
2023-03-20 12:23:32 +00:00
|
|
|
* Mon Mar 20 2023 Richard Shaw <hobbes1069@gmail.com> - 3.1.6-1
|
|
|
|
- Update to 3.1.6.
|
|
|
|
|
2023-02-23 14:04:20 +00:00
|
|
|
* Thu Feb 23 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 3.1.5-4
|
|
|
|
- Do not use broad globs in shared directories
|
|
|
|
|
2023-01-19 22:48:59 +00:00
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.5-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-07-22 02:05:14 +00:00
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-04-15 00:43:12 +00:00
|
|
|
* Tue Apr 12 2022 Richard Shaw <hobbes1069@gmail.com> - 3.1.5-1
|
|
|
|
- Update to 3.1.5.
|
|
|
|
|
2022-03-10 08:47:07 +00:00
|
|
|
* Thu Mar 10 2022 Josef Ridky <jridky@redhat.com> - 3.1.4-1
|
|
|
|
- Update to 3.1.4
|
|
|
|
|
2022-01-20 22:21:47 +00:00
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-11-04 02:09:41 +00:00
|
|
|
* Wed Nov 03 2021 Richard Shaw <hobbes1069@gmail.com> - 3.1.3-1
|
|
|
|
- Update to 3.1.3.
|
|
|
|
|
2021-10-06 02:57:30 +00:00
|
|
|
* Wed Oct 06 2021 Richard Shaw <hobbes1069@gmail.com> - 3.1.2-1
|
|
|
|
- Update to 3.1.2.
|
|
|
|
|
2021-08-20 21:20:20 +00:00
|
|
|
* Wed Aug 11 2021 Richard Shaw <hobbes1069@gmail.com> - 3.1.1-1
|
|
|
|
- Update to 3.1.1.
|
|
|
|
|
2021-08-05 14:52:07 +00:00
|
|
|
* Thu Aug 05 2021 Richard Shaw <hobbes1069@gmail.com> - 3.0.5-3
|
|
|
|
- Remove Threads::Threads from link libraries in f35+
|
|
|
|
|
2021-07-22 17:13:38 +00:00
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-07-20 11:55:40 +00:00
|
|
|
* Tue Jul 20 2021 Richard Shaw <hobbes1069@gmail.com> - 3.0.5-1
|
|
|
|
- Update to 3.0.5.
|
|
|
|
|
2021-06-04 18:13:51 +00:00
|
|
|
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.5.5-2
|
|
|
|
- Rebuilt for Python 3.10
|
|
|
|
|
2021-03-15 12:51:44 +00:00
|
|
|
* Mon Mar 15 2021 Richard Shaw <hobbes1069@gmail.com> - 2.5.5-1
|
|
|
|
- Update to 2.5.5.
|
|
|
|
|
2021-01-26 22:30:04 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.4-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2021-01-22 21:02:57 +00:00
|
|
|
* Fri Jan 22 2021 Jonathan Wakely <jwakely@redhat.com> - 2.5.4-3
|
|
|
|
- Rebuilt for Boost 1.75
|
|
|
|
|
2021-01-18 02:53:33 +00:00
|
|
|
* Mon Jan 18 2021 Richard Shaw <hobbes1069@gmail.com> - 2.5.4-2
|
|
|
|
- Fix Provides/Obsoletes of OpenEXR package.
|
|
|
|
|
2021-01-06 03:18:51 +00:00
|
|
|
* Wed Jan 06 2021 Richard Shaw <hobbes1069@gmail.com> - 2.5.4-1
|
|
|
|
- Update to 2.5.4.
|
|
|
|
|
2020-12-14 22:51:55 +00:00
|
|
|
* Wed Dec 9 2020 Richard Shaw <hobbes1069@gmail.com> - 2.5.3-1
|
|
|
|
- Repackaged due to massive changes in build system and inclusion of IlmBase.
|