[OpenEXR] install ImfDeepImageStateAttribute.h header too

Rex Dieter rdieter at fedoraproject.org
Wed Nov 27 17:34:57 UTC 2013


commit 35b7ece58e54c503df249e510b336ab4f636d9c4
Author: Rex Dieter <rdieter at math.unl.edu>
Date:   Wed Nov 27 11:34:49 2013 -0600

    install ImfDeepImageStateAttribute.h header too

 OpenEXR.spec                |    8 +++++++-
 openexr-2.1.0-headers.patch |   22 ++++++++++++++++++++++
 2 files changed, 29 insertions(+), 1 deletions(-)
---
diff --git a/OpenEXR.spec b/OpenEXR.spec
index 8f0851c..50b9850 100644
--- a/OpenEXR.spec
+++ b/OpenEXR.spec
@@ -2,7 +2,7 @@
 Name:	 OpenEXR
 Summary: A high dynamic-range (HDR) image file format
 Version: 2.1.0
-Release: 1%{?dist}
+Release: 2%{?dist}
 
 License: BSD
 URL:	 http://www.openexr.com/
@@ -10,6 +10,8 @@ Source0: http://download.savannah.nongnu.org/releases/openexr/openexr-%{version}
 # fix tests for big endian arches
 # https://github.com/openexr/openexr/issues/81
 Patch0:  openexr-2.1.0-bigendian.patch
+# install missing headers
+Patch1:  openexr-2.1.0-headers.patch
 
 Obsoletes: openexr < %{version}-%{release}
 Provides:  openexr = %{version}-%{release}
@@ -43,6 +45,7 @@ Summary: %{name} runtime libraries
 %prep
 %setup -q -n openexr-%{version}
 %patch0 -p1 -b .bigendian
+%patch1 -p1 -b .headers
 
 
 %build
@@ -88,6 +91,9 @@ make check ||:
 
 
 %changelog
+* Wed Nov 27 2013 Rex Dieter <rdieter at fedoraproject.org> 2.1.0-2
+- install ImfDeepImageStateAttribute.h header too
+
 * Wed Nov 27 2013 Rex Dieter <rdieter at fedoraproject.org> 2.1.0-1
 - 2.1.0
 
diff --git a/openexr-2.1.0-headers.patch b/openexr-2.1.0-headers.patch
new file mode 100644
index 0000000..c8a8caf
--- /dev/null
+++ b/openexr-2.1.0-headers.patch
@@ -0,0 +1,22 @@
+diff -up openexr-2.1.0/IlmImf/Makefile.am.headers openexr-2.1.0/IlmImf/Makefile.am
+--- openexr-2.1.0/IlmImf/Makefile.am.headers	2013-11-11 17:09:51.000000000 -0600
++++ openexr-2.1.0/IlmImf/Makefile.am	2013-11-27 11:33:11.934497336 -0600
+@@ -103,6 +103,7 @@ libIlmImfinclude_HEADERS = ImfForward.h
+ 			   ImfCRgbaFile.h ImfChannelList.h \
+ 			   ImfChannelListAttribute.h \
+ 			   ImfCompressionAttribute.h \
++			   ImfDeepImageStateAttribute.h \
+ 			   ImfDoubleAttribute.h ImfFloatAttribute.h \
+ 			   ImfFrameBuffer.h ImfHeader.h ImfIO.h \
+ 			   ImfInputFile.h ImfIntAttribute.h \
+diff -up openexr-2.1.0/IlmImf/Makefile.in.headers openexr-2.1.0/IlmImf/Makefile.in
+--- openexr-2.1.0/IlmImf/Makefile.in.headers	2013-11-12 18:33:11.000000000 -0600
++++ openexr-2.1.0/IlmImf/Makefile.in	2013-11-27 11:33:16.341451113 -0600
+@@ -373,6 +373,7 @@ libIlmImfinclude_HEADERS = ImfForward.h
+ 			   ImfCRgbaFile.h ImfChannelList.h \
+ 			   ImfChannelListAttribute.h \
+ 			   ImfCompressionAttribute.h \
++			   ImfDeepImageStateAttribute.h \
+ 			   ImfDoubleAttribute.h ImfFloatAttribute.h \
+ 			   ImfFrameBuffer.h ImfHeader.h ImfIO.h \
+ 			   ImfInputFile.h ImfIntAttribute.h \


More information about the scm-commits mailing list