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