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: ff01d9fbae488e849472d00d6fb14a43
10 Patch0: %{name}-link.patch
11 Patch1: %{name}-include.patch
12 URL: http://www.openfabrics.org/
13 BuildRequires: autoconf >= 2.57
14 BuildRequires: automake
15 BuildRequires: libibverbs-devel
16 BuildRequires: librdmacm-devel
17 BuildRequires: libtool
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 Along with the OpenFabrics kernel drivers, libdat2 and libdapl provide
22 a userspace RDMA API that supports DAT 2.0 specification and
23 InfiniBand transport extensions for atomic operations and RDMA write
26 %description -l pl.UTF-8
27 Wraz z modułami jądra OpenFabrics, libdat2 i libdapl dostarczają API
28 RDMA w przestrzeni użytkownika, obsługujące specyfikację DAT 2.0 wraz
29 z rozszerzeniami transportu InfiniBand dla operacji atomowych i zapisu
30 RDMA danych bezpośrednich.
33 Summary: Header files for libdat2 library
34 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libdat2
35 Group: Development/Libraries
36 Requires: %{name} = %{version}-%{release}
37 Requires: libibverbs-devel
40 Header files for libdat2 library.
42 %description devel -l pl.UTF-8
43 Pliki nagłówkowe biblioteki libdat2.
46 Summary: Static libdat2 library
47 Summary(pl.UTF-8): Statyczna biblioteka libdat2
48 Group: Development/Libraries
49 Requires: %{name}-devel = %{version}-%{release}
52 This package contains the static libdat2 library.
54 %description static -l pl.UTF-8
55 Ten pakiet zawiera statyczną bibliotekę libdat2.
72 rm -rf $RPM_BUILD_ROOT
74 %{__make} -j1 install \
75 DESTDIR=$RPM_BUILD_ROOT
77 # modules dlopened by soname
78 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libdapl*.{so,la,a}
81 rm -rf $RPM_BUILD_ROOT
83 %post -p /sbin/ldconfig
84 %postun -p /sbin/ldconfig
87 %defattr(644,root,root,755)
88 # LICENSE is CPL, LICENSE2 is BSD, LICENSE3 is GPL (not included here)
89 %doc AUTHORS COPYING ChangeLog LICENSE.txt LICENSE2.txt README
90 %attr(755,root,root) %{_bindir}/dapltest
91 %attr(755,root,root) %{_bindir}/dtest
92 %attr(755,root,root) %{_bindir}/dtestcm
93 %attr(755,root,root) %{_bindir}/dtestx
94 %attr(755,root,root) %{_libdir}/libdat2.so.*.*.*
95 %attr(755,root,root) %ghost %{_libdir}/libdat2.so.2
96 %attr(755,root,root) %{_libdir}/libdaplofa.so.*.*.*
97 %attr(755,root,root) %ghost %{_libdir}/libdaplofa.so.2
98 %attr(755,root,root) %{_libdir}/libdaploscm.so.*.*.*
99 %attr(755,root,root) %ghost %{_libdir}/libdaploscm.so.2
100 %attr(755,root,root) %{_libdir}/libdaploucm.so.*.*.*
101 %attr(755,root,root) %ghost %{_libdir}/libdaploucm.so.2
102 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dat.conf
103 %{_mandir}/man1/dapltest.1*
104 %{_mandir}/man1/dtest.1*
105 %{_mandir}/man5/dat.conf.5*
108 %defattr(644,root,root,755)
109 %attr(755,root,root) %{_libdir}/libdat2.so
110 %{_libdir}/libdat2.la
114 %defattr(644,root,root,755)