forked from pool/openexr
Accepting request 44520 from devel:libraries:c_c++
Copy from devel:libraries:c_c++/openexr based on submit request 44520 from user mvyskocil OBS-URL: https://build.opensuse.org/request/show/44520 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openexr?expand=0&rev=1
This commit is contained in:
commit
437f07200b
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
1
baselibs.conf
Normal file
1
baselibs.conf
Normal file
@ -0,0 +1 @@
|
||||
libIlmImf6
|
3
openexr-1.7.0.tar.bz2
Normal file
3
openexr-1.7.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6f23fd7de17c8396462390880dd1216087a7201aa84fcb68a3d7ef7cebc445f2
|
||||
size 12863774
|
36
openexr-includes.patch
Normal file
36
openexr-includes.patch
Normal file
@ -0,0 +1,36 @@
|
||||
Index: exrenvmap/main.cpp
|
||||
===================================================================
|
||||
--- exrenvmap/main.cpp.orig 2008-10-29 01:00:18.000000000 +0100
|
||||
+++ exrenvmap/main.cpp 2010-07-27 14:03:00.470875861 +0200
|
||||
@@ -50,6 +50,7 @@
|
||||
#include <string>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
+#include <string.h>
|
||||
|
||||
using namespace Imf;
|
||||
using namespace std;
|
||||
Index: exrmaketiled/main.cpp
|
||||
===================================================================
|
||||
--- exrmaketiled/main.cpp.orig 2008-03-01 03:30:14.000000000 +0100
|
||||
+++ exrmaketiled/main.cpp 2010-07-27 14:03:00.488875189 +0200
|
||||
@@ -47,6 +47,7 @@
|
||||
#include <string>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
+#include <string.h>
|
||||
|
||||
using namespace Imf;
|
||||
using namespace std;
|
||||
Index: exrenvmap/blurImage.cpp
|
||||
===================================================================
|
||||
--- exrenvmap/blurImage.cpp.orig 2009-02-26 00:39:27.000000000 +0100
|
||||
+++ exrenvmap/blurImage.cpp 2010-07-27 14:20:31.460876473 +0200
|
||||
@@ -43,6 +43,7 @@
|
||||
|
||||
#include <resizeImage.h>
|
||||
#include "Iex.h"
|
||||
+#include <string.h>
|
||||
#include <iostream>
|
||||
#include <algorithm>
|
||||
|
50
openexr-suse-docdir.patch
Normal file
50
openexr-suse-docdir.patch
Normal file
@ -0,0 +1,50 @@
|
||||
Index: IlmImfExamples/Makefile.am
|
||||
===================================================================
|
||||
--- IlmImfExamples/Makefile.am.orig 2010-07-27 16:23:34.292000914 +0200
|
||||
+++ IlmImfExamples/Makefile.am 2010-07-27 16:23:36.534875311 +0200
|
||||
@@ -22,7 +22,7 @@
|
||||
rgbaInterfaceTiledExamples.h \
|
||||
lowLevelIoExamples.h previewImageExamples.h
|
||||
|
||||
-examplesdir = $(datadir)/doc/OpenEXR-@OPENEXR_VERSION@/examples
|
||||
+examplesdir = $(datadir)/doc/packages/openexr-@OPENEXR_VERSION@/examples
|
||||
examples_DATA = $(imfexamples_SOURCES)
|
||||
|
||||
imfexamplesdir = $(examplesdir)
|
||||
Index: IlmImfExamples/Makefile.in
|
||||
===================================================================
|
||||
--- IlmImfExamples/Makefile.in.orig 2010-07-27 16:23:34.292000914 +0200
|
||||
+++ IlmImfExamples/Makefile.in 2010-07-27 16:23:36.534875311 +0200
|
||||
@@ -226,7 +226,7 @@
|
||||
rgbaInterfaceTiledExamples.h \
|
||||
lowLevelIoExamples.h previewImageExamples.h
|
||||
|
||||
-examplesdir = $(datadir)/doc/OpenEXR-@OPENEXR_VERSION@/examples
|
||||
+examplesdir = $(datadir)/doc/packages/openexr-@OPENEXR_VERSION@/examples
|
||||
examples_DATA = $(imfexamples_SOURCES)
|
||||
imfexamplesdir = $(examplesdir)
|
||||
all: all-am
|
||||
Index: doc/Makefile.am
|
||||
===================================================================
|
||||
--- doc/Makefile.am.orig 2010-07-27 16:23:34.302885346 +0200
|
||||
+++ doc/Makefile.am 2010-07-27 16:25:53.501876673 +0200
|
||||
@@ -4,5 +4,5 @@
|
||||
OpenEXRFileLayout.pdf \
|
||||
MultiViewOpenEXR.pdf
|
||||
|
||||
-docdir=$(datadir)/doc/OpenEXR-@OPENEXR_VERSION@
|
||||
+docdir=$(datadir)/doc/packages/openexr-@OPENEXR_VERSION@
|
||||
doc_DATA = $(EXTRA_DIST)
|
||||
Index: doc/Makefile.in
|
||||
===================================================================
|
||||
--- doc/Makefile.in.orig 2010-07-27 16:23:34.309896002 +0200
|
||||
+++ doc/Makefile.in 2010-07-27 16:26:09.326876258 +0200
|
||||
@@ -181,7 +181,7 @@
|
||||
OpenEXRFileLayout.pdf \
|
||||
MultiViewOpenEXR.pdf
|
||||
|
||||
-docdir = $(datadir)/doc/OpenEXR-@OPENEXR_VERSION@
|
||||
+docdir = $(datadir)/doc/packages/openexr-@OPENEXR_VERSION@
|
||||
doc_DATA = $(EXTRA_DIST)
|
||||
all: all-am
|
||||
|
106
openexr.changes
Normal file
106
openexr.changes
Normal file
@ -0,0 +1,106 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 27 12:41:21 UTC 2010 - mvyskocil@suse.cz
|
||||
|
||||
- Update to 1.7.0 - bugfix release, multiviewer support
|
||||
* obsoletes CVE-2009-1720 support
|
||||
* built with --enable-larget-stack and test
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 18 17:37:10 CET 2009 - jengelh@medozas.de
|
||||
|
||||
- add baselibs.conf as a source
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 4 07:09:30 UTC 2009 - mvyskocil@suse.cz
|
||||
|
||||
- fixed bnc#527539: VUL-0: OpenEXR: [ MDVSA-2009:190 ] OpenEXR
|
||||
used patches from Mandriva
|
||||
* CVE-2009-1720
|
||||
* CVE-2009-1721
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 2 05:41:46 CET 2009 - crrodriguez@suse.de
|
||||
|
||||
- save 6.7MB by removing static libraries and "la" files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 10 12:34:56 CET 2008 - olh@suse.de
|
||||
|
||||
- use Obsoletes: -XXbit only for ppc64 to help solver during distupgrade
|
||||
(bnc#437293)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 30 12:34:56 CET 2008 - olh@suse.de
|
||||
|
||||
- obsolete old -XXbit packages (bnc#437293)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de
|
||||
|
||||
- added baselibs.conf file to build xxbit packages
|
||||
for multilib support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 31 18:07:10 CET 2007 - mvyskocil@suse.cz
|
||||
|
||||
- update to 1.6.1
|
||||
- fix buid, add docu subpackage with documentation and examples
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 19 06:03:13 CEST 2007 - stbinner@suse.de
|
||||
|
||||
- fix linking of new IlmThread lib versus libpthread
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 15 00:22:40 CEST 2007 - ltinkl@suse.cz
|
||||
|
||||
- update to 1.4.6
|
||||
- fix build, fix packaging examples and doc
|
||||
- added missing Requires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 16 10:44:14 CET 2007 - meissner@suse.de
|
||||
|
||||
- fixed RPM_OPT_FLAGS
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 12 15:40:26 CEST 2006 - dmueller@suse.de
|
||||
|
||||
- fix shared lib dependencies
|
||||
- fix installed headers
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:33:52 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 7 15:06:31 CET 2005 - sndirsch@suse.de
|
||||
|
||||
- make use of mesa-devel-packages macro in neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 2 21:53:50 CET 2005 - dmueller@suse.de
|
||||
|
||||
- don't build as root
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 25 14:49:41 CEST 2005 - adrian@suse.de
|
||||
|
||||
- update to version 1.2.2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 23 16:21:09 CEST 2005 - schwab@suse.de
|
||||
|
||||
- Fix missing declaration.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 13 14:30:26 CET 2005 - ro@suse.de
|
||||
|
||||
- try to fix docu installation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 28 13:59:35 CEST 2004 - adrian@suse.de
|
||||
|
||||
- initial package of version 1.2.1
|
||||
|
165
openexr.spec
Normal file
165
openexr.spec
Normal file
@ -0,0 +1,165 @@
|
||||
#
|
||||
# spec file for package openexr (Version 1.7.0)
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: openexr
|
||||
Summary: Utilities for work with HDR images in OpenEXR format
|
||||
Version: 1.7.0
|
||||
Release: 1
|
||||
License: BSD3c(or similar) ; GPLv2+
|
||||
Group: Productivity/Graphics/Other
|
||||
Url: http://www.openexr.com/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: libilmbase-devel
|
||||
BuildRequires: fltk-devel
|
||||
BuildRequires: freeglut-devel
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libdrm-devel
|
||||
# bug437293
|
||||
%ifarch ppc64
|
||||
Obsoletes: OpenEXR-64bit
|
||||
%endif
|
||||
#
|
||||
Source0: %{name}-%version.tar.bz2
|
||||
Source1: baselibs.conf
|
||||
Patch0: openexr-suse-docdir.patch
|
||||
Patch1: openexr-includes.patch
|
||||
# not necessary with --enable-large-stack
|
||||
# Patch5: openexr-1.7.0-CVE-2009-1721.diff
|
||||
|
||||
%description
|
||||
OpenEXR is a high dynamic-range (HDR) image file format developed by
|
||||
Industrial Light & Magic for use in computer imaging applications. This package
|
||||
contains a set of utilities to work with this format.
|
||||
|
||||
* exrheader, a utility for dumping header information
|
||||
* exrstdattr, a utility for modifying OpenEXR standard attributes
|
||||
* exrmaketiled, for generating tiled and rip/mipmapped images
|
||||
* exrenvmap, for creating OpenEXR environment maps
|
||||
* exrmakepreview, for creating preview images for OpenEXR files
|
||||
* exr2aces, converter to ACES format
|
||||
* exrmultiview, combine two or more images into one multi-view
|
||||
|
||||
%package -n libIlmImf6
|
||||
License: BSD3c(or similar) ; GPLv2+
|
||||
Group: Development/Libraries/C and C++
|
||||
Summary: Library to Handle EXR Pictures in 16-Bit Floating-Point Format
|
||||
Obsoletes: OpenEXR <= 1.6.1
|
||||
Provides: OpenEXR = %{version}
|
||||
# provide also the most expected symbol
|
||||
Provides: libopenexr6 = %{version}
|
||||
|
||||
%description -n libIlmImf6
|
||||
OpenEXR is a high dynamic-range (HDR) image file format developed by
|
||||
Industrial Light & Magic for use in computer imaging applications.
|
||||
|
||||
This package contains libIlmImf.so.6
|
||||
|
||||
%package -n libopenexr-devel
|
||||
License: BSD3c(or similar) ; GPLv2+
|
||||
Group: Development/Libraries/C and C++
|
||||
Summary: Library to Handle EXR Pictures (16-bit floating-point format)
|
||||
Obsoletes: OpenEXR-devel <= 1.6.1
|
||||
Provides: OpenEXR-devel = %{version}
|
||||
Requires: libopenexr6 = %{version}
|
||||
Requires: zlib-devel
|
||||
Requires: libilmbase-devel
|
||||
Requires: pkg-config
|
||||
|
||||
%description -n libopenexr-devel
|
||||
OpenEXR is a high dynamic-range (HDR) image file format developed by
|
||||
Industrial Light & Magic for use in computer imaging applications.
|
||||
|
||||
This package contains header files.
|
||||
|
||||
%package doc
|
||||
License: BSD3c(or similar) ; GPLv2+
|
||||
Group: Development/Libraries/C and C++
|
||||
Summary: Library to Handle EXR Pictures in 16-Bit Floating-Point Format
|
||||
Obsoletes: OpenEXR-doc <= 1.6.1
|
||||
Provides: OpenEXR-doc = %{version}
|
||||
|
||||
%description doc
|
||||
OpenEXR is a high dynamic-range (HDR) image file format developed by
|
||||
Industrial Light & Magic for use in computer imaging applications.
|
||||
|
||||
This package contains a documentation
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
%patch0 -b .sav
|
||||
%patch1 -b .sav
|
||||
# % patch5 -p1 -b .CVE-2009-1721
|
||||
# rename a non-linux file
|
||||
%{__rm} README.win32 README.OSX
|
||||
|
||||
%build
|
||||
#autoreconf --force --install --include=config
|
||||
#
|
||||
export PTHREAD_LIBS="-lpthread"
|
||||
%{configure} \
|
||||
--disable-static \
|
||||
--with-pic \
|
||||
--enable-large-stack \
|
||||
--enable-imfexamples \
|
||||
--enable-imfuzztest
|
||||
%{__make} %{?jobs:-j%jobs}
|
||||
|
||||
%install
|
||||
%{makeinstall}
|
||||
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
||||
|
||||
%check
|
||||
%{__make} check
|
||||
|
||||
%post -n libIlmImf6 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libIlmImf6 -p /sbin/ldconfig
|
||||
|
||||
%clean
|
||||
%{__rm} -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS ChangeLog COPYING LICENSE NEWS README*
|
||||
%{_bindir}/exrenvmap
|
||||
%{_bindir}/exrheader
|
||||
%{_bindir}/exrmakepreview
|
||||
%{_bindir}/exrmaketiled
|
||||
%{_bindir}/exrstdattr
|
||||
%{_bindir}/exr2aces
|
||||
%{_bindir}/exrmultiview
|
||||
|
||||
%files -n libIlmImf6
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING
|
||||
%{_libdir}/libIlmImf.so.*
|
||||
|
||||
%files -n libopenexr-devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/OpenEXR
|
||||
%{_libdir}/libIlmImf.so
|
||||
%{_libdir}/pkgconfig/OpenEXR.pc
|
||||
%{_datadir}/aclocal/openexr.m4
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root)
|
||||
%{_docdir}/%{name}-%{version}
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user