OpenEXR/OpenEXR.spec

131 lines
3.9 KiB
RPMSpec
Raw Normal View History

2019-11-19 11:51:28 +08:00
Name: OpenEXR
Summary: A high dynamic-range (HDR) image file format for use in computer imaging applications
2023-10-12 11:40:07 +08:00
Version: 3.1.11
2024-02-26 15:06:55 +08:00
Release: 2
2022-05-10 17:24:42 +08:00
License: BSD-3-Clause
2019-11-19 11:51:28 +08:00
URL: http://www.openexr.com/
2022-03-29 19:41:25 +08:00
Source0: https://github.com/AcademySoftwareFoundation/openexr/archive/v%{version}/openexr-%{version}.tar.gz
2024-02-26 15:06:55 +08:00
# https://github.com/AcademySoftwareFoundation/openexr/commit/df4d77471f2722025011da2e699d581d1e757f6b
Patch0: CVE-2023-5841.patch
2022-03-29 19:41:25 +08:00
BuildRequires: gcc-c++ zlib-devel pkgconfig python3-devel
BuildRequires: cmake gcc boost-devel pkgconfig(Imath)
2019-11-19 11:51:28 +08:00
2020-02-18 09:44:37 +08:00
Requires: %{name}-libs = %{version}-%{release}
Provides: openexr = %{version}-%{release}
Obsoletes: openexr < %{version}-%{release}
2019-11-19 11:51:28 +08:00
%description
OpenEXR is a high dynamic-range (HDR) image file format originally developed by Industrial
Light & Magic for use in computer imaging applications.
2020-02-18 09:44:37 +08:00
%package libs
Summary: Libraries for %{name}
2022-03-29 19:41:25 +08:00
Provides: openexr-libs = %{version}-%{release}
Obsoletes: openexr-libs < %{version}-%{release}
2020-02-18 09:44:37 +08:00
%description libs
Libraries for %{name}.
2019-11-19 11:51:28 +08:00
%package devel
Summary: Development files for %{name}
Provides: openexr-devel = %{version}-%{release}
Obsoletes: openexr-devel < %{version}-%{release}
2022-03-29 19:41:25 +08:00
Provides: ilmbase-devel = %{version}-%{release}
Obsoletes: ilmbase-devel < 2.5.3
Requires: %{name}-libs = %{version}-%{release}
2019-11-19 11:51:28 +08:00
%description devel
This package contains libraries and header files for development of %{name}.
%prep
%autosetup -n openexr-%{version} -p1
%build
2022-03-29 19:41:25 +08:00
%cmake
2019-11-19 11:51:28 +08:00
%make_build
%install
%make_install
%check
2023-07-12 17:55:24 +08:00
%ifarch aarch64 ppc64le
# https://github.com/AcademySoftwareFoundation/openexr/issues/1460
EXCLUDE_REGEX='DWA[AB]Compression'
%endif
/usr/bin/ctest --output-on-failure --force-new-ctest-process -j${RPM_BUILD_NCPUS} --exclude-regex "$EXCLUDE_REGEX"
2019-11-19 11:51:28 +08:00
2020-02-18 09:44:37 +08:00
%ldconfig_scriptlets libs
2019-11-19 11:51:28 +08:00
%files
2022-03-29 19:41:25 +08:00
%doc CHANGES.md CONTRIBUTING.md GOVERNANCE.md SECURITY.md CODE_OF_CONDUCT.md CONTRIBUTORS.md README.md
%license LICENSE.md
%{_bindir}/*
2019-11-19 11:51:28 +08:00
%exclude %{_docdir}/%{name}-%{version}
2020-02-18 09:44:37 +08:00
%files libs
2022-03-29 19:41:25 +08:00
%{_libdir}/*.so.30*
2020-02-18 09:44:37 +08:00
2019-11-19 11:51:28 +08:00
%files devel
2022-03-29 19:41:25 +08:00
%{_docdir}/OpenEXR/
%{_includedir}/OpenEXR/
%{_libdir}/*.so
%{_libdir}/cmake/OpenEXR/
2019-11-19 11:51:28 +08:00
%{_libdir}/pkgconfig/OpenEXR.pc
%changelog
2024-02-26 15:06:55 +08:00
* Mon Feb 26 2024 yaoxin <yao_xin001@hoperun.com> - 3.1.11-2
- Fix CVE-2023-5841
2023-10-12 11:40:07 +08:00
* Thu Oct 12 2023 yaoxin <yao_xin001@hoperun.com> - 3.1.11-1
- Upgrade to 3.1.11
2023-07-12 17:55:24 +08:00
* Wed Jul 12 2023 liyanan <thistleslyn@163.com> - 3.1.9-1
- update to 3.1.9
2022-05-10 17:24:42 +08:00
* Tue May 10 2022 Ge Wang <wangge20@h-partners.com> - 3.1.5-2
- license compliance rectification
2022-04-28 10:30:14 +08:00
* Thu Apr 28 2022 wangkai <wangkai385@h-partners.com> - 3.1.5-1
- update to 3.1.5 for fix CVE-2022-45942
2022-03-29 19:41:25 +08:00
* Tue Mar 29 2022 liyanan <liyanan32@huawei.com> - 3.1.3-1
- update to 3.1.3
2022-03-23 10:57:29 +08:00
* Wed Mar 23 2022 yaoxin <yaoxin30@huawei.com> - 2.2.0-25
- Fix CVE-2021-20299
2022-03-11 14:07:07 +08:00
* Fri Mar 11 2022 yaoxin <yaoxin30@huawei.com> - 2.2.0-24
- Fix CVE-2021-20303
* Wed Sep 1 2021 liwu<liwu13@huawei.com> - 2.2.0-23
2021-09-01 20:07:00 +08:00
- fix CVE-2021-3605
* Mon Jul 12 2021 yaoxin <yaoxin30@huawei.com> - 2.2.0-22
- fix CVE-2020-11758 CVE-2020-11759 CVE-2020-11760 CVE-2020-11761 CVE-2020-11762 CVE-2020-11763 CVE-2020-11764 CVE-2020-11765 CVE-2020-15305 CVE-2020-15306
2021-07-10 17:03:06 +08:00
* Sat Jul 10 2021 wangyue <wangyue92@huawei.com> - 2.2.0-21
- fix CVE-2021-3598
* Tue Jun 22 2021 houyingchao <houyingchao@huawei.com> - 2.2.0-20
- fix CVE-2021-23215 CVE-2021-23169 CVE-2021-26260
* Tue Apr 06 2021 wangyue <wangyue92@huawei.com> - 2.2.0-19
- fix CVE-2021-3474 CVE-2021-3477 CVE-2021-3476 CVE-2021-3475 CVE-2021-20296 CVE-2021-3479 CVE-2021-20296
* Wed Jan 27 2021 zhanghua <zhanghua40@huawei.com> - 2.2.0-18
- Type:CVE
- ID:NA
- SUG:NA
- DESC:fix CVE-2017-9110 CVE-2017-9111 CVE-2017-9112 CVE-2017-9113
CVE-2017-9114 CVE-2017-9115 CVE-2017-9116 CVE-2017-12596
2020-02-18 09:44:37 +08:00
* Tue Feb 18 2020 hexiujun <hexiujun1@huawei.com> - 2.2.0-17
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:unpack libs subpackage
2019-11-19 11:51:28 +08:00
* Fri Oct 25 2019 huzhiyu <huzhiyu1@huawei.com> - 2.2.0-16
- Package init