[521] | 1 | Summary: Abraction/convenience libraries |
---|
| 2 | Name: ilmbase |
---|
[9166] | 3 | Version: 2.2.0 |
---|
[10406] | 4 | Release: 2%{?_dist_release} |
---|
[521] | 5 | |
---|
| 6 | Group: System Environment/Libraries |
---|
| 7 | License: BSD |
---|
| 8 | URL: http://www.openexr.com/ |
---|
[1855] | 9 | |
---|
[521] | 10 | Source0: http://download.savannah.nongnu.org/releases/openexr/ilmbase-%{version}.tar.gz |
---|
[9166] | 11 | ## upstreamable patches |
---|
| 12 | # explicitly add $(PTHREAD_LIBS) to libIlmThread linkage (helps PTHREAD_LIBS workaround in %%build) |
---|
| 13 | Patch51: ilmbase-2.2.0-no_undefined.patch |
---|
| 14 | # add Requires.private: gl glu to IlmBase.pc |
---|
| 15 | Patch53: ilmbase-1.0.3-pkgconfig.patch |
---|
[521] | 16 | |
---|
[1855] | 17 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 18 | BuildRequires: pkgconfig |
---|
[9166] | 19 | # silly rpm, won't pick up rpm dependencies for items not in it's buildroot |
---|
| 20 | # see http://bugzilla.redhat.com/866302 |
---|
| 21 | BuildRequires: libGL-devel |
---|
| 22 | BuildRequires: libGLU-devel |
---|
[521] | 23 | |
---|
[8084] | 24 | Vendor: Project Vine |
---|
| 25 | Distribution: Vine Linux |
---|
| 26 | |
---|
[521] | 27 | %description |
---|
| 28 | Half is a class that encapsulates the ilm 16-bit floating-point format. |
---|
| 29 | |
---|
| 30 | IlmThread is a thread abstraction library for use with OpenEXR |
---|
| 31 | and other software packages. |
---|
| 32 | |
---|
| 33 | Imath implements 2D and 3D vectors, 3x3 and 4x4 matrices, quaternions |
---|
| 34 | and other useful 2D and 3D math functions. |
---|
| 35 | |
---|
| 36 | Iex is an exception-handling library. |
---|
| 37 | |
---|
| 38 | %package devel |
---|
| 39 | Summary: Headers and libraries for building apps that use %{name} |
---|
[9166] | 40 | Summary(ja): %{name} を使うアプリケーションをビルドするためのヘッダファイル及びライブラリ |
---|
| 41 | Group: Development/Libraries |
---|
[521] | 42 | Requires: %{name} = %{version}-%{release} |
---|
| 43 | Requires: pkgconfig |
---|
[9166] | 44 | |
---|
[521] | 45 | %description devel |
---|
| 46 | %{summary}. |
---|
| 47 | |
---|
| 48 | |
---|
| 49 | %prep |
---|
| 50 | %setup -q |
---|
[9166] | 51 | %patch51 -p1 -b .no_undefined |
---|
| 52 | %patch53 -p1 -b .pkgconfig |
---|
[521] | 53 | |
---|
| 54 | %build |
---|
| 55 | %configure --disable-static |
---|
| 56 | |
---|
[9166] | 57 | # manually set PTHREAD_LIBS to include -lpthread until libtool bogosity is fixed, |
---|
| 58 | # https://bugzilla.redhat.com/show_bug.cgi?id=661333 |
---|
| 59 | make %{?_smp_mflags} PTHREAD_LIBS="-pthread -lpthread" |
---|
[521] | 60 | |
---|
| 61 | |
---|
| 62 | %install |
---|
| 63 | rm -rf $RPM_BUILD_ROOT |
---|
| 64 | make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" |
---|
| 65 | |
---|
| 66 | rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la |
---|
| 67 | |
---|
| 68 | |
---|
| 69 | %check |
---|
[9166] | 70 | export PKG_CONFIG_PATH=$RPM_BUILD_ROOT%{_datadir}/pkgconfig:$RPM_BUILD_ROOT%{_libdir}/pkgconfig |
---|
[1855] | 71 | test "$(pkg-config --modversion IlmBase)" = "%{version}" |
---|
| 72 | %ifarch %{ix86} |
---|
| 73 | make check ||: |
---|
| 74 | %else |
---|
[521] | 75 | make check |
---|
[1855] | 76 | %endif |
---|
[521] | 77 | |
---|
| 78 | |
---|
| 79 | %clean |
---|
| 80 | rm -rf $RPM_BUILD_ROOT |
---|
| 81 | |
---|
| 82 | |
---|
| 83 | %post -p /sbin/ldconfig |
---|
| 84 | |
---|
| 85 | %postun -p /sbin/ldconfig |
---|
| 86 | |
---|
| 87 | |
---|
| 88 | %files |
---|
| 89 | %defattr(-,root,root,-) |
---|
| 90 | %doc AUTHORS ChangeLog COPYING NEWS README |
---|
| 91 | %{_libdir}/lib*.so.* |
---|
| 92 | |
---|
| 93 | %files devel |
---|
| 94 | %defattr(-,root,root,-) |
---|
| 95 | %{_includedir}/OpenEXR/ |
---|
| 96 | %{_libdir}/lib*.so |
---|
| 97 | %{_libdir}/pkgconfig/* |
---|
| 98 | |
---|
| 99 | |
---|
| 100 | %changelog |
---|
[10406] | 101 | * Tue Jun 28 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.0-2 |
---|
| 102 | - rebuild with gcc-5.4.0 |
---|
| 103 | |
---|
[9166] | 104 | * Wed Dec 17 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.2.0-1 |
---|
| 105 | - update to 2.2.0 |
---|
| 106 | - added Patch51 and 53 from Fedora |
---|
| 107 | |
---|
[8084] | 108 | * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.1.0-1 |
---|
| 109 | - update to 2.1.0 |
---|
| 110 | - remove Patch50 |
---|
| 111 | |
---|
[1855] | 112 | * Tue Sep 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.2-1 |
---|
| 113 | - updated to 1.0.2 |
---|
| 114 | - rebuilt with rpm-4.8.1 |
---|
| 115 | |
---|
[521] | 116 | * Mon Oct 06 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.1-1 |
---|
| 117 | - initial build for Vine Linux |
---|
| 118 | |
---|
| 119 | * Fri Feb 08 2008 Rex Dieter <rdieter@fedoraproject.org> 1.0.1-2 |
---|
| 120 | - respin (gcc43) |
---|
| 121 | |
---|
| 122 | * Mon Jan 07 2008 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.1-1 |
---|
| 123 | - ilmbase-1.0.1 |
---|
| 124 | |
---|
| 125 | * Fri Oct 12 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.0-3 |
---|
| 126 | - include *.tar.sig in sources |
---|
| 127 | |
---|
| 128 | * Mon Oct 08 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.0-2 |
---|
| 129 | - update %%summary |
---|
| 130 | - -devel: +Requires: libGL-devel libGLU-devel |
---|
| 131 | - make install ... INSTALL="install -p" to preserve timestamps |
---|
| 132 | |
---|
| 133 | |
---|
| 134 | * Thu Aug 09 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.0-1 |
---|
| 135 | - ilmbase-1.0.0 (first try) |
---|
| 136 | |
---|