]>
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 |
3e24fadb | 4 | Version: 2.3.0 |
d1578f64 | 5 | Release: 2 |
4b0117e7 | 6 | License: BSD |
be48515c | 7 | Group: Libraries |
feda42a3 | 8 | #Source0Download: https://github.com/AcademySoftwareFoundation/openexr/releases |
3e24fadb BZ |
9 | Source0: https://github.com/AcademySoftwareFoundation/openexr/releases/download/v%{version}/openexr-%{version}.tar.gz |
10 | # Source0-md5: a157e8a46596bc185f2472a5a4682174 | |
feda42a3 | 11 | URL: https://www.openexr.com/ |
d1578f64 | 12 | BuildRequires: Imath-devel |
4b0117e7 JB |
13 | BuildRequires: autoconf >= 2.50 |
14 | BuildRequires: automake >= 1.6.3 | |
3e24fadb | 15 | BuildRequires: ilmbase-devel >= 2.3.0 |
72bd1e35 | 16 | BuildRequires: libstdc++-devel >= 6:5 |
447913e9 | 17 | BuildRequires: libtool >= 2:1.5 |
be48515c | 18 | BuildRequires: pkgconfig |
1f120402 | 19 | BuildRequires: zlib-devel |
3e24fadb | 20 | Requires: ilmbase >= 2.3.0 |
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} | |
3e24fadb | 45 | Requires: ilmbase-devel >= 2.3.0 |
72bd1e35 | 46 | Requires: libstdc++-devel >= 6:5 |
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 | |
8ed3b08f JB |
79 | %package doc |
80 | Summary: OpenEXR documentation | |
81 | Summary(pl.UTF-8): Dokumentacja do OpenEXR | |
82 | Group: Documentation | |
83 | ||
84 | %description doc | |
85 | OpenEXR documentation describing file format, library etc. | |
86 | ||
87 | %description doc -l pl.UTF-8 | |
88 | Dokumentacja do OpenEXR, opisująca format pliku, bibliotekę itd. | |
89 | ||
be48515c | 90 | %prep |
4b0117e7 | 91 | %setup -q -n openexr-%{version} |
be48515c | 92 | |
93 | %build | |
be48515c | 94 | %{__libtoolize} |
4b0117e7 | 95 | %{__aclocal} -I m4 |
be48515c | 96 | %{__autoconf} |
97 | %{__automake} | |
be48515c | 98 | %configure |
99 | ||
100 | %{__make} | |
101 | ||
102 | %install | |
103 | rm -rf $RPM_BUILD_ROOT | |
104 | ||
105 | %{__make} install \ | |
106 | DESTDIR=$RPM_BUILD_ROOT | |
107 | ||
108 | %clean | |
109 | rm -rf $RPM_BUILD_ROOT | |
110 | ||
111 | %post -p /sbin/ldconfig | |
112 | %postun -p /sbin/ldconfig | |
113 | ||
114 | %files | |
115 | %defattr(644,root,root,755) | |
feda42a3 | 116 | %doc AUTHORS ChangeLog LICENSE PATENTS README.md |
3e24fadb BZ |
117 | %attr(755,root,root) %{_libdir}/libIlmImf-2_3.so.*.*.* |
118 | %attr(755,root,root) %ghost %{_libdir}/libIlmImf-2_3.so.24 | |
119 | %attr(755,root,root) %{_libdir}/libIlmImfUtil-2_3.so.*.*.* | |
120 | %attr(755,root,root) %ghost %{_libdir}/libIlmImfUtil-2_3.so.24 | |
be48515c | 121 | |
122 | %files devel | |
123 | %defattr(644,root,root,755) | |
56036b80 | 124 | %attr(755,root,root) %{_libdir}/libIlmImf.so |
77cb6c7a | 125 | %attr(755,root,root) %{_libdir}/libIlmImfUtil.so |
56036b80 | 126 | %{_libdir}/libIlmImf.la |
77cb6c7a | 127 | %{_libdir}/libIlmImfUtil.la |
4b0117e7 JB |
128 | %{_includedir}/OpenEXR/Imf*.h |
129 | %{_includedir}/OpenEXR/OpenEXRConfig.h | |
56036b80 JB |
130 | %{_aclocaldir}/openexr.m4 |
131 | %{_pkgconfigdir}/OpenEXR.pc | |
be48515c | 132 | |
133 | %files static | |
134 | %defattr(644,root,root,755) | |
56036b80 | 135 | %{_libdir}/libIlmImf.a |
77cb6c7a | 136 | %{_libdir}/libIlmImfUtil.a |
be48515c | 137 | |
138 | %files progs | |
139 | %defattr(644,root,root,755) | |
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 | |
447913e9 | 144 | %attr(755,root,root) %{_bindir}/exrmultipart |
0c7bd0c4 | 145 | %attr(755,root,root) %{_bindir}/exrmultiview |
be48515c | 146 | %attr(755,root,root) %{_bindir}/exrstdattr |
8ed3b08f JB |
147 | |
148 | %files doc | |
149 | %defattr(644,root,root,755) | |
150 | %doc doc/*.pdf |