/[packages]/cauldron/ilmbase/current/SPECS/ilmbase.spec
ViewVC logotype

Contents of /cauldron/ilmbase/current/SPECS/ilmbase.spec

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.30