]>
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 |
819cfd44 JR |
4 | Version: 3.1.4 |
5 | Release: 1 | |
4b0117e7 | 6 | License: BSD |
be48515c | 7 | Group: Libraries |
feda42a3 | 8 | #Source0Download: https://github.com/AcademySoftwareFoundation/openexr/releases |
819cfd44 JR |
9 | Source0: https://github.com/AcademySoftwareFoundation/openexr/archive/v%{version}/openexr-%{version}.tar.gz |
10 | # Source0-md5: e990be1ff765797bc2d93a8060e1c1f2 | |
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 | |
72bd1e35 | 15 | BuildRequires: libstdc++-devel >= 6:5 |
447913e9 | 16 | BuildRequires: libtool >= 2:1.5 |
be48515c | 17 | BuildRequires: pkgconfig |
819cfd44 | 18 | BuildRequires: python3-breathe |
1f120402 | 19 | BuildRequires: zlib-devel |
819cfd44 | 20 | Obsoletes: ilmbase < 2.5.3 |
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} | |
72bd1e35 | 45 | Requires: libstdc++-devel >= 6:5 |
4b0117e7 | 46 | Requires: zlib-devel |
819cfd44 JR |
47 | Provides: ilmbase-devel = %{version}-%{release} |
48 | Obsoletes: ilmbase-devel < 2.5.3 | |
be48515c | 49 | |
50 | %description devel | |
ee189297 | 51 | Header files for OpenEXR libraries. |
be48515c | 52 | |
f64b4fd4 JR |
53 | %description devel -l pl.UTF-8 |
54 | Pliki nagłówkowe bibliotek OpenEXR. | |
be48515c | 55 | |
be48515c | 56 | %package progs |
ee189297 | 57 | Summary: OpenEXR utilities |
3d1c3f25 | 58 | Summary(pl.UTF-8): Narzędzia do obrazów OpenEXR |
ee189297 | 59 | Group: Applications/Graphics |
be48515c | 60 | Requires: %{name} = %{version}-%{release} |
61 | ||
62 | %description progs | |
ee189297 | 63 | OpenEXR utilities. |
be48515c | 64 | |
f64b4fd4 JR |
65 | %description progs -l pl.UTF-8 |
66 | Narzędzia do obrazów OpenEXR. | |
be48515c | 67 | |
8ed3b08f JB |
68 | %package doc |
69 | Summary: OpenEXR documentation | |
70 | Summary(pl.UTF-8): Dokumentacja do OpenEXR | |
71 | Group: Documentation | |
72 | ||
73 | %description doc | |
74 | OpenEXR documentation describing file format, library etc. | |
75 | ||
76 | %description doc -l pl.UTF-8 | |
77 | Dokumentacja do OpenEXR, opisująca format pliku, bibliotekę itd. | |
78 | ||
be48515c | 79 | %prep |
4b0117e7 | 80 | %setup -q -n openexr-%{version} |
be48515c | 81 | |
82 | %build | |
819cfd44 JR |
83 | mkdir -p build |
84 | cd build | |
85 | %cmake .. \ | |
86 | -DDOCS=ON | |
be48515c | 87 | |
88 | %{__make} | |
89 | ||
90 | %install | |
91 | rm -rf $RPM_BUILD_ROOT | |
92 | ||
819cfd44 | 93 | %{__make} -C build install \ |
be48515c | 94 | DESTDIR=$RPM_BUILD_ROOT |
95 | ||
819cfd44 JR |
96 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/{examples,sphinx} |
97 | ||
be48515c | 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) | |
819cfd44 JR |
106 | %doc CHANGES.md CODEOWNERS LICENSE.md PATENTS README.md SECURITY.md |
107 | %attr(755,root,root) %{_libdir}/libIex-3_1.so.*.*.* | |
108 | %attr(755,root,root) %ghost %{_libdir}/libIex-3_1.so.30 | |
109 | %attr(755,root,root) %{_libdir}/libIlmThread-3_1.so.*.*.* | |
110 | %attr(755,root,root) %ghost %{_libdir}/libIlmThread-3_1.so.30 | |
111 | %attr(755,root,root) %{_libdir}/libOpenEXR-3_1.so.*.*.* | |
112 | %attr(755,root,root) %ghost %{_libdir}/libOpenEXR-3_1.so.30 | |
113 | %attr(755,root,root) %{_libdir}/libOpenEXRCore-3_1.so.*.*.* | |
114 | %attr(755,root,root) %ghost %{_libdir}/libOpenEXRCore-3_1.so.30 | |
115 | %attr(755,root,root) %{_libdir}/libOpenEXRUtil-3_1.so.*.*.* | |
116 | %attr(755,root,root) %ghost %{_libdir}/libOpenEXRUtil-3_1.so.30 | |
be48515c | 117 | |
118 | %files devel | |
119 | %defattr(644,root,root,755) | |
819cfd44 JR |
120 | %attr(755,root,root) %{_libdir}/libIex*.so |
121 | %attr(755,root,root) %{_libdir}/libIlmThread*.so | |
122 | %attr(755,root,root) %{_libdir}/libOpenEXR*.so | |
123 | %{_includedir}/OpenEXR | |
56036b80 | 124 | %{_pkgconfigdir}/OpenEXR.pc |
819cfd44 | 125 | %{_libdir}/cmake/OpenEXR |
be48515c | 126 | |
127 | %files progs | |
128 | %defattr(644,root,root,755) | |
be48515c | 129 | %attr(755,root,root) %{_bindir}/exrenvmap |
130 | %attr(755,root,root) %{_bindir}/exrheader | |
131 | %attr(755,root,root) %{_bindir}/exrmakepreview | |
132 | %attr(755,root,root) %{_bindir}/exrmaketiled | |
447913e9 | 133 | %attr(755,root,root) %{_bindir}/exrmultipart |
0c7bd0c4 | 134 | %attr(755,root,root) %{_bindir}/exrmultiview |
be48515c | 135 | %attr(755,root,root) %{_bindir}/exrstdattr |
819cfd44 JR |
136 | %attr(755,root,root) %{_bindir}/exr2aces |
137 | %attr(755,root,root) %{_bindir}/exrinfo | |
8ed3b08f JB |
138 | |
139 | %files doc | |
140 | %defattr(644,root,root,755) | |
819cfd44 JR |
141 | %doc build/docs/sphinx/* |
142 | %doc build/docs/sphinx/.doctrees |