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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 324941 - (hide annotations) (download)
Sun Dec 2 02:39:10 2012 UTC (8 years, 9 months ago) by fwang
File size: 2136 byte(s)
only apply patch in 32 bit
1 fwang 324933 %define major 7
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 324933 Version: 1.0.3
8     Release: %mkrel 1
9 mikala 18039 Group: System/Libraries
10     License: BSD
11     URL: http://www.openexr.com
12 fwang 324933 Source0: https://github.com/downloads/openexr/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 ./bootstrap
66    
67     %build
68     %configure2_5x \
69     --disable-static
70    
71     %make
72    
73     %install
74     rm -rf %{buildroot}
75    
76     %makeinstall_std
77    
78     rm -f %{buildroot}%{_libdir}/lib*.la
79    
80     %clean
81     rm -rf %{buildroot}
82    
83    
84    
85     %files -n %{libname}
86     %defattr(-,root,root,-)
87     %{_libdir}/lib*.so.%{major}*
88    
89     %files -n %{develname}
90     %defattr(-,root,root,-)
91     %doc AUTHORS ChangeLog NEWS README
92     %{_includedir}/OpenEXR/
93     %{_libdir}/lib*.so
94     %{_libdir}/pkgconfig/*
95    
96    

  ViewVC Help
Powered by ViewVC 1.1.28