Accepting request 283302 from home:mlin7442:branches:graphics
update to 2.2.0 OBS-URL: https://build.opensuse.org/request/show/283302 OBS-URL: https://build.opensuse.org/package/show/graphics/openexr?expand=0&rev=4
This commit is contained in:
committed by
Git OBS Bridge
parent
97b4c8a7a9
commit
49a2a6b7cf
31
openexr.spec
31
openexr.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package openexr
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 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
|
||||
@@ -16,14 +16,14 @@
|
||||
#
|
||||
|
||||
|
||||
%global so_suffix -Imf_2_1-21
|
||||
%global so_suffix -2_2-22
|
||||
|
||||
# tests should run at least during local build
|
||||
# but do expect a HUGE number of memory, so beware
|
||||
%bcond_with tests
|
||||
|
||||
Name: openexr
|
||||
Version: 2.1.0
|
||||
Version: 2.2.0
|
||||
Release: 0
|
||||
Summary: Utilities for work with HDR images in OpenEXR format
|
||||
License: BSD-3-Clause
|
||||
@@ -43,8 +43,6 @@ Source0: http://download.savannah.nongnu.org/releases/%{name}/%{name}-%{v
|
||||
Source1: http://download.savannah.nongnu.org/releases/%{name}/%{name}-%{version}.tar.gz.sig
|
||||
Source2: baselibs.conf
|
||||
Source3: openexr.keyring
|
||||
# PATCH-FIX-UPSTREAM install ImfDeepImageStateAttribute.h header too Rex Dieter<rdieter@math.unl.edu>
|
||||
Patch0: openexr-2.1.0-headers.patch
|
||||
|
||||
%description
|
||||
OpenEXR is a high dynamic-range (HDR) image file format developed by
|
||||
@@ -78,6 +76,25 @@ This package contains shared library libIlmImf
|
||||
%doc COPYING
|
||||
%{_libdir}/libIlmImf-*.so.*
|
||||
|
||||
%package -n libIlmImfUtil%{so_suffix}
|
||||
Summary: Library to simplify development of OpenEXR utilities
|
||||
Group: Development/Libraries/C and C++
|
||||
|
||||
%description -n libIlmImfUtil%{so_suffix}
|
||||
OpenEXR is a high dynamic-range (HDR) image file format developed by
|
||||
Industrial Light & Magic for use in computer imaging applications.
|
||||
|
||||
This package contains shared library libIlmImfUtil
|
||||
|
||||
%post -n libIlmImfUtil%{so_suffix} -p /sbin/ldconfig
|
||||
|
||||
%postun -n libIlmImfUtil%{so_suffix} -p /sbin/ldconfig
|
||||
|
||||
%files -n libIlmImfUtil%{so_suffix}
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING
|
||||
%{_libdir}/libIlmImfUtil-*.so.*
|
||||
|
||||
%package devel
|
||||
Summary: Library to Handle EXR Pictures (16-bit floating-point format)
|
||||
Group: Development/Libraries/C and C++
|
||||
@@ -86,6 +103,7 @@ Provides: OpenEXR-devel = %{version}
|
||||
Obsoletes: libopenexr-devel <= 1.7.0
|
||||
Provides: libopenexr-devel = %{version}
|
||||
Requires: libIlmImf%{so_suffix} = %{version}
|
||||
Requires: libIlmImfUtil%{so_suffix} = %{version}
|
||||
Requires: libilmbase-devel
|
||||
Requires: pkg-config
|
||||
Requires: zlib-devel
|
||||
@@ -111,8 +129,6 @@ This package contains a documentation
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%patch0 -p1
|
||||
|
||||
# poor man's fdupes
|
||||
if cmp COPYING LICENSE; then
|
||||
rm -rf LICENSE
|
||||
@@ -162,6 +178,7 @@ mv %{buildroot}%{_datadir}/doc/OpenEXR-2* %{buildroot}%{_defaultdocdir}/%{name}-
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/OpenEXR
|
||||
%{_libdir}/libIlmImf.so
|
||||
%{_libdir}/libIlmImfUtil.so
|
||||
%{_libdir}/pkgconfig/OpenEXR.pc
|
||||
%{_datadir}/aclocal/openexr.m4
|
||||
|
||||
|
Reference in New Issue
Block a user