]>
Commit | Line | Data |
---|---|---|
e6d03cb0 JB |
1 | Summary: Userspace InfiniBand MAD library |
2 | Summary(pl.UTF-8): Biblioteka InfiniBand MAD dla przestrzeni użytkownika | |
3 | Name: libibumad | |
c398eda2 | 4 | Version: 1.3.10.1 |
e6d03cb0 JB |
5 | Release: 1 |
6 | License: BSD or GPL v2 | |
7 | Group: Libraries | |
c398eda2 JB |
8 | Source0: https://www.openfabrics.org/downloads/management/%{name}-%{version}.tar.gz |
9 | # Source0-md5: 2fa06c98f025f2153621d66b16203405 | |
10 | URL: https://www.openfabrics.org/ | |
e6d03cb0 JB |
11 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
12 | ||
13 | %description | |
14 | libibumad provides the user MAD library functions which sit on top of | |
9daf55c1 JB |
15 | the user MAD modules in the kernel. These are used by the IB |
16 | diagnostic and management tools, including OpenSM. | |
e6d03cb0 JB |
17 | |
18 | %description -l pl.UTF-8 | |
19 | libibumad to biblioteka udostępniająca funkcje MAD w przestrzeni | |
20 | użytkownika, komunikująca się z modułami MAD w jądrze. Jest używana | |
21 | przez narzędzia diagnostyczne oraz zarządzające IB, w tym OpenSM. | |
22 | ||
23 | %package devel | |
24 | Summary: Header files for libibumad library | |
25 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libibumad | |
26 | Group: Development/Libraries | |
27 | Requires: %{name} = %{version}-%{release} | |
28 | # for dir and other IB functionality | |
29 | Requires: libibverbs-devel | |
30 | ||
31 | %description devel | |
32 | Header files for libibumad library. | |
33 | ||
34 | %description devel -l pl.UTF-8 | |
35 | Pliki nagłówkowe biblioteki libibumad. | |
36 | ||
37 | %package static | |
38 | Summary: Static libibumad library | |
39 | Summary(pl.UTF-8): Statyczna biblioteka libibumad | |
40 | Group: Development/Libraries | |
41 | Requires: %{name}-devel = %{version}-%{release} | |
42 | ||
43 | %description static | |
44 | This package contains the static libibumad library. | |
45 | ||
46 | %description static -l pl.UTF-8 | |
47 | Ten pakiet zawiera statyczną bibliotekę libibumad. | |
48 | ||
49 | %prep | |
50 | %setup -q | |
51 | ||
52 | %build | |
53 | %configure | |
54 | %{__make} | |
55 | ||
56 | %install | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %{__make} install \ | |
60 | DESTDIR=$RPM_BUILD_ROOT | |
61 | ||
62 | %clean | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
65 | %post -p /sbin/ldconfig | |
66 | %postun -p /sbin/ldconfig | |
67 | ||
68 | %files | |
69 | %defattr(644,root,root,755) | |
70 | %doc AUTHORS COPYING ChangeLog | |
71 | %attr(755,root,root) %{_libdir}/libibumad.so.*.*.* | |
72 | %attr(755,root,root) %ghost %{_libdir}/libibumad.so.3 | |
73 | ||
74 | %files devel | |
75 | %defattr(644,root,root,755) | |
76 | %attr(755,root,root) %{_libdir}/libibumad.so | |
77 | %{_libdir}/libibumad.la | |
78 | %{_includedir}/infiniband/umad.h | |
c398eda2 | 79 | %{_includedir}/infiniband/umad_*.h |
e6d03cb0 JB |
80 | %{_mandir}/man3/umad_*.3* |
81 | ||
82 | %files static | |
83 | %defattr(644,root,root,755) | |
84 | %{_libdir}/libibumad.a |