]>
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 |
0c2759db | 4 | Version: 2.1.0 |
0c7bd0c4 | 5 | Release: 1 |
4b0117e7 | 6 | License: BSD |
be48515c | 7 | Group: Libraries |
0c2759db JB |
8 | Source0: http://download.savannah.gnu.org/releases/openexr/openexr-%{version}.tar.gz |
9 | # Source0-md5: 33735d37d2ee01c6d8fbd0df94fb8b43 | |
be48515c | 10 | URL: http://www.openexr.com/ |
4b0117e7 JB |
11 | BuildRequires: autoconf >= 2.50 |
12 | BuildRequires: automake >= 1.6.3 | |
0c2759db | 13 | BuildRequires: ilmbase-devel >= 2.1.0 |
1f120402 | 14 | BuildRequires: libstdc++-devel |
447913e9 | 15 | BuildRequires: libtool >= 2:1.5 |
be48515c | 16 | BuildRequires: pkgconfig |
1f120402 | 17 | BuildRequires: zlib-devel |
0c2759db | 18 | Requires: ilmbase >= 2.1.0 |
be48515c | 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. | |
ee189297 JB |
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, | |
b81c17a1 | 27 | OpenEXR has become ILM's main image file format. |
be48515c | 28 | |
f64b4fd4 JR |
29 | %description -l pl.UTF-8 |
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 | |
ee189297 | 35 | Stone, Men in Black II, Gangs of New York oraz Signs. Od tamtego czasu |
f64b4fd4 | 36 | OpenEXR stał się głównym formatem obrazu ILM. |
be48515c | 37 | |
38 | %package devel | |
ee189297 | 39 | Summary: Header files for OpenEXR libraries |
3d1c3f25 | 40 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek OpenEXR |
be48515c | 41 | Group: Development/Libraries |
42 | Requires: %{name} = %{version}-%{release} | |
0c2759db | 43 | Requires: ilmbase-devel >= 2.1.0 |
1f120402 | 44 | Requires: libstdc++-devel |
4b0117e7 | 45 | Requires: zlib-devel |
be48515c | 46 | |
47 | %description devel | |
ee189297 | 48 | Header files for OpenEXR libraries. |
be48515c | 49 | |
f64b4fd4 JR |
50 | %description devel -l pl.UTF-8 |
51 | Pliki nagłówkowe bibliotek OpenEXR. | |
be48515c | 52 | |
53 | %package static | |
ee189297 | 54 | Summary: Static OpenEXR libraries |
3d1c3f25 | 55 | Summary(pl.UTF-8): Statyczne biblioteki OpenEXR |
be48515c | 56 | Group: Development/Libraries |
57 | Requires: %{name}-devel = %{version}-%{release} | |
58 | ||
59 | %description static | |
ee189297 | 60 | Static OpenEXR libraries. |
be48515c | 61 | |
f64b4fd4 | 62 | %description static -l pl.UTF-8 |
ee189297 | 63 | Statyczne biblioteki OpenEXR. |
be48515c | 64 | |
65 | %package progs | |
ee189297 | 66 | Summary: OpenEXR utilities |
3d1c3f25 | 67 | Summary(pl.UTF-8): Narzędzia do obrazów OpenEXR |
ee189297 | 68 | Group: Applications/Graphics |
be48515c | 69 | Requires: %{name} = %{version}-%{release} |
70 | ||
71 | %description progs | |
ee189297 | 72 | OpenEXR utilities. |
be48515c | 73 | |
f64b4fd4 JR |
74 | %description progs -l pl.UTF-8 |
75 | Narzędzia do obrazów OpenEXR. | |
be48515c | 76 | |
8ed3b08f JB |
77 | %package doc |
78 | Summary: OpenEXR documentation | |
79 | Summary(pl.UTF-8): Dokumentacja do OpenEXR | |
80 | Group: Documentation | |
81 | ||
82 | %description doc | |
83 | OpenEXR documentation describing file format, library etc. | |
84 | ||
85 | %description doc -l pl.UTF-8 | |
86 | Dokumentacja do OpenEXR, opisująca format pliku, bibliotekę itd. | |
87 | ||
be48515c | 88 | %prep |
4b0117e7 | 89 | %setup -q -n openexr-%{version} |
be48515c | 90 | |
91 | %build | |
be48515c | 92 | %{__libtoolize} |
4b0117e7 | 93 | %{__aclocal} -I m4 |
be48515c | 94 | %{__autoconf} |
95 | %{__automake} | |
be48515c | 96 | %configure |
97 | ||
98 | %{__make} | |
99 | ||
100 | %install | |
101 | rm -rf $RPM_BUILD_ROOT | |
102 | ||
103 | %{__make} install \ | |
104 | DESTDIR=$RPM_BUILD_ROOT | |
105 | ||
8ed3b08f JB |
106 | # PDFs packaged as %doc |
107 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} | |
108 | ||
be48515c | 109 | %clean |
110 | rm -rf $RPM_BUILD_ROOT | |
111 | ||
112 | %post -p /sbin/ldconfig | |
113 | %postun -p /sbin/ldconfig | |
114 | ||
115 | %files | |
116 | %defattr(644,root,root,755) | |
b78d8f4b | 117 | %doc AUTHORS COPYING ChangeLog NEWS README |
0c2759db JB |
118 | %attr(755,root,root) %{_libdir}/libIlmImf-Imf_2_1.so.*.*.* |
119 | %attr(755,root,root) %ghost %{_libdir}/libIlmImf-Imf_2_1.so.21 | |
be48515c | 120 | |
121 | %files devel | |
122 | %defattr(644,root,root,755) | |
56036b80 | 123 | %attr(755,root,root) %{_libdir}/libIlmImf.so |
56036b80 | 124 | %{_libdir}/libIlmImf.la |
4b0117e7 JB |
125 | %{_includedir}/OpenEXR/Imf*.h |
126 | %{_includedir}/OpenEXR/OpenEXRConfig.h | |
56036b80 JB |
127 | %{_aclocaldir}/openexr.m4 |
128 | %{_pkgconfigdir}/OpenEXR.pc | |
be48515c | 129 | |
130 | %files static | |
131 | %defattr(644,root,root,755) | |
56036b80 | 132 | %{_libdir}/libIlmImf.a |
be48515c | 133 | |
134 | %files progs | |
135 | %defattr(644,root,root,755) | |
be48515c | 136 | %attr(755,root,root) %{_bindir}/exrenvmap |
137 | %attr(755,root,root) %{_bindir}/exrheader | |
138 | %attr(755,root,root) %{_bindir}/exrmakepreview | |
139 | %attr(755,root,root) %{_bindir}/exrmaketiled | |
447913e9 | 140 | %attr(755,root,root) %{_bindir}/exrmultipart |
0c7bd0c4 | 141 | %attr(755,root,root) %{_bindir}/exrmultiview |
be48515c | 142 | %attr(755,root,root) %{_bindir}/exrstdattr |
8ed3b08f JB |
143 | |
144 | %files doc | |
145 | %defattr(644,root,root,755) | |
146 | %doc doc/*.pdf |