1 |
fwang |
477826 |
%define major 10 |
2 |
mikala |
18039 |
%define libname %mklibname %{name} %{major} |
3 |
|
|
%define develname %mklibname %{name} -d |
4 |
|
|
|
5 |
|
|
Summary: Abraction/convenience libraries for OpenEXR |
6 |
|
|
Name: ilmbase |
7 |
fwang |
477826 |
Version: 2.0.1 |
8 |
|
|
Release: %mkrel 1 |
9 |
mikala |
18039 |
Group: System/Libraries |
10 |
|
|
License: BSD |
11 |
|
|
URL: http://www.openexr.com |
12 |
fwang |
477826 |
Source0: http://download.savannah.nongnu.org/releases/openexr/%{name}-%{version}.tar.gz |
13 |
mikala |
18039 |
Patch0: %{name}-1.0.0-pthread.patch |
14 |
fwang |
324938 |
Patch1: ilmbase-1.0.3-secondary.patch |
15 |
|
|
Patch2: ilmbase-1.0.3-pkgconfig.patch |
16 |
|
|
Patch3: ilmbase-1.0.3-ucontext.patch |
17 |
mikala |
18039 |
|
18 |
|
|
%description |
19 |
|
|
Half is a class that encapsulates the ilm 16-bit floating-point format. |
20 |
|
|
|
21 |
|
|
IlmThread is a thread abstraction library for use with OpenEXR |
22 |
|
|
and other software packages. |
23 |
|
|
|
24 |
|
|
Imath implements 2D and 3D vectors, 3x3 and 4x4 matrices, quaternions |
25 |
|
|
and other useful 2D and 3D math functions. |
26 |
|
|
|
27 |
|
|
Iex is an exception-handling library. |
28 |
|
|
|
29 |
|
|
%package -n %{libname} |
30 |
|
|
Summary: Abraction/convenience libraries for OpenEXR |
31 |
|
|
Group: System/Libraries |
32 |
|
|
|
33 |
|
|
%description -n %{libname} |
34 |
|
|
Half is a class that encapsulates the ilm 16-bit floating-point format. |
35 |
|
|
|
36 |
|
|
IlmThread is a thread abstraction library for use with OpenEXR |
37 |
|
|
and other software packages. |
38 |
|
|
|
39 |
|
|
Imath implements 2D and 3D vectors, 3x3 and 4x4 matrices, quaternions |
40 |
|
|
and other useful 2D and 3D math functions. |
41 |
|
|
|
42 |
|
|
Iex is an exception-handling library. |
43 |
|
|
|
44 |
|
|
|
45 |
|
|
%package -n %{develname} |
46 |
|
|
Summary: Development files for %{name} |
47 |
|
|
Group: Development/C++ |
48 |
|
|
Requires: %{libname} = %{version}-%{release} |
49 |
|
|
Requires: mesaglu-devel |
50 |
|
|
Provides: lib%{name}-devel = %{version}-%{release} |
51 |
|
|
Provides: %{name}-devel = %{version}-%{release} |
52 |
|
|
Conflicts: OpenEXR-devel < 1.4.1 |
53 |
|
|
|
54 |
|
|
%description -n %{develname} |
55 |
|
|
Development files for %{name}. |
56 |
|
|
|
57 |
|
|
%prep |
58 |
|
|
%setup -q |
59 |
fwang |
324941 |
%patch0 -p1 |
60 |
|
|
%patch1 -p1 |
61 |
|
|
%patch2 -p1 |
62 |
|
|
%if %{__isa_bits} == 32 |
63 |
|
|
%patch3 -p1 |
64 |
|
|
%endif |
65 |
mikala |
18039 |
|
66 |
|
|
%build |
67 |
cjw |
339206 |
./bootstrap |
68 |
mikala |
18039 |
%configure2_5x \ |
69 |
|
|
--disable-static |
70 |
|
|
|
71 |
|
|
%make |
72 |
|
|
|
73 |
|
|
%install |
74 |
|
|
%makeinstall_std |
75 |
|
|
|
76 |
|
|
rm -f %{buildroot}%{_libdir}/lib*.la |
77 |
|
|
|
78 |
|
|
%files -n %{libname} |
79 |
|
|
%{_libdir}/lib*.so.%{major}* |
80 |
|
|
|
81 |
|
|
%files -n %{develname} |
82 |
|
|
%doc AUTHORS ChangeLog NEWS README |
83 |
|
|
%{_includedir}/OpenEXR/ |
84 |
|
|
%{_libdir}/lib*.so |
85 |
|
|
%{_libdir}/pkgconfig/* |