]>
Commit | Line | Data |
---|---|---|
907c4a74 JB |
1 | Summary: IlmBase - base math and exception libraries from OpenEXR project |
2 | Summary(pl.UTF-8): IlmBase - podstawowe biblioteki matematyczne i wyjątków z projektu OpenEXR | |
3 | Name: ilmbase | |
e7ca427f | 4 | Version: 2.3.0 |
e7f3034d | 5 | Release: 0.1 |
907c4a74 JB |
6 | License: BSD |
7 | Group: Libraries | |
e7ca427f BZ |
8 | Source0: https://github.com/AcademySoftwareFoundation/openexr/releases/download/v%{version}/ilmbase-%{version}.tar.gz |
9 | # Source0-md5: 354bf86de3b930ab87ac63619d60c860 | |
907c4a74 | 10 | Patch0: %{name}-link.patch |
a56b5630 | 11 | Patch1: %{name}-sh.patch |
907c4a74 JB |
12 | URL: http://www.openexr.com/ |
13 | BuildRequires: autoconf >= 2.50 | |
14 | BuildRequires: automake >= 1.6.3 | |
15 | BuildRequires: libstdc++-devel | |
f9c86967 | 16 | BuildRequires: libtool >= 2:1.5 |
907c4a74 JB |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
18 | ||
19 | %description | |
20 | IlmBase consists of the following libraries: | |
21 | ||
22 | Half is a class that encapsulates our 16-bit floating-point format. | |
23 | ||
24 | IlmThread is a thread abstraction library for use with OpenEXR | |
25 | and other software packages. It currently supports pthreads and | |
26 | Windows threads. | |
27 | ||
28 | Imath implements 2D and 3D vectors, 3x3 and 4x4 matrices, quaternions | |
29 | and other useful 2D and 3D math functions. | |
30 | ||
31 | Iex is an exception-handling library. | |
32 | ||
33 | %description -l pl.UTF-8 | |
34 | IlmBase składa się z następujących bibliotek: | |
35 | ||
36 | Half to klasa obudowująca 16-bitowy format zmiennoprzecinkowy. | |
37 | ||
38 | IlmThread to biblioteka abstrakcji wątków przeznaczona dla OpenEXR i | |
39 | innych pakietów oprogramowania. Aktualnie obsługuje standard pthreads | |
40 | oraz wątki Windows. | |
41 | ||
42 | Imath implementuje wektory 2D i 3D, macierze 3x3 i 4x4, kwaterniony i | |
43 | inne przydatne funkcje matematyczne 2D i 3D. | |
44 | ||
45 | Iex to biblioteka obsługi wyjątków. | |
46 | ||
47 | %package devel | |
48 | Summary: Header files for IlmBase libraries | |
49 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek IlmBase | |
50 | Group: Development/Libraries | |
51 | Requires: %{name} = %{version}-%{release} | |
52 | Requires: libstdc++-devel | |
1f349b60 | 53 | Conflicts: OpenEXR-devel < 1.5.0 |
907c4a74 JB |
54 | |
55 | %description devel | |
56 | Header files for IlmBase libraries. | |
57 | ||
58 | %description devel -l pl.UTF-8 | |
59 | Pliki nagłówkowe bibliotek IlmBase. | |
60 | ||
61 | %package static | |
62 | Summary: Static IlmBase libraries | |
63 | Summary(pl.UTF-8): Statyczne biblioteki IlmBase | |
64 | Group: Development/Libraries | |
65 | Requires: %{name}-devel = %{version}-%{release} | |
1f349b60 | 66 | Conflicts: OpenEXR-static < 1.5.0 |
907c4a74 JB |
67 | |
68 | %description static | |
69 | Static IlmBase libraries. | |
70 | ||
71 | %description static -l pl.UTF-8 | |
72 | Statyczne biblioteki IlmBase. | |
73 | ||
74 | %prep | |
75 | %setup -q | |
76 | %patch0 -p1 | |
a56b5630 | 77 | %patch1 -p1 |
907c4a74 JB |
78 | |
79 | %build | |
80 | %{__libtoolize} | |
81 | %{__aclocal} -I m4 | |
82 | %{__autoconf} | |
a56b5630 | 83 | # no autoheader - missing templates |
907c4a74 JB |
84 | %{__automake} |
85 | %configure | |
86 | ||
87 | %{__make} | |
88 | ||
89 | %install | |
90 | rm -rf $RPM_BUILD_ROOT | |
91 | ||
92 | %{__make} install \ | |
93 | DESTDIR=$RPM_BUILD_ROOT | |
94 | ||
95 | %clean | |
96 | rm -rf $RPM_BUILD_ROOT | |
97 | ||
98 | %post -p /sbin/ldconfig | |
99 | %postun -p /sbin/ldconfig | |
100 | ||
101 | %files | |
102 | %defattr(644,root,root,755) | |
e7ca427f | 103 | %doc AUTHORS ChangeLog NEWS |
907c4a74 | 104 | %attr(755,root,root) %{_libdir}/libHalf.so.*.*.* |
e7ca427f BZ |
105 | %attr(755,root,root) %ghost %{_libdir}/libHalf.so.24 |
106 | %attr(755,root,root) %{_libdir}/libIex-2_3.so.*.*.* | |
107 | %attr(755,root,root) %ghost %{_libdir}/libIex-2_3.so.24 | |
108 | %attr(755,root,root) %{_libdir}/libIexMath-2_3.so.*.*.* | |
109 | %attr(755,root,root) %ghost %{_libdir}/libIexMath-2_3.so.24 | |
110 | %attr(755,root,root) %{_libdir}/libIlmThread-2_3.so.*.*.* | |
111 | %attr(755,root,root) %ghost %{_libdir}/libIlmThread-2_3.so.24 | |
112 | %attr(755,root,root) %{_libdir}/libImath-2_3.so.*.*.* | |
113 | %attr(755,root,root) %ghost %{_libdir}/libImath-2_3.so.24 | |
907c4a74 JB |
114 | |
115 | %files devel | |
116 | %defattr(644,root,root,755) | |
117 | %attr(755,root,root) %{_libdir}/libHalf.so | |
118 | %attr(755,root,root) %{_libdir}/libIex.so | |
f9c86967 | 119 | %attr(755,root,root) %{_libdir}/libIexMath.so |
907c4a74 JB |
120 | %attr(755,root,root) %{_libdir}/libIlmThread.so |
121 | %attr(755,root,root) %{_libdir}/libImath.so | |
122 | %{_libdir}/libHalf.la | |
123 | %{_libdir}/libIex.la | |
f9c86967 | 124 | %{_libdir}/libIexMath.la |
907c4a74 JB |
125 | %{_libdir}/libIlmThread.la |
126 | %{_libdir}/libImath.la | |
127 | %dir %{_includedir}/OpenEXR | |
128 | %{_includedir}/OpenEXR/Iex*.h | |
129 | %{_includedir}/OpenEXR/IlmBaseConfig.h | |
130 | %{_includedir}/OpenEXR/IlmThread*.h | |
131 | %{_includedir}/OpenEXR/Imath*.h | |
132 | %{_includedir}/OpenEXR/half*.h | |
133 | %{_pkgconfigdir}/IlmBase.pc | |
134 | ||
135 | %files static | |
136 | %defattr(644,root,root,755) | |
137 | %{_libdir}/libHalf.a | |
138 | %{_libdir}/libIex.a | |
f9c86967 | 139 | %{_libdir}/libIexMath.a |
907c4a74 JB |
140 | %{_libdir}/libIlmThread.a |
141 | %{_libdir}/libImath.a |