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