Resolves: #1978261 - import openexr to el9
This commit is contained in:
parent
6af84cbfb0
commit
4e8ceda42c
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
/openexr-2.5.3.tar.gz
|
||||
/openexr-2.5.4.tar.gz
|
||||
/openexr-3.1.1.tar.gz
|
||||
|
||||
@ -1,14 +0,0 @@
|
||||
Index: openexr-2.5.3/OpenEXR/IlmImf/dwaLookups.cpp
|
||||
===================================================================
|
||||
--- openexr-2.5.3.orig/OpenEXR/IlmImf/dwaLookups.cpp
|
||||
+++ openexr-2.5.3/OpenEXR/IlmImf/dwaLookups.cpp
|
||||
@@ -300,7 +300,8 @@ generateNoop()
|
||||
unsigned short src = (unsigned short)i;
|
||||
Xdr::write <CharPtrIO> (tmp, src);
|
||||
|
||||
- printf("0x%04x, ", dst);
|
||||
+ // DST is a short, so the right length modifier is 'h'
|
||||
+ printf("0x%04hx, ", dst);
|
||||
}
|
||||
printf("\n};\n");
|
||||
}
|
||||
42
openexr.spec
42
openexr.spec
@ -1,19 +1,18 @@
|
||||
%{?!python3_pkgversion:%global python3_pkgversion 3}
|
||||
%global sover 25
|
||||
%global sover 30
|
||||
|
||||
Name: openexr
|
||||
Version: 2.5.4
|
||||
Release: 4%{?dist}
|
||||
Version: 3.1.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Provides the specification and reference implementation of the EXR file format
|
||||
|
||||
License: BSD
|
||||
URL: https://www.openexr.com/
|
||||
Source0: https://github.com/AcademySoftwareFoundation/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
Patch0: openexr-gcc11.patch
|
||||
|
||||
BuildRequires: cmake gcc gcc-c++
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: imath-devel
|
||||
BuildRequires: python%{python3_pkgversion}-devel
|
||||
BuildRequires: zlib-devel
|
||||
|
||||
@ -72,14 +71,6 @@ useful mathematical objects, functions, and data types common in computer
|
||||
graphics applications, including the “half” 16-bit floating-point type.
|
||||
|
||||
|
||||
%package -n python%{python3_pkgversion}-openexr
|
||||
Summary: Python 3 binding for OpenEXR
|
||||
%{?python_provide:%python_provide python3-openexr}
|
||||
|
||||
%description -n python%{python3_pkgversion}-openexr
|
||||
%{summary}.
|
||||
|
||||
|
||||
%package devel
|
||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||
|
||||
@ -125,26 +116,31 @@ Summary: Development files for %{name}
|
||||
%doc CHANGES.md CONTRIBUTING.md GOVERNANCE.md SECURITY.md CODE_OF_CONDUCT.md CONTRIBUTORS.md README.md
|
||||
%license LICENSE.md
|
||||
%{_libdir}/*.so.%{sover}*
|
||||
%exclude %{_libdir}/libPy*
|
||||
|
||||
%files -n python%{python3_pkgversion}-openexr
|
||||
# Is it OK to dump the libraries in site-packages?
|
||||
%{_libdir}/libPy*.so.%{sover}*
|
||||
%{python3_sitearch}/*.so
|
||||
|
||||
%files devel
|
||||
%{_docdir}/OpenEXR/
|
||||
%{_includedir}/OpenEXR/
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/cmake/IlmBase/
|
||||
%{_libdir}/pkgconfig/IlmBase.pc
|
||||
%{_libdir}/cmake/PyIlmBase/
|
||||
%{_libdir}/pkgconfig/PyIlmBase.pc
|
||||
%{_libdir}/cmake/OpenEXR/
|
||||
%{_libdir}/pkgconfig/OpenEXR.pc
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Aug 05 2021 Josef Ridky <jridky@redhat.com> - 3.1.1-1
|
||||
- New upstream release 3.1.1
|
||||
|
||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.5-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Tue Jul 20 2021 Richard Shaw <hobbes1069@gmail.com> - 3.0.5-1
|
||||
- Update to 3.0.5.
|
||||
|
||||
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.5.5-2
|
||||
- Rebuilt for Python 3.10
|
||||
|
||||
* Mon Mar 15 2021 Richard Shaw <hobbes1069@gmail.com> - 2.5.5-1
|
||||
- Update to 2.5.5.
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.4-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
|
||||
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (openexr-2.5.4.tar.gz) = f0fe305987981e0c7e5a854367702585e4935ad37b0e8c10dcbc7468ae3a6d34bf963ec9ec75cc3abe4cf00e359644476b643978d0289dca46c9785a25d3f7f1
|
||||
SHA512 (openexr-3.1.1.tar.gz) = 430becbb214cedec5a57e9ff2363badd8a2d94e8a00edffbc75fbcf30d26d887a6eb3f4ff96e371cb26f9d44e63bf0fe2dc511493a0951171ddc64bba7aed735
|
||||
|
||||
Loading…
Reference in New Issue
Block a user