File IlmBase.spec of Package IlmBase

#
# spec file for package IlmBase (Version 1.0.1)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           IlmBase
BuildRequires:  gcc-c++
Summary:        Base library for ILM software (OpenEXR)
Version:        1.0.1
Release:        40
License:        BSD 3-Clause
Group:          Development/Libraries/C and C++
Url:            http://www.openexr.com
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source0:        ilmbase-%version.tar.gz

%description
Base library for Industrial Light & Magic software (OpenEXR).

* Half is a class that encapsulates our 16-bit floating-point
   format.

* IlmThread is a thread abstraction library for use with OpenEXR and
   other software packages.  It currently supports pthreads and
   Windows threads.

* Imath implements 2D and 3D vectors, 3x3 and 4x4 matrices,
   quaternions and other useful 2D and 3D math functions.

* Iex is an exception-handling library.



Authors:
--------
    Developers:
    -----------
    
    Florian Kainz <kainz@ilm.com>
    Rod Bogart <rgb@ilm.com>
    Drew Hess <dhess@ilm.com>
    Paul Schneider <pauls@ilm.com>
    Bill Anderson <wja@ilm.com>
    Wojciech Jarosz <wjarosz@ucsd.edu>
    
    Contributors:
    -------------
    
    Simon Green <SGreen@nvidia.com>
    Rito Trevino <etrevino@ilm.com>
    Josh Pines
    Christian Rouet
    Rodrigo Damazio <rdamazio@lsi.usp.br>
    Greg Ward <gward@lmi.net>
    Joseph Goldstone <joseph@lp.com>
    Loren Carpenter, Pixar Animation Studios
    
    Win32 port contributors:
    ------------------------
    
    Dustin Graves <dgraves@computer.org>
    Jukka Liimatta <jukka.liimatta@twilight3d.com>
    Baumann Konstantin <Konstantin.Baumann@hpi.uni-potsdam.de>
    Daniel Koch <daniel@eyeonline.com>
    Luc-Eric Rousseau <lucer@softimage.com>
    E. Scott Larsen <larsene@cs.unc.edu>
    stephan mantler <step@acm.org>
    Andreas Kahler <AKahler@nxn-software.com>
    Frank Jargstorff <fjargstorff@nvidia.com>
    Lutz Latta

%package devel
License:        BSD 3-Clause; GPL v2 or later
Requires:       %{name} = %{version} libstdc++-devel
Group:          Development/Libraries/C and C++
Summary:        Base library for ILM software (OpenEXR)

%description devel
Base library for Industrial Light & Magic software (OpenEXR).

* Half is a class that encapsulates our 16-bit floating-point
   format.

* IlmThread is a thread abstraction library for use with OpenEXR and
   other software packages.  It currently supports pthreads and
   Windows threads.

* Imath implements 2D and 3D vectors, 3x3 and 4x4 matrices,
   quaternions and other useful 2D and 3D math functions.

* Iex is an exception-handling library.



Authors:
--------
    Developers:
    -----------
    
    Florian Kainz <kainz@ilm.com>
    Rod Bogart <rgb@ilm.com>
    Drew Hess <dhess@ilm.com>
    Paul Schneider <pauls@ilm.com>
    Bill Anderson <wja@ilm.com>
    Wojciech Jarosz <wjarosz@ucsd.edu>
    
    Contributors:
    -------------
    
    Simon Green <SGreen@nvidia.com>
    Rito Trevino <etrevino@ilm.com>
    Josh Pines
    Christian Rouet
    Rodrigo Damazio <rdamazio@lsi.usp.br>
    Greg Ward <gward@lmi.net>
    Joseph Goldstone <joseph@lp.com>
    Loren Carpenter, Pixar Animation Studios
    
    Win32 port contributors:
    ------------------------
    
    Dustin Graves <dgraves@computer.org>
    Jukka Liimatta <jukka.liimatta@twilight3d.com>
    Baumann Konstantin <Konstantin.Baumann@hpi.uni-potsdam.de>
    Daniel Koch <daniel@eyeonline.com>
    Luc-Eric Rousseau <lucer@softimage.com>
    E. Scott Larsen <larsene@cs.unc.edu>
    stephan mantler <step@acm.org>
    Andreas Kahler <AKahler@nxn-software.com>
    Frank Jargstorff <fjargstorff@nvidia.com>
    Lutz Latta

%prep
%setup -q -n ilmbase-%version
# remove a non unix READMEs
rm README.win32

%build
export CFLAGS="$RPM_OPT_FLAGS"
export CXXFLAGS="$RPM_OPT_FLAGS"
export PTHREAD_LIBS="-lpthread"
%configure --disable-static --with-pic
%{__make} %{?jobs:-j%jobs}

%install
make DESTDIR=$RPM_BUILD_ROOT install
rm -f %{buildroot}%{_libdir}/*.la

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING LICENSE NEWS README*
%_libdir/libHalf.so.*
%_libdir/libIex.so.*
%_libdir/libImath.so.*
%_libdir/libIlmThread.so.*

%files devel
%defattr(-,root,root)
/usr/include/OpenEXR
%_libdir/libHalf.so
%_libdir/libIex.so
%_libdir/libImath.so
%_libdir/libIlmThread.so
%_libdir/pkgconfig/IlmBase.pc

%changelog
* Sat Jun 14 2008 crrodriguez@suse.de
- remove unusable static libraries
* Thu Apr 10 2008 ro@suse.de
- added baselibs.conf file to build xxbit packages
  for multilib support
* Wed Oct 31 2007 mvyskocil@suse.cz
- inital release (version 1.0.1)
  * need for the update of OpenEXR to 1.6.1
openSUSE Build Service is sponsored by