]>
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 |
4a8288ca | 4 | Version: 3.1.13 |
819cfd44 | 5 | Release: 1 |
4b0117e7 | 6 | License: BSD |
be48515c | 7 | Group: Libraries |
feda42a3 | 8 | #Source0Download: https://github.com/AcademySoftwareFoundation/openexr/releases |
819cfd44 | 9 | Source0: https://github.com/AcademySoftwareFoundation/openexr/archive/v%{version}/openexr-%{version}.tar.gz |
4a8288ca | 10 | # Source0-md5: 1006112ee8e02eb10061248cef85c7fd |
af95951e JB |
11 | URL: https://openexr.com/ |
12 | BuildRequires: Imath-devel >= 3.1 | |
13 | BuildRequires: cmake >= 3.12 | |
14 | BuildRequires: doxygen | |
72bd1e35 | 15 | BuildRequires: libstdc++-devel >= 6:5 |
be48515c | 16 | BuildRequires: pkgconfig |
819cfd44 | 17 | BuildRequires: python3-breathe |
af95951e JB |
18 | BuildRequires: python3-sphinx_press_theme |
19 | BuildRequires: rpm-build >= 4.6 | |
20 | BuildRequires: rpmbuild(macros) >= 1.605 | |
21 | BuildRequires: sphinx-pdg >= 2 | |
1f120402 | 22 | BuildRequires: zlib-devel |
af95951e | 23 | Obsoletes: ilmbase < 3 |
be48515c | 24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
25 | ||
26 | %description | |
27 | OpenEXR is a high dynamic-range (HDR) image file format developed by | |
28 | Industrial Light & Magic for use in computer imaging applications. | |
29 | OpenEXR is used by ILM on all motion pictures currently in production. | |
ee189297 JB |
30 | The first movies to employ OpenEXR were Harry Potter and the Sorcerers |
31 | Stone, Men in Black II, Gangs of New York, and Signs. Since then, | |
b81c17a1 | 32 | OpenEXR has become ILM's main image file format. |
be48515c | 33 | |
f64b4fd4 JR |
34 | %description -l pl.UTF-8 |
35 | OpenEXR to format plików obrazu o wysokiej dynamice (HDR - High | |
36 | Dynamic-Range) stworzony przez Industrial Light & Magic do używania w | |
37 | aplikacjach do grafiki komputerowej. OpenEXR jest używany przez ILM do | |
38 | wszystkich aktualnie produkowanych obrazów ruchomych. Pierwszymi | |
39 | filmami wykorzystującymi OpenEXR były Harry Potter and the Sorcerers | |
ee189297 | 40 | Stone, Men in Black II, Gangs of New York oraz Signs. Od tamtego czasu |
f64b4fd4 | 41 | OpenEXR stał się głównym formatem obrazu ILM. |
be48515c | 42 | |
43 | %package devel | |
ee189297 | 44 | Summary: Header files for OpenEXR libraries |
3d1c3f25 | 45 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek OpenEXR |
be48515c | 46 | Group: Development/Libraries |
47 | Requires: %{name} = %{version}-%{release} | |
af95951e | 48 | Requires: Imath-devel >= 3.1 |
72bd1e35 | 49 | Requires: libstdc++-devel >= 6:5 |
4b0117e7 | 50 | Requires: zlib-devel |
819cfd44 | 51 | Provides: ilmbase-devel = %{version}-%{release} |
af95951e | 52 | Obsoletes: ilmbase-devel < 3 |
be48515c | 53 | |
54 | %description devel | |
ee189297 | 55 | Header files for OpenEXR libraries. |
be48515c | 56 | |
f64b4fd4 JR |
57 | %description devel -l pl.UTF-8 |
58 | Pliki nagłówkowe bibliotek OpenEXR. | |
be48515c | 59 | |
be48515c | 60 | %package progs |
ee189297 | 61 | Summary: OpenEXR utilities |
3d1c3f25 | 62 | Summary(pl.UTF-8): Narzędzia do obrazów OpenEXR |
ee189297 | 63 | Group: Applications/Graphics |
be48515c | 64 | Requires: %{name} = %{version}-%{release} |
65 | ||
66 | %description progs | |
ee189297 | 67 | OpenEXR utilities. |
be48515c | 68 | |
f64b4fd4 JR |
69 | %description progs -l pl.UTF-8 |
70 | Narzędzia do obrazów OpenEXR. | |
be48515c | 71 | |
8ed3b08f JB |
72 | %package doc |
73 | Summary: OpenEXR documentation | |
74 | Summary(pl.UTF-8): Dokumentacja do OpenEXR | |
75 | Group: Documentation | |
af95951e | 76 | BuildArch: noarch |
8ed3b08f JB |
77 | |
78 | %description doc | |
79 | OpenEXR documentation describing file format, library etc. | |
80 | ||
81 | %description doc -l pl.UTF-8 | |
82 | Dokumentacja do OpenEXR, opisująca format pliku, bibliotekę itd. | |
83 | ||
be48515c | 84 | %prep |
4b0117e7 | 85 | %setup -q -n openexr-%{version} |
be48515c | 86 | |
87 | %build | |
819cfd44 JR |
88 | mkdir -p build |
89 | cd build | |
90 | %cmake .. \ | |
af95951e JB |
91 | -DBUILD_DOCS=ON \ |
92 | -DINSTALL_DOCS=OFF | |
be48515c | 93 | |
94 | %{__make} | |
95 | ||
96 | %install | |
97 | rm -rf $RPM_BUILD_ROOT | |
98 | ||
819cfd44 | 99 | %{__make} -C build install \ |
be48515c | 100 | DESTDIR=$RPM_BUILD_ROOT |
101 | ||
af95951e | 102 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/examples |
819cfd44 | 103 | |
be48515c | 104 | %clean |
105 | rm -rf $RPM_BUILD_ROOT | |
106 | ||
107 | %post -p /sbin/ldconfig | |
108 | %postun -p /sbin/ldconfig | |
109 | ||
110 | %files | |
111 | %defattr(644,root,root,755) | |
819cfd44 JR |
112 | %doc CHANGES.md CODEOWNERS LICENSE.md PATENTS README.md SECURITY.md |
113 | %attr(755,root,root) %{_libdir}/libIex-3_1.so.*.*.* | |
114 | %attr(755,root,root) %ghost %{_libdir}/libIex-3_1.so.30 | |
115 | %attr(755,root,root) %{_libdir}/libIlmThread-3_1.so.*.*.* | |
116 | %attr(755,root,root) %ghost %{_libdir}/libIlmThread-3_1.so.30 | |
117 | %attr(755,root,root) %{_libdir}/libOpenEXR-3_1.so.*.*.* | |
118 | %attr(755,root,root) %ghost %{_libdir}/libOpenEXR-3_1.so.30 | |
119 | %attr(755,root,root) %{_libdir}/libOpenEXRCore-3_1.so.*.*.* | |
120 | %attr(755,root,root) %ghost %{_libdir}/libOpenEXRCore-3_1.so.30 | |
121 | %attr(755,root,root) %{_libdir}/libOpenEXRUtil-3_1.so.*.*.* | |
122 | %attr(755,root,root) %ghost %{_libdir}/libOpenEXRUtil-3_1.so.30 | |
be48515c | 123 | |
124 | %files devel | |
125 | %defattr(644,root,root,755) | |
819cfd44 JR |
126 | %attr(755,root,root) %{_libdir}/libIex*.so |
127 | %attr(755,root,root) %{_libdir}/libIlmThread*.so | |
128 | %attr(755,root,root) %{_libdir}/libOpenEXR*.so | |
129 | %{_includedir}/OpenEXR | |
56036b80 | 130 | %{_pkgconfigdir}/OpenEXR.pc |
819cfd44 | 131 | %{_libdir}/cmake/OpenEXR |
be48515c | 132 | |
133 | %files progs | |
134 | %defattr(644,root,root,755) | |
be48515c | 135 | %attr(755,root,root) %{_bindir}/exrenvmap |
136 | %attr(755,root,root) %{_bindir}/exrheader | |
137 | %attr(755,root,root) %{_bindir}/exrmakepreview | |
138 | %attr(755,root,root) %{_bindir}/exrmaketiled | |
447913e9 | 139 | %attr(755,root,root) %{_bindir}/exrmultipart |
0c7bd0c4 | 140 | %attr(755,root,root) %{_bindir}/exrmultiview |
be48515c | 141 | %attr(755,root,root) %{_bindir}/exrstdattr |
819cfd44 JR |
142 | %attr(755,root,root) %{_bindir}/exr2aces |
143 | %attr(755,root,root) %{_bindir}/exrinfo | |
8ed3b08f JB |
144 | |
145 | %files doc | |
146 | %defattr(644,root,root,755) | |
af95951e | 147 | %doc build/docs/sphinx/{_images,_static,*.html,*.js} |