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