123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118 |
- Summary: Abraction/convenience libraries
- Name: ilmbase
- Version: 1.0.2
- Release: 1%{?_dist_release}
- Group: System Environment/Libraries
- License: BSD
- URL: http://www.openexr.com/
- Source0: http://download.savannah.nongnu.org/releases/openexr/ilmbase-%{version}.tar.gz
- Source1: http://download.savannah.nongnu.org/releases/openexr/ilmbase-%{version}.tar.gz.sig
- ## upstreamable patches
- # missing #include <cstring>
- Patch50: ilmbase-1.0.2-cstring.patch
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildRequires: pkgconfig
- %description
- Half is a class that encapsulates the ilm 16-bit floating-point format.
- IlmThread is a thread abstraction library for use with OpenEXR
- and other software packages.
- 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.
- %package devel
- Summary: Headers and libraries for building apps that use %{name}
- Group: Development/Libraries
- Requires: %{name} = %{version}-%{release}
- Requires: libGL-devel libGLU-devel
- Requires: pkgconfig
- %description devel
- %{summary}.
- %prep
- %setup -q
- %patch50 -p1 -b .cstring
- %build
- %configure --disable-static
- make %{?_smp_mflags}
- %install
- rm -rf $RPM_BUILD_ROOT
- make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
- rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
- %check
- export PKG_CONFIG_PATH=%{buildroot}%{_datadir}/pkgconfig:%{buildroot}%{_libdir}/pkgconfig
- test "$(pkg-config --modversion IlmBase)" = "%{version}"
- %ifarch %{ix86}
- make check ||:
- %else
- make check
- %endif
- %clean
- rm -rf $RPM_BUILD_ROOT
- %post -p /sbin/ldconfig
- %postun -p /sbin/ldconfig
- %files
- %defattr(-,root,root,-)
- %doc AUTHORS ChangeLog COPYING NEWS README
- %{_libdir}/lib*.so.*
- %files devel
- %defattr(-,root,root,-)
- %{_includedir}/OpenEXR/
- %{_libdir}/lib*.so
- %{_libdir}/pkgconfig/*
- %changelog
- * Tue Sep 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.2-1
- - updated to 1.0.2
- - rebuilt with rpm-4.8.1
- * Mon Oct 06 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.1-1
- - initial build for Vine Linux
- * Fri Feb 08 2008 Rex Dieter <rdieter@fedoraproject.org> 1.0.1-2
- - respin (gcc43)
- * Mon Jan 07 2008 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.1-1
- - ilmbase-1.0.1
- * Fri Oct 12 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.0-3
- - include *.tar.sig in sources
- * Mon Oct 08 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.0-2
- - update %%summary
- - -devel: +Requires: libGL-devel libGLU-devel
- - make install ... INSTALL="install -p" to preserve timestamps
- * Thu Aug 09 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.0-1
- - ilmbase-1.0.0 (first try)
|