]> git.pld-linux.org Git - packages/OpenEXR.git/blob - OpenEXR.spec
- fixed build
[packages/OpenEXR.git] / OpenEXR.spec
1 Summary:        High dynamic-range (HDR) image file format support libraries
2 Summary(pl):    Biblioteki obs³uguj±ce format plików obrazu o wysokiej dynamice (HDR)
3 Name:           OpenEXR
4 Version:        1.2.2
5 Release:        3
6 License:        Industrial Light & Magic
7 Group:          Libraries
8 Source0:        http://savannah.nongnu.org/download/openexr/%{name}-%{version}.tar.gz
9 # Source0-md5:  a2e56af78dc47c7294ff188c8f78394b
10 Patch0:         %{name}-gcc4.patch
11 URL:            http://www.openexr.com/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  fltk-gl-devel
15 BuildRequires:  libstdc++-devel
16 BuildRequires:  libtool
17 BuildRequires:  pkgconfig
18 BuildRequires:  zlib-devel
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 OpenEXR is a high dynamic-range (HDR) image file format developed by
23 Industrial Light & Magic for use in computer imaging applications.
24 OpenEXR is used by ILM on all motion pictures currently in production.
25 The first movies to employ OpenEXR were Harry Potter and the Sorcerers
26 Stone, Men in Black II, Gangs of New York, and Signs. Since then,
27 OpenEXR has become ILM's main image file format.
28
29 %description -l pl
30 OpenEXR to format plików obrazu o wysokiej dynamice (HDR - High
31 Dynamic-Range) stworzony przez Industrial Light & Magic do u¿ywania w
32 aplikacjach do grafiki komputerowej. OpenEXR jest u¿ywany przez ILM do
33 wszystkich aktualnie produkowanych obrazów ruchomych. Pierwszymi
34 filmami wykorzystuj±cymi OpenEXR by³y Harry Potter and the Sorcerers
35 Stone, Men in Black II, Gangs of New York oraz Signs. Od tamtego czasu
36 OpenEXR sta³ siê g³ównym formatem obrazu ILM.
37
38 %package devel
39 Summary:        Header files for OpenEXR libraries
40 Summary(pl):    Pliki nag³ówkowe bibliotek OpenEXR
41 Group:          Development/Libraries
42 Requires:       %{name} = %{version}-%{release}
43 Requires:       libstdc++-devel
44
45 %description devel
46 Header files for OpenEXR libraries.
47
48 %description devel -l pl
49 Pliki nag³ówkowe bibliotek OpenEXR.
50
51 %package static
52 Summary:        Static OpenEXR libraries
53 Summary(pl):    Statyczne biblioteki OpenEXR
54 Group:          Development/Libraries
55 Requires:       %{name}-devel = %{version}-%{release}
56
57 %description static
58 Static OpenEXR libraries.
59
60 %description static
61 Statyczne biblioteki OpenEXR.
62
63 %package progs
64 Summary:        OpenEXR utilities
65 Summary(pl):    Narzêdzia do obrazów OpenEXR
66 Group:          Applications/Graphics
67 Requires:       %{name} = %{version}-%{release}
68
69 %description progs
70 OpenEXR utilities.
71
72 %description progs
73 Narzêdzia do obrazów OpenEXR.
74
75 %prep
76 %setup -q
77 %patch0 -p1
78
79 %build
80 cp -f /usr/share/automake/config.sub admin
81 %{__aclocal}
82 %{__libtoolize}
83 %{__autoconf}
84 %{__automake}
85
86 %configure
87
88 %{__make}
89
90 %install
91 rm -rf $RPM_BUILD_ROOT
92
93 %{__make} install \
94         DESTDIR=$RPM_BUILD_ROOT
95
96 %clean
97 rm -rf $RPM_BUILD_ROOT
98
99 %post   -p /sbin/ldconfig
100 %postun -p /sbin/ldconfig
101
102 %files
103 %defattr(644,root,root,755)
104 %doc AUTHORS COPYING ChangeLog NEWS README
105 %attr(755,root,root) %{_libdir}/libHalf.so.*.*.*
106 %attr(755,root,root) %{_libdir}/libIex.so.*.*.*
107 %attr(755,root,root) %{_libdir}/libIlmImf.so.*.*.*
108 %attr(755,root,root) %{_libdir}/libImath.so.*.*.*
109
110 %files devel
111 %defattr(644,root,root,755)
112 %attr(755,root,root) %{_libdir}/lib*.so
113 %{_libdir}/lib*.la
114 %{_includedir}/%{name}
115 %{_aclocaldir}/*
116 %{_pkgconfigdir}/*
117
118 %files static
119 %defattr(644,root,root,755)
120 %{_libdir}/lib*.a
121
122 %files progs
123 %defattr(644,root,root,755)
124 %attr(755,root,root) %{_bindir}/exrdisplay
125 %attr(755,root,root) %{_bindir}/exrenvmap
126 %attr(755,root,root) %{_bindir}/exrheader
127 %attr(755,root,root) %{_bindir}/exrmakepreview
128 %attr(755,root,root) %{_bindir}/exrmaketiled
129 %attr(755,root,root) %{_bindir}/exrstdattr
This page took 0.078723 seconds and 4 git commands to generate.