|
|
990902 |
|
|
|
990902 |
Name: ilmbase
|
|
|
990902 |
Version: 1.0.3
|
|
|
990902 |
Release: 7%{?dist}
|
|
|
990902 |
Summary: Abstraction/convenience libraries
|
|
|
990902 |
|
|
|
990902 |
Group: System Environment/Libraries
|
|
|
990902 |
License: BSD
|
|
|
990902 |
URL: http://www.openexr.com/
|
|
|
990902 |
Source0: https://github.com/downloads/openexr/openexr/ilmbase-%{version}.tar.gz
|
|
|
990902 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
990902 |
|
|
|
990902 |
BuildRequires: automake libtool
|
|
|
990902 |
BuildRequires: pkgconfig
|
|
|
990902 |
# silly rpm, won't pick up rpm dependencies for items not in it's buildroot
|
|
|
990902 |
# see http://bugzilla.redhat.com/866302
|
|
|
990902 |
BuildRequires: pkgconfig(gl) pkgconfig(glu)
|
|
|
990902 |
|
|
|
990902 |
## upstreamable patches
|
|
|
990902 |
# revert soname bump
|
|
|
990902 |
# upstream missed bumping to so7 for OpenEXR-1.7.0, decided to do so now for
|
|
|
990902 |
# OpenEXR-1.7.1. given fedora has shipped OpenEXR-1.7.0 since f15, bumping
|
|
|
990902 |
# ABI now makes little sense.
|
|
|
990902 |
Patch50: ilmbase-1.0.3-so6.patch
|
|
|
990902 |
# explicitly add $(PTHREAD_LIBS) to libIlmThread linkage (helps workaround below)
|
|
|
990902 |
Patch51: ilmbase-1.0.2-no_undefined.patch
|
|
|
990902 |
# the FPU exception code is x86 specific
|
|
|
990902 |
Patch52: ilmbase-1.0.3-secondary.patch
|
|
|
990902 |
# add Requires.private: gl glu to IlmBase.pc
|
|
|
990902 |
Patch53: ilmbase-1.0.3-pkgconfig.patch
|
|
|
990902 |
|
|
|
990902 |
## upstream patches
|
|
|
990902 |
# fix build on i686/32bit
|
|
|
990902 |
# https://github.com/openexr/openexr/issues/3
|
|
|
990902 |
Patch100: ilmbase-1.0.3-ucontext.patch
|
|
|
990902 |
|
|
|
990902 |
%description
|
|
|
990902 |
Half is a class that encapsulates the ilm 16-bit floating-point format.
|
|
|
990902 |
|
|
|
990902 |
IlmThread is a thread abstraction library for use with OpenEXR
|
|
|
990902 |
and other software packages.
|
|
|
990902 |
|
|
|
990902 |
Imath implements 2D and 3D vectors, 3x3 and 4x4 matrices, quaternions
|
|
|
990902 |
and other useful 2D and 3D math functions.
|
|
|
990902 |
|
|
|
990902 |
Iex is an exception-handling library.
|
|
|
990902 |
|
|
|
990902 |
%package devel
|
|
|
990902 |
Summary: Headers and libraries for building apps that use %{name}
|
|
|
990902 |
Group: Development/Libraries
|
|
|
990902 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
990902 |
%description devel
|
|
|
990902 |
%{summary}.
|
|
|
990902 |
|
|
|
990902 |
|
|
|
990902 |
%prep
|
|
|
990902 |
%setup -q
|
|
|
990902 |
|
|
|
990902 |
%patch50 -p1 -b .so6
|
|
|
990902 |
%patch51 -p1 -b .no_undefined
|
|
|
990902 |
%patch52 -p1 -b .secondary
|
|
|
990902 |
%patch53 -p1 -b .pkgconfig
|
|
|
990902 |
%if %{__isa_bits} == 32
|
|
|
990902 |
%patch100 -p1 -b .ucontext
|
|
|
990902 |
%endif
|
|
|
990902 |
./bootstrap
|
|
|
990902 |
|
|
|
990902 |
|
|
|
990902 |
%build
|
|
|
990902 |
%configure --disable-static
|
|
|
990902 |
|
|
|
990902 |
# manually set PTHREAD_LIBS to include -lpthread until libtool bogosity is fixed,
|
|
|
990902 |
# https://bugzilla.redhat.com/show_bug.cgi?id=661333
|
|
|
990902 |
make %{?_smp_mflags} PTHREAD_LIBS="-pthread -lpthread"
|
|
|
990902 |
|
|
|
990902 |
|
|
|
990902 |
%install
|
|
|
990902 |
rm -rf $RPM_BUILD_ROOT
|
|
|
990902 |
|
|
|
990902 |
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
|
|
990902 |
|
|
|
990902 |
rm -fv $RPM_BUILD_ROOT%{_libdir}/lib*.la
|
|
|
990902 |
|
|
|
990902 |
|
|
|
990902 |
%check
|
|
|
990902 |
export PKG_CONFIG_PATH=%{buildroot}%{_datadir}/pkgconfig:%{buildroot}%{_libdir}/pkgconfig
|
|
|
990902 |
test "$(pkg-config --modversion IlmBase)" = "%{version}"
|
|
|
990902 |
# is the known-failure ix86-specific or 32bit specific? guess we'll find out -- rex
|
|
|
990902 |
%ifarch %{ix86}
|
|
|
990902 |
make check ||:
|
|
|
990902 |
%else
|
|
|
990902 |
make check
|
|
|
990902 |
%endif
|
|
|
990902 |
|
|
|
990902 |
|
|
|
990902 |
%clean
|
|
|
990902 |
rm -rf $RPM_BUILD_ROOT
|
|
|
990902 |
|
|
|
990902 |
|
|
|
990902 |
%post -p /sbin/ldconfig
|
|
|
990902 |
%postun -p /sbin/ldconfig
|
|
|
990902 |
|
|
|
990902 |
%files
|
|
|
990902 |
%defattr(-,root,root,-)
|
|
|
990902 |
%doc AUTHORS ChangeLog COPYING NEWS README
|
|
|
990902 |
%{_libdir}/libHalf.so.6*
|
|
|
990902 |
%{_libdir}/libIex.so.6*
|
|
|
990902 |
%{_libdir}/libIexMath.so.6*
|
|
|
990902 |
%{_libdir}/libIlmThread.so.6*
|
|
|
990902 |
%{_libdir}/libImath.so.6*
|
|
|
990902 |
|
|
|
990902 |
%files devel
|
|
|
990902 |
%defattr(-,root,root,-)
|
|
|
990902 |
%{_includedir}/OpenEXR/
|
|
|
990902 |
%{_libdir}/lib*.so
|
|
|
990902 |
%{_libdir}/pkgconfig/IlmBase.pc
|
|
|
990902 |
|
|
|
990902 |
|
|
|
990902 |
%changelog
|
|
|
990902 |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.0.3-7
|
|
|
990902 |
- Mass rebuild 2014-01-24
|
|
|
990902 |
|
|
|
990902 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.0.3-6
|
|
|
990902 |
- Mass rebuild 2013-12-27
|
|
|
990902 |
|
|
|
990902 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-5
|
|
|
990902 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
990902 |
|
|
|
990902 |
* Mon Oct 15 2012 Rex Dieter <rdieter@fedoraproject.org> 1.0.3-4
|
|
|
990902 |
- ilmbase-devel missing dependency on libGLU-devel (#866302)
|
|
|
990902 |
|
|
|
990902 |
* Sat Sep 08 2012 Rex Dieter <rdieter@fedoraproject.org> - 1.0.3-3
|
|
|
990902 |
- IlmBase.pc: +Requires.private: gl glu
|
|
|
990902 |
- -devel: drop hard-coded libGL/pkgconfig deps, let rpm autodetect now
|
|
|
990902 |
|
|
|
990902 |
* Tue Sep 04 2012 Dan Horák <dan[at]danny.cz> 1.0.3-2
|
|
|
990902 |
- fix build on non-x86 arches
|
|
|
990902 |
|
|
|
990902 |
* Sun Aug 05 2012 Rex Dieter <rdieter@fedoraproject.org> 1.0.3-1
|
|
|
990902 |
- ilmbase-1.0.3
|
|
|
990902 |
- ix86 fix courtesy of Nicolas Chauvet <kwizart@gmail.com>
|
|
|
990902 |
|
|
|
990902 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-5
|
|
|
990902 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
990902 |
|
|
|
990902 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-4
|
|
|
990902 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
990902 |
|
|
|
990902 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-3
|
|
|
990902 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
990902 |
|
|
|
990902 |
* Wed Dec 08 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.0.2-2
|
|
|
990902 |
- libIlmThread missing -pthread linkage (#661115)
|
|
|
990902 |
- %%install: INSTALL="install -p"
|
|
|
990902 |
- -devel: tighten dep using %%?_isa
|
|
|
990902 |
|
|
|
990902 |
* Wed Jul 28 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.0.2-1
|
|
|
990902 |
- ilmbase-1.0.2
|
|
|
990902 |
|
|
|
990902 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-6
|
|
|
990902 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
990902 |
|
|
|
990902 |
* Mon May 4 2009 Ville Skyttä <ville.skytta at iki.fi> - 1.0.1-5
|
|
|
990902 |
- Fix spelling error in summary.
|
|
|
990902 |
|
|
|
990902 |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-4
|
|
|
990902 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
990902 |
|
|
|
990902 |
* Fri Dec 12 2008 Rex Dieter <rdieter@fedoraproject.org> 1.0.1-3
|
|
|
990902 |
- rebuild for pkgconfig deps
|
|
|
990902 |
|
|
|
990902 |
* Fri Feb 08 2008 Rex Dieter <rdieter@fedoraproject.org> 1.0.1-2
|
|
|
990902 |
- respin (gcc43)
|
|
|
990902 |
|
|
|
990902 |
* Mon Jan 07 2008 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.1-1
|
|
|
990902 |
- ilmbase-1.0.1
|
|
|
990902 |
|
|
|
990902 |
* Fri Oct 12 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.0-3
|
|
|
990902 |
- include *.tar.sig in sources
|
|
|
990902 |
|
|
|
990902 |
* Mon Oct 08 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.0-2
|
|
|
990902 |
- update %%summary
|
|
|
990902 |
- -devel: +Requires: libGL-devel libGLU-devel
|
|
|
990902 |
- make install ... INSTALL="install -p" to preserve timestamps
|
|
|
990902 |
|
|
|
990902 |
|
|
|
990902 |
* Thu Aug 09 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.0-1
|
|
|
990902 |
- ilmbase-1.0.0 (first try)
|
|
|
990902 |
|