]>
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 |
447913e9 | 4 | Version: 2.0.0 |
0c7bd0c4 | 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 |
447913e9 JB |
9 | # Source0-md5: 00e9e93348f072c0bc1bdee7464d500d |
10 | Patch0: %{name}-am.patch | |
be48515c | 11 | URL: http://www.openexr.com/ |
4b0117e7 JB |
12 | BuildRequires: autoconf >= 2.50 |
13 | BuildRequires: automake >= 1.6.3 | |
447913e9 | 14 | BuildRequires: ilmbase-devel >= 2.0.0 |
1f120402 | 15 | BuildRequires: libstdc++-devel |
447913e9 | 16 | BuildRequires: libtool >= 2:1.5 |
be48515c | 17 | BuildRequires: pkgconfig |
1f120402 | 18 | BuildRequires: zlib-devel |
447913e9 | 19 | Requires: ilmbase >= 2.0.0 |
be48515c | 20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
23 | OpenEXR is a high dynamic-range (HDR) image file format developed by | |
24 | Industrial Light & Magic for use in computer imaging applications. | |
25 | OpenEXR is used by ILM on all motion pictures currently in production. | |
ee189297 JB |
26 | The first movies to employ OpenEXR were Harry Potter and the Sorcerers |
27 | Stone, Men in Black II, Gangs of New York, and Signs. Since then, | |
b81c17a1 | 28 | OpenEXR has become ILM's main image file format. |
be48515c | 29 | |
f64b4fd4 JR |
30 | %description -l pl.UTF-8 |
31 | OpenEXR to format plików obrazu o wysokiej dynamice (HDR - High | |
32 | Dynamic-Range) stworzony przez Industrial Light & Magic do używania w | |
33 | aplikacjach do grafiki komputerowej. OpenEXR jest używany przez ILM do | |
34 | wszystkich aktualnie produkowanych obrazów ruchomych. Pierwszymi | |
35 | filmami wykorzystującymi OpenEXR były Harry Potter and the Sorcerers | |
ee189297 | 36 | Stone, Men in Black II, Gangs of New York oraz Signs. Od tamtego czasu |
f64b4fd4 | 37 | OpenEXR stał się głównym formatem obrazu ILM. |
be48515c | 38 | |
39 | %package devel | |
ee189297 | 40 | Summary: Header files for OpenEXR libraries |
3d1c3f25 | 41 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek OpenEXR |
be48515c | 42 | Group: Development/Libraries |
43 | Requires: %{name} = %{version}-%{release} | |
447913e9 | 44 | Requires: ilmbase-devel >= 2.0.0 |
1f120402 | 45 | Requires: libstdc++-devel |
4b0117e7 | 46 | Requires: zlib-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 | |
4b0117e7 | 79 | %setup -q -n openexr-%{version} |
bef185ce | 80 | %patch0 -p1 |
be48515c | 81 | |
82 | %build | |
be48515c | 83 | %{__libtoolize} |
4b0117e7 | 84 | %{__aclocal} -I m4 |
be48515c | 85 | %{__autoconf} |
86 | %{__automake} | |
be48515c | 87 | %configure |
88 | ||
89 | %{__make} | |
90 | ||
91 | %install | |
92 | rm -rf $RPM_BUILD_ROOT | |
93 | ||
94 | %{__make} install \ | |
95 | DESTDIR=$RPM_BUILD_ROOT | |
96 | ||
97 | %clean | |
98 | rm -rf $RPM_BUILD_ROOT | |
99 | ||
100 | %post -p /sbin/ldconfig | |
101 | %postun -p /sbin/ldconfig | |
102 | ||
103 | %files | |
104 | %defattr(644,root,root,755) | |
b78d8f4b | 105 | %doc AUTHORS COPYING ChangeLog NEWS README |
447913e9 JB |
106 | %attr(755,root,root) %{_libdir}/libIlmImf-Imf_2_0.so.*.*.* |
107 | %attr(755,root,root) %ghost %{_libdir}/libIlmImf-Imf_2_0.so.20 | |
be48515c | 108 | |
109 | %files devel | |
110 | %defattr(644,root,root,755) | |
56036b80 | 111 | %attr(755,root,root) %{_libdir}/libIlmImf.so |
56036b80 | 112 | %{_libdir}/libIlmImf.la |
4b0117e7 JB |
113 | %{_includedir}/OpenEXR/Imf*.h |
114 | %{_includedir}/OpenEXR/OpenEXRConfig.h | |
56036b80 JB |
115 | %{_aclocaldir}/openexr.m4 |
116 | %{_pkgconfigdir}/OpenEXR.pc | |
be48515c | 117 | |
118 | %files static | |
119 | %defattr(644,root,root,755) | |
56036b80 | 120 | %{_libdir}/libIlmImf.a |
be48515c | 121 | |
122 | %files progs | |
123 | %defattr(644,root,root,755) | |
be48515c | 124 | %attr(755,root,root) %{_bindir}/exrenvmap |
125 | %attr(755,root,root) %{_bindir}/exrheader | |
126 | %attr(755,root,root) %{_bindir}/exrmakepreview | |
127 | %attr(755,root,root) %{_bindir}/exrmaketiled | |
447913e9 | 128 | %attr(755,root,root) %{_bindir}/exrmultipart |
0c7bd0c4 | 129 | %attr(755,root,root) %{_bindir}/exrmultiview |
be48515c | 130 | %attr(755,root,root) %{_bindir}/exrstdattr |