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
6 License: CPL v1.0 or BSD or GPL v2
8 Source0: https://www.openfabrics.org/downloads/dapl/%{name}-%{version}.tar.gz
9 # Source0-md5: dd757dec11cb23702aea8474e76a0037
10 Patch0: %{name}-link.patch
11 Patch1: %{name}-include.patch
12 Patch2: %{name}-format.patch
13 URL: http://www.openfabrics.org/
14 BuildRequires: autoconf >= 2.57
15 BuildRequires: automake
16 BuildRequires: libibverbs-devel >= 1.1.4
17 BuildRequires: librdmacm-devel
18 BuildRequires: libtool
19 Requires: libibverbs >= 1.1.4
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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
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.
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}
39 Requires: libibverbs-devel >= 1.1.4
42 Header files for libdat2 library.
44 %description devel -l pl.UTF-8
45 Pliki nagłówkowe biblioteki libdat2.
48 Summary: Static libdat2 library
49 Summary(pl.UTF-8): Statyczna biblioteka libdat2
50 Group: Development/Libraries
51 Requires: %{name}-devel = %{version}-%{release}
54 This package contains the static libdat2 library.
56 %description static -l pl.UTF-8
57 Ten pakiet zawiera statyczną bibliotekę libdat2.
72 --disable-silent-rules
76 rm -rf $RPM_BUILD_ROOT
78 %{__make} -j1 install \
79 DESTDIR=$RPM_BUILD_ROOT
81 # modules dlopened by soname
82 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libdapl*.{so,la,a}
85 rm -rf $RPM_BUILD_ROOT
87 %post -p /sbin/ldconfig
88 %postun -p /sbin/ldconfig
91 %defattr(644,root,root,755)
92 # LICENSE is CPL, LICENSE2 is BSD, LICENSE3 is GPL (not included here)
93 %doc AUTHORS COPYING ChangeLog LICENSE.txt LICENSE2.txt README
94 %attr(755,root,root) %{_bindir}/dapltest
95 %attr(755,root,root) %{_bindir}/dtest
96 %attr(755,root,root) %{_bindir}/dtestcm
97 %attr(755,root,root) %{_bindir}/dtestx
98 %attr(755,root,root) %{_libdir}/libdat2.so.*.*.*
99 %attr(755,root,root) %ghost %{_libdir}/libdat2.so.2
100 %attr(755,root,root) %{_libdir}/libdaplofa.so.*.*.*
101 %attr(755,root,root) %ghost %{_libdir}/libdaplofa.so.2
102 %attr(755,root,root) %{_libdir}/libdaploscm.so.*.*.*
103 %attr(755,root,root) %ghost %{_libdir}/libdaploscm.so.2
104 %attr(755,root,root) %{_libdir}/libdaploucm.so.*.*.*
105 %attr(755,root,root) %ghost %{_libdir}/libdaploucm.so.2
106 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dat.conf
107 %{_mandir}/man1/dapltest.1*
108 %{_mandir}/man1/dtest.1*
109 %{_mandir}/man5/dat.conf.5*
112 %defattr(644,root,root,755)
113 %attr(755,root,root) %{_libdir}/libdat2.so
114 %{_libdir}/libdat2.la
118 %defattr(644,root,root,755)