]>
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 |
0c7bd0c4 JB |
4 | Version: 1.7.0 |
5 | Release: 1 | |
4b0117e7 | 6 | License: BSD |
be48515c | 7 | Group: Libraries |
4b0117e7 | 8 | Source0: http://download.savannah.nongnu.org/releases/openexr/openexr-%{version}.tar.gz |
0c7bd0c4 JB |
9 | # Source0-md5: 27113284f7d26a58f853c346e0851d7a |
10 | #Patch0: gcc4.patch | |
11 | Patch0: %{name}-gcc4.patch | |
be48515c | 12 | URL: http://www.openexr.com/ |
4b0117e7 JB |
13 | BuildRequires: autoconf >= 2.50 |
14 | BuildRequires: automake >= 1.6.3 | |
0c7bd0c4 | 15 | BuildRequires: ilmbase-devel >= 1.0.2 |
1f120402 | 16 | BuildRequires: libstdc++-devel |
95aa42e3 | 17 | BuildRequires: libtool |
be48515c | 18 | BuildRequires: pkgconfig |
1f120402 | 19 | BuildRequires: zlib-devel |
0c7bd0c4 | 20 | Requires: ilmbase >= 1.0.2 |
be48515c | 21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
22 | ||
23 | %description | |
24 | OpenEXR is a high dynamic-range (HDR) image file format developed by | |
25 | Industrial Light & Magic for use in computer imaging applications. | |
26 | OpenEXR is used by ILM on all motion pictures currently in production. | |
ee189297 JB |
27 | The first movies to employ OpenEXR were Harry Potter and the Sorcerers |
28 | Stone, Men in Black II, Gangs of New York, and Signs. Since then, | |
b81c17a1 | 29 | OpenEXR has become ILM's main image file format. |
be48515c | 30 | |
f64b4fd4 JR |
31 | %description -l pl.UTF-8 |
32 | OpenEXR to format plików obrazu o wysokiej dynamice (HDR - High | |
33 | Dynamic-Range) stworzony przez Industrial Light & Magic do używania w | |
34 | aplikacjach do grafiki komputerowej. OpenEXR jest używany przez ILM do | |
35 | wszystkich aktualnie produkowanych obrazów ruchomych. Pierwszymi | |
36 | filmami wykorzystującymi OpenEXR były Harry Potter and the Sorcerers | |
ee189297 | 37 | Stone, Men in Black II, Gangs of New York oraz Signs. Od tamtego czasu |
f64b4fd4 | 38 | OpenEXR stał się głównym formatem obrazu ILM. |
be48515c | 39 | |
40 | %package devel | |
ee189297 | 41 | Summary: Header files for OpenEXR libraries |
3d1c3f25 | 42 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek OpenEXR |
be48515c | 43 | Group: Development/Libraries |
44 | Requires: %{name} = %{version}-%{release} | |
0c7bd0c4 | 45 | Requires: ilmbase-devel >= 1.0.2 |
1f120402 | 46 | Requires: libstdc++-devel |
4b0117e7 | 47 | Requires: zlib-devel |
be48515c | 48 | |
49 | %description devel | |
ee189297 | 50 | Header files for OpenEXR libraries. |
be48515c | 51 | |
f64b4fd4 JR |
52 | %description devel -l pl.UTF-8 |
53 | Pliki nagłówkowe bibliotek OpenEXR. | |
be48515c | 54 | |
55 | %package static | |
ee189297 | 56 | Summary: Static OpenEXR libraries |
3d1c3f25 | 57 | Summary(pl.UTF-8): Statyczne biblioteki OpenEXR |
be48515c | 58 | Group: Development/Libraries |
59 | Requires: %{name}-devel = %{version}-%{release} | |
60 | ||
61 | %description static | |
ee189297 | 62 | Static OpenEXR libraries. |
be48515c | 63 | |
f64b4fd4 | 64 | %description static -l pl.UTF-8 |
ee189297 | 65 | Statyczne biblioteki OpenEXR. |
be48515c | 66 | |
67 | %package progs | |
ee189297 | 68 | Summary: OpenEXR utilities |
3d1c3f25 | 69 | Summary(pl.UTF-8): Narzędzia do obrazów OpenEXR |
ee189297 | 70 | Group: Applications/Graphics |
be48515c | 71 | Requires: %{name} = %{version}-%{release} |
72 | ||
73 | %description progs | |
ee189297 | 74 | OpenEXR utilities. |
be48515c | 75 | |
f64b4fd4 JR |
76 | %description progs -l pl.UTF-8 |
77 | Narzędzia do obrazów OpenEXR. | |
be48515c | 78 | |
79 | %prep | |
4b0117e7 | 80 | %setup -q -n openexr-%{version} |
bef185ce | 81 | %patch0 -p1 |
be48515c | 82 | |
83 | %build | |
be48515c | 84 | %{__libtoolize} |
4b0117e7 | 85 | %{__aclocal} -I m4 |
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 | 107 | %attr(755,root,root) %{_libdir}/libIlmImf.so.*.*.* |
4b0117e7 | 108 | %attr(755,root,root) %ghost %{_libdir}/libIlmImf.so.6 |
be48515c | 109 | |
110 | %files devel | |
111 | %defattr(644,root,root,755) | |
56036b80 | 112 | %attr(755,root,root) %{_libdir}/libIlmImf.so |
56036b80 | 113 | %{_libdir}/libIlmImf.la |
4b0117e7 JB |
114 | %{_includedir}/OpenEXR/Imf*.h |
115 | %{_includedir}/OpenEXR/OpenEXRConfig.h | |
56036b80 JB |
116 | %{_aclocaldir}/openexr.m4 |
117 | %{_pkgconfigdir}/OpenEXR.pc | |
be48515c | 118 | |
119 | %files static | |
120 | %defattr(644,root,root,755) | |
56036b80 | 121 | %{_libdir}/libIlmImf.a |
be48515c | 122 | |
123 | %files progs | |
124 | %defattr(644,root,root,755) | |
0c7bd0c4 | 125 | %attr(755,root,root) %{_bindir}/exr2aces |
be48515c | 126 | %attr(755,root,root) %{_bindir}/exrenvmap |
127 | %attr(755,root,root) %{_bindir}/exrheader | |
128 | %attr(755,root,root) %{_bindir}/exrmakepreview | |
129 | %attr(755,root,root) %{_bindir}/exrmaketiled | |
0c7bd0c4 | 130 | %attr(755,root,root) %{_bindir}/exrmultiview |
be48515c | 131 | %attr(755,root,root) %{_bindir}/exrstdattr |