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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 477824 - (hide annotations) (download)
Thu Sep 12 05:59:27 2013 UTC (7 years, 1 month ago) by fwang
File size: 1664 byte(s)
new version 2.0.1
1 mikala 18055 %define name OpenEXR
2     %define fname openexr
3 fwang 477824 %define version 2.0.1
4     %define fver 2.0.1
5 mikala 18055
6 fwang 477824 %define major 20
7 mikala 18055 %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 fwang 477824 Release: %mkrel 1
14     Source: http://download.savannah.nongnu.org/releases/openexr/openexr-%{version}.tar.gz
15 mikala 18055 URL: http://www.openexr.com
16     License: BSD
17 boklm 345007 Group: Graphics/Utilities
18 mikala 18055 BuildRequires: fltk-devel
19 fwang 324982 BuildRequires: ilmbase-devel
20 mikala 18055
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 fwang 324982 %configure2_5x --disable-static
48 mikala 18055 %make
49    
50     %install
51     %makeinstall_std
52    
53 fwang 324982 rm -f %{buildroot}%{_libdir}/*.la
54    
55 mikala 18055 # 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