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