]>
Commit | Line | Data |
---|---|---|
5e72696b JB |
1 | Summary: Userspace access to RDMA devices using OS-agnostic DAT APIs |
2 | Summary(pl.UTF-8): Dostęp z przestrzeni użytkownika do urządzeń RDMA poprzez API DAT | |
3 | Name: dapl | |
c9b7ec31 | 4 | Version: 2.0.32 |
5e72696b JB |
5 | Release: 1 |
6 | License: CPL v1.0 or BSD or GPL v2 | |
7 | Group: Libraries | |
8 | Source0: http://www.openfabrics.org/downloads/dapl/%{name}-%{version}.tar.gz | |
c9b7ec31 | 9 | # Source0-md5: 0a56cb34462762f0073d732cfe2fb06e |
5e72696b JB |
10 | URL: http://www.openfabrics.org/ |
11 | BuildRequires: libibverbs-devel | |
12 | BuildRequires: librdmacm-devel | |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
14 | ||
15 | %description | |
16 | Along with the OpenFabrics kernel drivers, libdat2 and libdapl provide | |
17 | a userspace RDMA API that supports DAT 2.0 specification and | |
18 | InfiniBand transport extensions for atomic operations and RDMA write | |
19 | with immediate data. | |
20 | ||
21 | %description -l pl.UTF-8 | |
22 | Wraz z modułami jądra OpenFabrics, libdat2 i libdapl dostarczają API | |
23 | RDMA w przestrzeni użytkownika, obsługujące specyfikację DAT 2.0 wraz | |
24 | z rozszerzeniami transportu InfiniBand dla operacji atomowych i zapisu | |
25 | RDMA danych bezpośrednich. | |
26 | ||
27 | %package devel | |
28 | Summary: Header files for libdat2 library | |
29 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libdat2 | |
30 | Group: Development/Libraries | |
31 | Requires: %{name} = %{version}-%{release} | |
32 | Requires: libibverbs-devel | |
33 | ||
34 | %description devel | |
35 | Header files for libdat2 library. | |
36 | ||
37 | %description devel -l pl.UTF-8 | |
38 | Pliki nagłówkowe biblioteki libdat2. | |
39 | ||
40 | %package static | |
41 | Summary: Static libdat2 library | |
42 | Summary(pl.UTF-8): Statyczna biblioteka libdat2 | |
43 | Group: Development/Libraries | |
44 | Requires: %{name}-devel = %{version}-%{release} | |
45 | ||
46 | %description static | |
47 | This package contains the static libdat2 library. | |
48 | ||
49 | %description static -l pl.UTF-8 | |
50 | Ten pakiet zawiera statyczną bibliotekę libdat2. | |
51 | ||
52 | %prep | |
53 | %setup -q | |
54 | ||
55 | %build | |
56 | %configure | |
57 | %{__make} | |
58 | ||
59 | %install | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %{__make} install \ | |
63 | DESTDIR=$RPM_BUILD_ROOT | |
64 | ||
65 | # modules dlopened by soname | |
66 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libdapl*.{so,la,a} | |
67 | ||
68 | %clean | |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | ||
71 | %post -p /sbin/ldconfig | |
72 | %postun -p /sbin/ldconfig | |
73 | ||
74 | %files | |
75 | %defattr(644,root,root,755) | |
76 | # LICENSE is CPL, LICENSE2 is BSD, LICENSE3 is GPL (not included here) | |
77 | %doc AUTHORS COPYING ChangeLog LICENSE.txt LICENSE2.txt README | |
78 | %attr(755,root,root) %{_bindir}/dapltest | |
79 | %attr(755,root,root) %{_bindir}/dtest | |
80 | %attr(755,root,root) %{_bindir}/dtestcm | |
81 | %attr(755,root,root) %{_bindir}/dtestx | |
82 | %attr(755,root,root) %{_libdir}/libdat2.so.*.*.* | |
83 | %attr(755,root,root) %ghost %{_libdir}/libdat2.so.2 | |
84 | %attr(755,root,root) %{_libdir}/libdaplofa.so.*.*.* | |
85 | %attr(755,root,root) %ghost %{_libdir}/libdaplofa.so.2 | |
86 | %attr(755,root,root) %{_libdir}/libdaploscm.so.*.*.* | |
87 | %attr(755,root,root) %ghost %{_libdir}/libdaploscm.so.2 | |
88 | %attr(755,root,root) %{_libdir}/libdaploucm.so.*.*.* | |
89 | %attr(755,root,root) %ghost %{_libdir}/libdaploucm.so.2 | |
90 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dat.conf | |
91 | %{_mandir}/man1/dapltest.1* | |
92 | %{_mandir}/man1/dtest.1* | |
93 | %{_mandir}/man5/dat.conf.5* | |
94 | ||
95 | %files devel | |
96 | %defattr(644,root,root,755) | |
97 | %attr(755,root,root) %{_libdir}/libdat2.so | |
98 | %{_libdir}/libdat2.la | |
99 | %{_includedir}/dat2 | |
100 | ||
101 | %files static | |
102 | %defattr(644,root,root,755) | |
103 | %{_libdir}/libdat2.a |