SHA256
1
0
forked from pool/openexr
openexr/openexr.spec
Stephan Kulow 0daaa1afe1 Accepting request 172655 from devel:libraries:c_c++
- update to 2.0.0
 * Deep Data support - Pixels can now store a variable-length list of samples.
   The main rationale behind deep images is to enable the storage of multiple
   values at different depths for each pixel. OpenEXR 2.0 supports both                                                                                              
   hard-surface and volumetric representations for Deep Compositing workflows.                                                                                       
 * Multi-part Image Files - With OpenEXR 2.0, files can now contain a number
   of separate, but related, data parts in one file. Access to any part is
   independent of the others, pixels from parts that are not required in the
   current operation don't need to be accessed, resulting in quicker read
   times when accessing only a subset of channels. The multipart interface                 
   also incorporates support for Stereo images where views are stored in                                                                                             
   separate parts. This makes stereo OpenEXR 2.0 files significantly faster to
   work with than the previous multiview support in OpenEXR.
 * Optimized pixel reading - decoding RGB(A) scanline images has been
   accelerated on SSE processors providing a significant speedup when reading
   both old and new format images, including multipart and multiview files.
 * Namespacing - The library introduces versioned namespaces to avoid
   conflicts between packages compiled with different versions of the library.
- obsoleted 
    openexr-suse-docdir.patch (moved in install phase)
    openexr-disable-tests.patch

OBS-URL: https://build.opensuse.org/request/show/172655
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openexr?expand=0&rev=16
2013-04-20 20:07:36 +00:00

156 lines
4.7 KiB
RPMSpec

#
# spec file for package openexr
#
# Copyright (c) 2013 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/
#
%global so_suffix -Imf_2_0-20
Name: openexr
Version: 2.0.0
Release: 0
Summary: Utilities for work with HDR images in OpenEXR format
License: BSD-3-Clause
Group: Productivity/Graphics/Other
Url: http://www.openexr.com/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: automake
BuildRequires: fltk-devel
BuildRequires: freeglut-devel
BuildRequires: gcc-c++
BuildRequires: ilmbase-devel >= 2.0.0
BuildRequires: pkg-config
BuildRequires: zlib-devel
Obsoletes: OpenEXR <= 1.6.1
Provides: OpenEXR = %{version}
Source0: http://download.savannah.nongnu.org/releases/%{name}/%{name}-%{version}.tar.gz
Source1: baselibs.conf
%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 libIlmImf%{so_suffix}
Summary: Library to Handle EXR Pictures in 16-Bit Floating-Point Format
Group: Development/Libraries/C and C++
%description -n libIlmImf%{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 libIlmImf
%post -n libIlmImf%{so_suffix} -p /sbin/ldconfig
%postun -n libIlmImf%{so_suffix} -p /sbin/ldconfig
%files -n libIlmImf%{so_suffix}
%defattr(-,root,root)
%doc COPYING
%{_libdir}/libIlmImf-*.so.*
%package devel
Summary: Library to Handle EXR Pictures (16-bit floating-point format)
Group: Development/Libraries/C and C++
Obsoletes: OpenEXR-devel <= 1.6.1
Provides: OpenEXR-devel = %{version}
Obsoletes: libopenexr-devel <= 1.7.0
Provides: libopenexr-devel = %{version}
Requires: libilmbase-devel
Requires: libopenexr7 = %{version}
Requires: pkg-config
Requires: zlib-devel
%description 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
Summary: Library to Handle EXR Pictures in 16-Bit Floating-Point Format
Group: Development/Libraries/C and C++
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
# remove 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} %{?_smp_mflags}
%install
%{makeinstall}
%{__rm} -f %{buildroot}%{_libdir}/*.la
install -d -m 0755 %{buildroot}%{_defaultdocdir}/
mv %{buildroot}%{_datadir}/doc/OpenEXR-2.0.0 %{buildroot}%{_defaultdocdir}/%{name}-%{version}
%check
#XXX: it seems running tests in BS is not very reliable, so
# so let disable it
# % {__make} check
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING LICENSE NEWS README*
%{_bindir}/exrenvmap
%{_bindir}/exrheader
%{_bindir}/exrmakepreview
%{_bindir}/exrmaketiled
%{_bindir}/exrstdattr
%{_bindir}/exrmultiview
%{_bindir}/exrmultipart
%files 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