[OpenEXR] openexr-2.0.1

Rex Dieter rdieter at fedoraproject.org
Sun Sep 8 21:50:39 UTC 2013


commit 73aa616bf28af53066c1abb980e01a6cd76f6864
Author: Rex Dieter <rdieter at math.unl.edu>
Date:   Sun Sep 8 16:50:30 2013 -0500

    openexr-2.0.1

 .gitignore              |    3 +-
 OpenEXR.spec            |   56 +++++++++++-----------------------------------
 openexr-1.7.1-so6.patch |   12 ----------
 sources                 |    2 +-
 4 files changed, 16 insertions(+), 57 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 3c872ab..c23a518 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,2 @@
-openexr-1.7.0.tar.gz
-openexr-1.7.0.tar.gz.sig
 /openexr-1.7.1.tar.gz
+/openexr-2.0.1.tar.gz
diff --git a/OpenEXR.spec b/OpenEXR.spec
index d931481..2448660 100644
--- a/OpenEXR.spec
+++ b/OpenEXR.spec
@@ -1,34 +1,19 @@
 
 Name:	 OpenEXR
-Version: 1.7.1
-Release: 6%{?dist}
 Summary: A high dynamic-range (HDR) image file format
+Version: 2.0.1
+Release: 1%{?dist}
 
-Group:	 System Environment/Libraries
 License: BSD
 URL:	 http://www.openexr.com/
-Source0: https://github.com/downloads/openexr/openexr/openexr-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-%global soname 7
-
-## fedora patches
-%if 0%{?fedora} < 19 && 0%{?rhel} < 7
-# revert soname bump
-# upstream missed bumping to so7 for OpenEXR-1.7.0, decided to do so now for
-# OpenEXR-1.7.1.  given fedora has shipped OpenEXR-1.7.0 since f15, bumping
-# ABI now makes little sense.
-%global soname 6
-Patch0: openexr-1.7.1-so6.patch
-BuildRequires: automake libtool
-%endif
+Source0: http://download.savannah.nongnu.org/releases/openexr/openexr-%{version}.tar.gz
 
 Obsoletes: openexr < %{version}-%{release}
 Provides:  openexr = %{version}-%{release}
 
-BuildRequires:  ilmbase-devel 
-BuildRequires:  zlib-devel
-BuildRequires:  pkgconfig
+BuildRequires: ilmbase-devel >= %{version}
+BuildRequires: zlib-devel
+BuildRequires: pkgconfig
 
 Requires: %{name}-libs%{?_isa} = %{version}-%{release}
 
@@ -39,18 +24,15 @@ libraries and sample applications for handling the format.
 
 %package devel
 Summary: Headers and libraries for building apps that use %{name} 
-Group:	 Development/Libraries
 Obsoletes: openexr-devel < %{version}-%{release}
 Provides:  openexr-devel = %{version}-%{release}
 Requires: %{name}-libs%{?_isa} = %{version}-%{release}
 Requires: ilmbase-devel
-Requires: pkgconfig
 %description devel
 %{summary}.
 
 %package libs
 Summary: %{name} runtime libraries
-Group:   System Environment/Libraries
 %description libs
 %{summary}.
 
@@ -58,10 +40,6 @@ Group:   System Environment/Libraries
 %prep
 %setup -q -n openexr-%{version}
 
-%if "%{?soname}" == "6"
-%patch0 -p1 -b .so6
-./bootstrap
-%endif
 
 %build
 %configure --disable-static
@@ -73,13 +51,11 @@ make %{?_smp_mflags}
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
-make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
+make install DESTDIR=%{buildroot}
 
 #unpackaged files
-find $RPM_BUILD_ROOT -name '*.la' -exec rm -fv {} ';'
-rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
+rm -fv %{buildroot}%{_libdir}/lib*.la
+rm -rf %{buildroot}%{_docdir}/%{name}-%{version}
 
 
 %check
@@ -88,24 +64,17 @@ test "$(pkg-config --modversion OpenEXR)" = "%{version}"
 make check
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
-%defattr(-,root,root,-)
-%{_bindir}/*
+%{_bindir}/exr*
 
 %post libs -p /sbin/ldconfig
 %postun libs  -p /sbin/ldconfig
 
 %files libs
-%defattr(-,root,root,-)
 %doc AUTHORS ChangeLog LICENSE NEWS README
-%{_libdir}/libIlmImf.so.%{soname}*
+%{_libdir}/libIlmImf-Imf_2_0.so.20*
 
 %files devel
-%defattr(-,root,root,-)
 #omit for now, they're mostly useless, and include multilib conflicts (#342781)
 #doc rpmdocs/examples 
 %{_datadir}/aclocal/openexr.m4
@@ -115,6 +84,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Wed Aug 28 2013 Rex Dieter <rdieter at fedoraproject.org>  2.0.1-1
+- openexr-2.0.1
+
 * Fri Aug 02 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.7.1-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index e36254b..4deec8a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a9e0369dfd68941c50cdaa93e9d7a8d1  openexr-1.7.1.tar.gz
+4387e6050d2faa65dd5215618ff2ddce  openexr-2.0.1.tar.gz


More information about the scm-commits mailing list