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

  ViewVC Help
Powered by ViewVC 1.1.28