/[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 477827 - (show annotations) (download)
Thu Sep 12 06:07:42 2013 UTC (8 years ago) by fwang
File size: 1674 byte(s)
fltk is not required
1 %define name OpenEXR
2 %define fname openexr
3 %define version 2.0.1
4 %define fver 2.0.1
5
6 %define major 20
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://download.savannah.nongnu.org/releases/openexr/openexr-%{version}.tar.gz
15 URL: http://www.openexr.com
16 License: BSD
17 Group: Graphics/Utilities
18 BuildRequires: ilmbase-devel >= %{version}
19
20 %description
21 Industrial Light & Magic developed the OpenEXR format in response to the demand
22 for higher color fidelity in the visual effects industry.
23
24 %package -n %{libname}
25 Summary: Dynamic libraries from %name
26 Group: System/Libraries
27
28 %description -n %{libname}
29 Dynamic libraries from %name.
30
31 %package -n %{develname}
32 Summary: Header files and static libraries from %name
33 Group: Development/C
34 Requires: %{libname} >= %{version}
35 Provides: lib%{name}-devel = %{version}-%{release}
36 Provides: %{name}-devel = %{version}-%{release}
37 Obsoletes: %mklibname OpenEXR 4 -d
38
39 %description -n %{develname}
40 Libraries and includes files for developing programs based on %name.
41
42 %prep
43 %setup -q -n %{fname}-%{version}
44
45 %build
46 %configure2_5x --disable-static --disable-ilmbasetest
47 %make
48
49 %install
50 %makeinstall_std
51
52 rm -f %{buildroot}%{_libdir}/*.la
53
54 # Remove doc files installed by make install, we package them in %files
55 rm -rf %{buildroot}%{_docdir}/%{name}-%{version}
56
57 %files
58 %doc AUTHORS ChangeLog NEWS README doc/*
59 %{_bindir}/*
60
61 %files -n %{libname}
62 %{_libdir}/*.so.%{major}*
63
64 %files -n %{develname}
65 %{_includedir}/*
66 %{_libdir}/*.so
67 %{_datadir}/aclocal/*.m4
68 %{_libdir}/pkgconfig/*.pc

  ViewVC Help
Powered by ViewVC 1.1.28