/[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 324938 - (hide annotations) (download)
Sun Dec 2 02:34:25 2012 UTC (11 years, 4 months ago) by fwang
File size: 2073 byte(s)
add fedora patches
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 324938 %apply_patches
60 mikala 18039
61     ./bootstrap
62    
63     %build
64     %configure2_5x \
65     --disable-static
66    
67     %make
68    
69     %install
70     rm -rf %{buildroot}
71    
72     %makeinstall_std
73    
74     rm -f %{buildroot}%{_libdir}/lib*.la
75    
76     %clean
77     rm -rf %{buildroot}
78    
79    
80    
81     %files -n %{libname}
82     %defattr(-,root,root,-)
83     %{_libdir}/lib*.so.%{major}*
84    
85     %files -n %{develname}
86     %defattr(-,root,root,-)
87     %doc AUTHORS ChangeLog NEWS README
88     %{_includedir}/OpenEXR/
89     %{_libdir}/lib*.so
90     %{_libdir}/pkgconfig/*
91    
92    

  ViewVC Help
Powered by ViewVC 1.1.30