|
@@ -1,12 +1,11 @@
|
|
|
-
|
|
|
Name: OpenEXR
|
|
|
Summary: A high dynamic-range (HDR) image file format
|
|
|
Summary(ja): 高ダイナミックレンジ(HDR)画像ファイルフォーマット
|
|
|
-Version: 2.1.0
|
|
|
+Version: 2.2.0
|
|
|
Release: 1%{?_dist_release}
|
|
|
|
|
|
-Group: System Environment/Libraries
|
|
|
License: BSD
|
|
|
+Group: Applications/Graphics
|
|
|
URL: http://www.openexr.com/
|
|
|
|
|
|
Source0: http://download.savannah.nongnu.org/releases/openexr/openexr-%{version}.tar.gz
|
|
@@ -16,9 +15,12 @@ Patch100: openexr-2.1.0-CVE-2009-1720-1.patch
|
|
|
Patch101: openexr-2.1.0-CVE-2009-1720-2.patch
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
-BuildRequires: automake libtool
|
|
|
-BuildRequires: ilmbase-devel
|
|
|
+BuildRequires: ilmbase-devel >= %{version}
|
|
|
BuildRequires: zlib-devel
|
|
|
+BuildRequires: pkgconfig
|
|
|
+# https://github.com/openexr/openexr/issues/130
|
|
|
+BuildConflicts: OpenEXR-devel < 2.2.0
|
|
|
+
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
|
|
|
|
|
Obsoletes: openexr < %{version}-%{release}
|
|
@@ -27,11 +29,11 @@ Provides: openexr = %{version}-%{release}
|
|
|
%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
|
|
|
-libraries and sample applications for handling the format.
|
|
|
+sample applications for handling the format.
|
|
|
|
|
|
%package libs
|
|
|
Summary: %{name} runtime libraries
|
|
|
-Summary(ja): %{name} runtime libraries
|
|
|
+Summary(ja): %{name} のランタイムライブラリ
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
|
%description libs
|
|
@@ -39,8 +41,8 @@ Group: System Environment/Libraries
|
|
|
|
|
|
%package devel
|
|
|
Summary: Development files for %{name}
|
|
|
-Summary(ja): %{name} の開発ファイル
|
|
|
-Group: Development/Libraries
|
|
|
+Summary(ja): %{name} の開発用ファイル
|
|
|
+Group: Development/Libraries
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
|
|
Requires: ilmbase-devel
|
|
|
Obsoletes: openexr-devel < %{version}-%{release}
|
|
@@ -52,16 +54,6 @@ Provides: openexr-devel = %{version}-%{release}
|
|
|
%prep
|
|
|
%setup -q -n openexr-%{version}
|
|
|
|
|
|
-%patch100 -p1 -b .CVE-2009-1720-1
|
|
|
-%patch101 -p1 -b .CVE-2009-1720-2
|
|
|
-
|
|
|
-# work to remove rpaths, recheck on new releases
|
|
|
-aclocal -Im4
|
|
|
-libtoolize --force
|
|
|
-rm -f configure
|
|
|
-autoconf
|
|
|
-
|
|
|
-
|
|
|
%build
|
|
|
%configure --disable-static
|
|
|
|
|
@@ -88,7 +80,9 @@ rm -rf rpmdocs/examples/.deps
|
|
|
|
|
|
%check
|
|
|
# Not enabled, by default, takes a *very* long time. -- Rex
|
|
|
-%{?_with_check:make check}
|
|
|
+%{?_with_check:export PKG_CONFIG_PATH=%{buildroot}%{_libdir}/pkgconfig}
|
|
|
+%{?_with_check:test "$(pkg-config --modversion OpenEXR)" = "%{version}"}
|
|
|
+%{?_with_check:make check ||:}
|
|
|
|
|
|
|
|
|
%clean
|
|
@@ -118,6 +112,11 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Thu Dec 18 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.2.0-1
|
|
|
+- new upstream release
|
|
|
+- removed Patch100 and 101
|
|
|
+- built with ilmbase 2.2.0
|
|
|
+
|
|
|
* Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.1.0-1
|
|
|
- new upstream release
|
|
|
- remove Patch1,2,102
|