1 | Summary: Abraction/convenience libraries |
---|
2 | Name: ilmbase |
---|
3 | Version: 2.2.0 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | |
---|
6 | Group: System Environment/Libraries |
---|
7 | License: BSD |
---|
8 | URL: http://www.openexr.com/ |
---|
9 | |
---|
10 | Source0: http://download.savannah.nongnu.org/releases/openexr/ilmbase-%{version}.tar.gz |
---|
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 |
---|
16 | |
---|
17 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
18 | BuildRequires: pkgconfig |
---|
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 |
---|
23 | |
---|
24 | Vendor: Project Vine |
---|
25 | Distribution: Vine Linux |
---|
26 | |
---|
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} |
---|
40 | Summary(ja): %{name} を使うアプリケーションをビルドするためのヘッダファイル及びライブラリ |
---|
41 | Group: Development/Libraries |
---|
42 | Requires: %{name} = %{version}-%{release} |
---|
43 | Requires: pkgconfig |
---|
44 | |
---|
45 | %description devel |
---|
46 | %{summary}. |
---|
47 | |
---|
48 | |
---|
49 | %prep |
---|
50 | %setup -q |
---|
51 | %patch51 -p1 -b .no_undefined |
---|
52 | %patch53 -p1 -b .pkgconfig |
---|
53 | |
---|
54 | %build |
---|
55 | %configure --disable-static |
---|
56 | |
---|
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" |
---|
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 |
---|
70 | export PKG_CONFIG_PATH=$RPM_BUILD_ROOT%{_datadir}/pkgconfig:$RPM_BUILD_ROOT%{_libdir}/pkgconfig |
---|
71 | test "$(pkg-config --modversion IlmBase)" = "%{version}" |
---|
72 | %ifarch %{ix86} |
---|
73 | make check ||: |
---|
74 | %else |
---|
75 | make check |
---|
76 | %endif |
---|
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 |
---|
101 | * Wed Dec 17 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.2.0-1 |
---|
102 | - update to 2.2.0 |
---|
103 | - added Patch51 and 53 from Fedora |
---|
104 | |
---|
105 | * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.1.0-1 |
---|
106 | - update to 2.1.0 |
---|
107 | - remove Patch50 |
---|
108 | |
---|
109 | * Tue Sep 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.2-1 |
---|
110 | - updated to 1.0.2 |
---|
111 | - rebuilt with rpm-4.8.1 |
---|
112 | |
---|
113 | * Mon Oct 06 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.1-1 |
---|
114 | - initial build for Vine Linux |
---|
115 | |
---|
116 | * Fri Feb 08 2008 Rex Dieter <rdieter@fedoraproject.org> 1.0.1-2 |
---|
117 | - respin (gcc43) |
---|
118 | |
---|
119 | * Mon Jan 07 2008 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.1-1 |
---|
120 | - ilmbase-1.0.1 |
---|
121 | |
---|
122 | * Fri Oct 12 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.0-3 |
---|
123 | - include *.tar.sig in sources |
---|
124 | |
---|
125 | * Mon Oct 08 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.0-2 |
---|
126 | - update %%summary |
---|
127 | - -devel: +Requires: libGL-devel libGLU-devel |
---|
128 | - make install ... INSTALL="install -p" to preserve timestamps |
---|
129 | |
---|
130 | |
---|
131 | * Thu Aug 09 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.0-1 |
---|
132 | - ilmbase-1.0.0 (first try) |
---|
133 | |
---|