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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 18055 - (show annotations) (download)
Fri Jan 14 22:25:49 2011 UTC (10 years, 3 months ago) by mikala
File size: 2028 byte(s)
imported package OpenEXR
1 %define name OpenEXR
2 %define fname openexr
3 %define version 1.7.0
4 %define fver 1.7.0
5
6 %define major 6
7 %define libname %mklibname %{name} %{major}
8 %define develname %mklibname %{name} -d
9
10 Name: %{name}
11 Summary: A high dynamic-range (HDR) image file format
12 Version: %{version}
13 Release: %mkrel 1
14 Source: http://savannah.nongnu.org/download/openexr/%{fname}-%{fver}.tar.gz
15 Patch0: openexr-1.7.0-gcc43.patch
16 URL: http://www.openexr.com
17 License: BSD
18 Group: Graphics
19 BuildRoot: %{_tmppath}/%{name}-buildroot
20 BuildRequires: fltk-devel
21 BuildRequires: libilmbase-devel
22
23 %description
24 Industrial Light & Magic developed the OpenEXR format in response to the demand
25 for higher color fidelity in the visual effects industry.
26
27 %package -n %{libname}
28 Summary: Dynamic libraries from %name
29 Group: System/Libraries
30
31 %description -n %{libname}
32 Dynamic libraries from %name.
33
34 %package -n %{develname}
35 Summary: Header files and static libraries from %name
36 Group: Development/C
37 Requires: %{libname} >= %{version}
38 Provides: lib%{name}-devel = %{version}-%{release}
39 Provides: %{name}-devel = %{version}-%{release}
40 Obsoletes: %mklibname OpenEXR 4 -d
41 #Provides: %mklibname OpenEXR 4 -d
42
43 %description -n %{develname}
44 Libraries and includes files for developing programs based on %name.
45
46 %prep
47 %setup -q -n %{fname}-%{version}
48 %patch0 -p1 -b .gcc43
49 ./bootstrap
50
51 %build
52 %configure2_5x
53 %make
54
55 %install
56 rm -rf %{buildroot}
57 %makeinstall_std
58
59 # Remove doc files installed by make install, we package them in %files
60 rm -rf %{buildroot}%{_docdir}/%{name}-%{version}
61
62 %clean
63 rm -rf %{buildroot}
64
65 %if %mdkversion < 200900
66 %post -n %{libname} -p /sbin/ldconfig
67 %endif
68 %if %mdkversion < 200900
69 %postun -n %{libname} -p /sbin/ldconfig
70 %endif
71
72 %files
73 %defattr(-,root,root)
74 %doc AUTHORS ChangeLog NEWS README doc/*
75 %{_bindir}/*
76
77 %files -n %{libname}
78 %defattr(-,root,root)
79 %{_libdir}/*.so.%{major}*
80
81 %files -n %{develname}
82 %defattr(-,root,root)
83 %{_includedir}/*
84 %{_libdir}/*.so
85 %{_libdir}/*.a
86 %{_libdir}/*.la
87 %{_datadir}/aclocal/*.m4
88 %{_libdir}/pkgconfig/*.pc
89
90

  ViewVC Help
Powered by ViewVC 1.1.28