]> git.pld-linux.org Git - packages/libibverbs-driver-i40iw.git/blob - libibverbs-driver-i40iw.spec
- rdma-core note
[packages/libibverbs-driver-i40iw.git] / libibverbs-driver-i40iw.spec
1 # NOTE: for versions >= 17 see rdma-core.spec
2 Summary:        Userspace driver for the Intel Ethernet Connection X722 RDMA adapters
3 Summary(pl.UTF-8):      Sterownik przestrzeni użytkownika dla kart RDMA Intel Ethernet Connection X722
4 Name:           libibverbs-driver-i40iw
5 Version:        0.5.227
6 Release:        1.1
7 License:        BSD or GPL v2
8 Group:          Libraries
9 Source0:        https://www.openfabrics.org/downloads/libi40iw/libi40iw-%{version}.tar.gz
10 # Source0-md5:  4b4de2c42a10811df7c9b975c8890e4a
11 URL:            http://openib.org/
12 BuildRequires:  libibverbs-devel
13 # only checked for, not used
14 #BuildRequires: sysfsutils-devel
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %undefine       __cxx
18
19 %description
20 libi40iw is a userspace driver for the Intel Ethernet Connection X722
21 RDMA adapters. It works as a plug-in module for libibverbs that allows
22 programs to use RDMA hardware directly from userspace.
23
24 %description -l pl.UTF-8
25 libi40iw to sterownik przestrzeni użytkownika dla kart RDMA Intel
26 Ethernet Connection X722 RDMA. Działa jako moduł ładowany przez
27 libibverbs, pozwalający programom na dostęp z przestrzeni użytkownika
28 do sprzętu RDMA.
29
30 %package static
31 Summary:        Static version of i40iw driver
32 Summary(pl.UTF-8):      Statyczna wersja sterownika i40iw
33 Group:          Development/Libraries
34 Requires:       libibverbs-static
35
36 %description static
37 Static version of i40iw driver, which may be linked directly into
38 application.
39
40 %description static -l pl.UTF-8
41 Statyczna wersja sterownika i40iw, którą można wbudować bezpośrednio
42 w aplikację.
43
44 %prep
45 %setup -q -n libi40iw-%{version}
46
47 %build
48 %configure
49 %{__make}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57 # dlopened by -rdmav2.so name
58 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libi40iw.{so,la}
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %post   -p /sbin/ldconfig
64 %postun -p /sbin/ldconfig
65
66 %files
67 %defattr(644,root,root,755)
68 %doc AUTHORS
69 %attr(755,root,root) %{_libdir}/libi40iw-rdmav2.so
70 %{_sysconfdir}/libibverbs.d/i40iw.driver
71
72 %files static
73 %defattr(644,root,root,755)
74 %{_libdir}/libi40iw.a
This page took 0.051266 seconds and 3 git commands to generate.