]>
Commit | Line | Data |
---|---|---|
9988baeb | 1 | # NOTE: for versions >= 17 see rdma-core.spec |
8c3d8eb1 JB |
2 | Summary: Userspace driver for the VMware Paravirtual RDMA devices |
3 | Summary(pl.UTF-8): Sterownik przestrzeni użytkownika dla urządzeń VMware Paravirtual RDMA | |
4 | Name: libibverbs-driver-vmw_pvrdma | |
5 | Version: 1.0.0 | |
9988baeb | 6 | Release: 1.1 |
8c3d8eb1 JB |
7 | License: BSD or GPL v2 |
8 | Group: Libraries | |
9 | Source0: https://www.openfabrics.org/downloads/libvmw_pvrdma/libvmw_pvrdma-%{version}.tar.gz | |
10 | # Source0-md5: 7335fafdee1796a0642ead96a7698218 | |
11 | URL: http://openib.org/ | |
12 | BuildRequires: autoconf >= 2.63 | |
13 | BuildRequires: automake >= 1:1.11 | |
14 | BuildRequires: libibverbs-devel >= 1.1.7 | |
15 | BuildRequires: libtool >= 2:2 | |
16 | Requires: libibverbs >= 1.1.7 | |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %undefine __cxx | |
20 | ||
21 | %description | |
22 | libvmw_pvrdma is a userspace driver for VMware Paravirtual RDMA. It | |
23 | works as a plug-in module for libibverbs that allows programs to use | |
24 | the VMware Paravirtual RDMA device directly from user space. | |
25 | ||
26 | %description -l pl.UTF-8 | |
27 | libvmw_pvrdma to sterownik przestrzeni użytkownika dla VMware | |
28 | Paravirtual RDMA. Działa jako moduł ładowany przez libibverbs, | |
29 | pozwalający programom na dostęp z przestrzeni użytkownika do | |
30 | urządzeń VMware Paravirtual RDMA. | |
31 | ||
32 | %package static | |
33 | Summary: Static version of vmw_pvrdma driver | |
34 | Summary(pl.UTF-8): Statyczna wersja sterownika vmw_pvrdma | |
35 | Group: Development/Libraries | |
36 | Requires: libibverbs-static | |
37 | ||
38 | %description static | |
39 | Static version of vmw_pvrdma driver, which may be linked directly into | |
40 | application. | |
41 | ||
42 | %description static -l pl.UTF-8 | |
43 | Statyczna wersja sterownika vmw_pvrdma, którą można wbudować | |
44 | bezpośrednio w aplikację. | |
45 | ||
46 | %prep | |
47 | %setup -q -n libvmw_pvrdma-%{version} | |
48 | ||
49 | %build | |
50 | %{__libtoolize} | |
51 | %{__aclocal} -I config | |
52 | %{__autoconf} | |
53 | %{__autoheader} | |
54 | %{__automake} | |
55 | %configure \ | |
56 | --disable-silent-rules | |
57 | %{__make} | |
58 | ||
59 | %install | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %{__make} install \ | |
63 | DESTDIR=$RPM_BUILD_ROOT | |
64 | ||
65 | # dlopened by -rdmav2.so name | |
66 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libvmw_pvrdma.{so,la} | |
67 | ||
68 | %clean | |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | ||
71 | %post -p /sbin/ldconfig | |
72 | %postun -p /sbin/ldconfig | |
73 | ||
74 | %files | |
75 | %defattr(644,root,root,755) | |
76 | %doc AUTHORS README | |
77 | %attr(755,root,root) %{_libdir}/libvmw_pvrdma-rdmav2.so | |
78 | %{_sysconfdir}/libibverbs.d/vmw_pvrdma.driver | |
79 | ||
80 | %files static | |
81 | %defattr(644,root,root,755) | |
82 | %{_libdir}/libvmw_pvrdma.a |