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