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: http://www.openfabrics.org/downloads/dapl/%{name}-%{version}.tar.gz
9 # Source0-md5: 0a56cb34462762f0073d732cfe2fb06e
10 URL: http://www.openfabrics.org/
11 BuildRequires: libibverbs-devel
12 BuildRequires: librdmacm-devel
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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
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.
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
35 Header files for libdat2 library.
37 %description devel -l pl.UTF-8
38 Pliki nagłówkowe biblioteki libdat2.
41 Summary: Static libdat2 library
42 Summary(pl.UTF-8): Statyczna biblioteka libdat2
43 Group: Development/Libraries
44 Requires: %{name}-devel = %{version}-%{release}
47 This package contains the static libdat2 library.
49 %description static -l pl.UTF-8
50 Ten pakiet zawiera statyczną bibliotekę libdat2.
60 rm -rf $RPM_BUILD_ROOT
63 DESTDIR=$RPM_BUILD_ROOT
65 # modules dlopened by soname
66 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libdapl*.{so,la,a}
69 rm -rf $RPM_BUILD_ROOT
71 %post -p /sbin/ldconfig
72 %postun -p /sbin/ldconfig
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*
96 %defattr(644,root,root,755)
97 %attr(755,root,root) %{_libdir}/libdat2.so
102 %defattr(644,root,root,755)