/[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 324933 - (show annotations) (download)
Sun Dec 2 02:25:04 2012 UTC (11 years, 3 months ago) by fwang
File size: 1966 byte(s)
new version 1.0.3
1 %define major 7
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: 1.0.3
8 Release: %mkrel 1
9 Group: System/Libraries
10 License: BSD
11 URL: http://www.openexr.com
12 Source0: https://github.com/downloads/openexr/openexr/%{name}-%{version}.tar.gz
13 Patch0: %{name}-1.0.0-pthread.patch
14
15 %description
16 Half is a class that encapsulates the ilm 16-bit floating-point format.
17
18 IlmThread is a thread abstraction library for use with OpenEXR
19 and other software packages.
20
21 Imath implements 2D and 3D vectors, 3x3 and 4x4 matrices, quaternions
22 and other useful 2D and 3D math functions.
23
24 Iex is an exception-handling library.
25
26 %package -n %{libname}
27 Summary: Abraction/convenience libraries for OpenEXR
28 Group: System/Libraries
29
30 %description -n %{libname}
31 Half is a class that encapsulates the ilm 16-bit floating-point format.
32
33 IlmThread is a thread abstraction library for use with OpenEXR
34 and other software packages.
35
36 Imath implements 2D and 3D vectors, 3x3 and 4x4 matrices, quaternions
37 and other useful 2D and 3D math functions.
38
39 Iex is an exception-handling library.
40
41
42 %package -n %{develname}
43 Summary: Development files for %{name}
44 Group: Development/C++
45 Requires: %{libname} = %{version}-%{release}
46 Requires: mesaglu-devel
47 Provides: lib%{name}-devel = %{version}-%{release}
48 Provides: %{name}-devel = %{version}-%{release}
49 Conflicts: OpenEXR-devel < 1.4.1
50
51 %description -n %{develname}
52 Development files for %{name}.
53
54 %prep
55 %setup -q
56 %patch0 -p1 -b .pthread
57
58 ./bootstrap
59
60 %build
61 %configure2_5x \
62 --disable-static
63
64 %make
65
66 %install
67 rm -rf %{buildroot}
68
69 %makeinstall_std
70
71 rm -f %{buildroot}%{_libdir}/lib*.la
72
73 %clean
74 rm -rf %{buildroot}
75
76
77
78 %files -n %{libname}
79 %defattr(-,root,root,-)
80 %{_libdir}/lib*.so.%{major}*
81
82 %files -n %{develname}
83 %defattr(-,root,root,-)
84 %doc AUTHORS ChangeLog NEWS README
85 %{_includedir}/OpenEXR/
86 %{_libdir}/lib*.so
87 %{_libdir}/pkgconfig/*
88
89

  ViewVC Help
Powered by ViewVC 1.1.30