]>
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 |
77cb6c7a | 4 | Version: 2.2.0 |
0c7bd0c4 | 5 | Release: 1 |
4b0117e7 | 6 | License: BSD |
be48515c | 7 | Group: Libraries |
0c2759db | 8 | Source0: http://download.savannah.gnu.org/releases/openexr/openexr-%{version}.tar.gz |
77cb6c7a JB |
9 | # Source0-md5: b64e931c82aa3790329c21418373db4e |
10 | Patch0: %{name}-build.patch | |
be48515c | 11 | URL: http://www.openexr.com/ |
4b0117e7 JB |
12 | BuildRequires: autoconf >= 2.50 |
13 | BuildRequires: automake >= 1.6.3 | |
77cb6c7a | 14 | BuildRequires: ilmbase-devel >= 2.2.0 |
1f120402 | 15 | BuildRequires: libstdc++-devel |
447913e9 | 16 | BuildRequires: libtool >= 2:1.5 |
be48515c | 17 | BuildRequires: pkgconfig |
1f120402 | 18 | BuildRequires: zlib-devel |
77cb6c7a | 19 | Requires: ilmbase >= 2.2.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} | |
77cb6c7a | 44 | Requires: ilmbase-devel >= 2.2.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 | |
8ed3b08f JB |
78 | %package doc |
79 | Summary: OpenEXR documentation | |
80 | Summary(pl.UTF-8): Dokumentacja do OpenEXR | |
81 | Group: Documentation | |
82 | ||
83 | %description doc | |
84 | OpenEXR documentation describing file format, library etc. | |
85 | ||
86 | %description doc -l pl.UTF-8 | |
87 | Dokumentacja do OpenEXR, opisująca format pliku, bibliotekę itd. | |
88 | ||
be48515c | 89 | %prep |
4b0117e7 | 90 | %setup -q -n openexr-%{version} |
77cb6c7a | 91 | %patch0 -p1 |
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 | ||
8ed3b08f JB |
108 | # PDFs packaged as %doc |
109 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} | |
110 | ||
be48515c | 111 | %clean |
112 | rm -rf $RPM_BUILD_ROOT | |
113 | ||
114 | %post -p /sbin/ldconfig | |
115 | %postun -p /sbin/ldconfig | |
116 | ||
117 | %files | |
118 | %defattr(644,root,root,755) | |
b78d8f4b | 119 | %doc AUTHORS COPYING ChangeLog NEWS README |
77cb6c7a JB |
120 | %attr(755,root,root) %{_libdir}/libIlmImf-2_2.so.*.*.* |
121 | %attr(755,root,root) %ghost %{_libdir}/libIlmImf-2_2.so.22 | |
122 | %attr(755,root,root) %{_libdir}/libIlmImfUtil-2_2.so.*.*.* | |
123 | %attr(755,root,root) %ghost %{_libdir}/libIlmImfUtil-2_2.so.22 | |
be48515c | 124 | |
125 | %files devel | |
126 | %defattr(644,root,root,755) | |
56036b80 | 127 | %attr(755,root,root) %{_libdir}/libIlmImf.so |
77cb6c7a | 128 | %attr(755,root,root) %{_libdir}/libIlmImfUtil.so |
56036b80 | 129 | %{_libdir}/libIlmImf.la |
77cb6c7a | 130 | %{_libdir}/libIlmImfUtil.la |
4b0117e7 JB |
131 | %{_includedir}/OpenEXR/Imf*.h |
132 | %{_includedir}/OpenEXR/OpenEXRConfig.h | |
56036b80 JB |
133 | %{_aclocaldir}/openexr.m4 |
134 | %{_pkgconfigdir}/OpenEXR.pc | |
be48515c | 135 | |
136 | %files static | |
137 | %defattr(644,root,root,755) | |
56036b80 | 138 | %{_libdir}/libIlmImf.a |
77cb6c7a | 139 | %{_libdir}/libIlmImfUtil.a |
be48515c | 140 | |
141 | %files progs | |
142 | %defattr(644,root,root,755) | |
be48515c | 143 | %attr(755,root,root) %{_bindir}/exrenvmap |
144 | %attr(755,root,root) %{_bindir}/exrheader | |
145 | %attr(755,root,root) %{_bindir}/exrmakepreview | |
146 | %attr(755,root,root) %{_bindir}/exrmaketiled | |
447913e9 | 147 | %attr(755,root,root) %{_bindir}/exrmultipart |
0c7bd0c4 | 148 | %attr(755,root,root) %{_bindir}/exrmultiview |
be48515c | 149 | %attr(755,root,root) %{_bindir}/exrstdattr |
8ed3b08f JB |
150 | |
151 | %files doc | |
152 | %defattr(644,root,root,755) | |
153 | %doc doc/*.pdf |