Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37669521
en ru br
ALT Linux repos
S:3.1.5-alt2.2
5.0: 1.6.1-alt3
4.1: 1.6.1-alt1
4.0: 1.4.0-alt1.a
3.0: 1.2.2-alt1

Group :: System/Libraries
RPM: openexr

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _optlevel s
%define beta %nil
%define libsover 6

%define rname OpenEXR
Name: openexr
Version: 1.6.1
Release: alt3

Group: System/Libraries
Summary: A high-dynamic-range image file library
License: Modified BSD
URL: http://www.openexr.org/

Requires: libilmimf%libsover = %version-%release
Provides: %rname = %version-%release
Obsoletes: %rname < %version-%release
Provides: %name-utils = %version-%release
Obsoletes: %name-utils < %version-%release

Source: %name-%version%beta.tar
Patch1: OpenEXR-1.2.2-zlib.patch
Patch2: OpenEXR-1.2.2-forwardfriend.patch
Patch3: openexr-1.4.0-alt-fix-linking.patch
Patch4: openexr-1.6.1-alt-gcc43.patch

# Automatically added by buildreq on Mon Sep 27 2004 (-bi)

BuildRequires: xorg-x11-devel gcc-c++
BuildRequires: libGLU-devel libfltk-devel
BuildRequires: libstdc++-devel zlib-devel ilmbase-devel
#BuildRequires: python-base python-modules-compiler python-modules-encodings rpm-build-python

%description
OpenEXR is an image file format and library developed by Industrial Light
& Magic, and later released to the public. It provides support for high
dynamic range and a 16-bit floating point "half" data type which is
compatible with the half data type in the Cg programming language.


%package -n %name%libsover-common
Group: System/Configuration/Other
Summary: Common empty package for %name
%description -n %name%libsover-common
Common empty package for %name

%package -n libilmimf%libsover
Group: System/Libraries
Summary: libIlmImf %rname library
Requires: %name%libsover-common = %version-%release
Conflicts: openexr <= 1.6.1-alt1
%description -n libilmimf%libsover
libIlmImf %rname library

%package devel
Summary: Headers for developing programs that will use %rname
Group: Development/Other
Requires: %name%libsover-common = %version-%release
Requires: ilmbase-devel
#
%description devel
This package contains the static libraries and header files needed for
developing applications with %rname

%prep
%setup -q -n %name-%version
#%patch1 -p1
#%patch2 -p1
#%patch3 -p1
%patch4 -p1

#autoreconf

./bootstrap ||:


%build
%configure \
 --enable-shared \
 --disable-static \
 --enable-dependency-tracking \
 --enable-imfexamples \
 --disable-ilmbasetest

%make_build


%install
%make DESTDIR=%buildroot install
rm -rf ./installed-docs
ln -sf %buildroot/%_docdir/%rname-%version ./installed-docs



%files -n %name%libsover-common

%files
%doc AUTHORS ChangeLog COPYING NEWS README
%_bindir/*

%files -n libilmimf%libsover
%_libdir/libIlmImf.so.*

%files devel
%doc AUTHORS ChangeLog COPYING installed-docs/*
%_includedir/%rname
%_libdir/*.so
%_libdir/pkgconfig/*
%_datadir/aclocal/%name.m4


%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin