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