1 Star 0 Fork 30

shafeipaozi/OpenEXR

forked from src-openEuler/OpenEXR 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
OpenEXR.spec 4.35 KB
一键复制 编辑 原始数据 按行查看 历史
shafeipaozi 提交于 2024-07-14 18:04 . update
%global sover 31
Name: OpenEXR
Summary: A high dynamic-range (HDR) image file format for use in computer imaging applications
Version: 3.2.4
Release: 1
License: BSD-3-Clause
URL: http://www.openexr.com/
Source0: https://github.com/AcademySoftwareFoundation/openexr/archive/v%{version}/openexr-%{version}.tar.gz
# https://github.com/AcademySoftwareFoundation/openexr/commit/df4d77471f2722025011da2e699d581d1e757f6b
Patch0: CVE-2024-31047.patch
BuildRequires: gcc-c++ zlib-devel pkgconfig python3-devel
BuildRequires: cmake gcc boost-devel pkgconfig(Imath)
BuildRequires: libdeflate-devel
Requires: %{name}-libs = %{version}-%{release}
Provides: openexr = %{version}-%{release}
Obsoletes: openexr < %{version}-%{release}
%description
OpenEXR is a high dynamic-range (HDR) image file format originally developed by Industrial
Light & Magic for use in computer imaging applications.
%package libs
Summary: Libraries for %{name}
Provides: openexr-libs = %{version}-%{release}
Obsoletes: openexr-libs < %{version}-%{release}
%description libs
Libraries for %{name}.
%package devel
Summary: Development files for %{name}
Provides: openexr-devel = %{version}-%{release}
Obsoletes: openexr-devel < %{version}-%{release}
Provides: ilmbase-devel = %{version}-%{release}
Obsoletes: ilmbase-devel < 2.5.3
Requires: %{name}-libs = %{version}-%{release}
%description devel
This package contains libraries and header files for development of %{name}.
%prep
%autosetup -n openexr-%{version} -p1
%build
%cmake
%make_build
%install
%make_install
%check
%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"
%ldconfig_scriptlets libs
%files
%doc CHANGES.md CONTRIBUTING.md GOVERNANCE.md SECURITY.md CODE_OF_CONDUCT.md CONTRIBUTORS.md README.md
%license LICENSE.md
%{_bindir}/*
%exclude %{_docdir}/%{name}-%{version}
%files libs
%{_libdir}/libIex-3_2.so.%{sover}{,.*}
%{_libdir}/libIlmThread-3_2.so.%{sover}{,.*}
%{_libdir}/libOpenEXR-3_2.so.%{sover}{,.*}
%{_libdir}/libOpenEXRCore-3_2.so.%{sover}{,.*}
%{_libdir}/libOpenEXRUtil-3_2.so.%{sover}{,.*}
%files devel
%{_docdir}/OpenEXR/
%{_includedir}/OpenEXR/
%{_libdir}/*.so
%{_libdir}/cmake/OpenEXR/
%{_libdir}/pkgconfig/OpenEXR.pc
%changelog
* Sun Jul 14 2024 shafeipaozi <[email protected]> - 3.2.4-1
- Update to 3.2.4
* Wed Apr 17 2024 wangkai <[email protected]> - 3.1.11-3
- Fix CVE-2024-31047
* Mon Feb 26 2024 yaoxin <[email protected]> - 3.1.11-2
- Fix CVE-2023-5841
* Thu Oct 12 2023 yaoxin <[email protected]> - 3.1.11-1
- Upgrade to 3.1.11
* Wed Jul 12 2023 liyanan <[email protected]> - 3.1.9-1
- update to 3.1.9
* Tue May 10 2022 Ge Wang <[email protected]> - 3.1.5-2
- license compliance rectification
* Thu Apr 28 2022 wangkai <[email protected]> - 3.1.5-1
- update to 3.1.5 for fix CVE-2022-45942
* Tue Mar 29 2022 liyanan <[email protected]> - 3.1.3-1
- update to 3.1.3
* Wed Mar 23 2022 yaoxin <[email protected]> - 2.2.0-25
- Fix CVE-2021-20299
* Fri Mar 11 2022 yaoxin <[email protected]> - 2.2.0-24
- Fix CVE-2021-20303
* Wed Sep 1 2021 liwu<[email protected]> - 2.2.0-23
- fix CVE-2021-3605
* Mon Jul 12 2021 yaoxin <[email protected]> - 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
* Sat Jul 10 2021 wangyue <[email protected]> - 2.2.0-21
- fix CVE-2021-3598
* Tue Jun 22 2021 houyingchao <[email protected]> - 2.2.0-20
- fix CVE-2021-23215 CVE-2021-23169 CVE-2021-26260
* Tue Apr 06 2021 wangyue <[email protected]> - 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 <[email protected]> - 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
* Tue Feb 18 2020 hexiujun <[email protected]> - 2.2.0-17
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:unpack libs subpackage
* Fri Oct 25 2019 huzhiyu <[email protected]> - 2.2.0-16
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/shafeipaozi/OpenEXR.git
[email protected]:shafeipaozi/OpenEXR.git
shafeipaozi
OpenEXR
OpenEXR
master

搜索帮助