]> git.pld-linux.org Git - SPECS.git/blob - libibverbs-driver-mlx5.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / libibverbs-driver-mlx5.spec
1 # NOTE: for versions >= 17 see rdma-core.spec
2 Summary:        Userspace driver for the Mellanox Connect-IB InfiniBand HCAs
3 Summary(pl.UTF-8):      Sterownik przestrzeni użytkownika dla kart Mellanox Connect-IB InfiniBand HCA
4 Name:           libibverbs-driver-mlx5
5 Version:        1.2.1
6 Release:        1.1
7 License:        BSD or GPL v2
8 Group:          Libraries
9 Source0:        https://www.openfabrics.org/downloads/mlx5/libmlx5-%{version}.tar.gz
10 # Source0-md5:  eecd015a2c4f2452a0a1cbc121b40712
11 URL:            https://www.openfabrics.org/
12 BuildRequires:  autoconf >= 2.57
13 BuildRequires:  automake
14 BuildRequires:  libibverbs-devel >= 1.1.8
15 BuildRequires:  libtool >= 2:2
16 BuildRequires:  sed >= 4.0
17 Requires:       libibverbs >= 1.1.8
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 libmlx5 is a userspace driver for Mellanox Connect-IB InfiniBand
22 HCAs.  It works as a plug-in module for libibverbs that allows
23 programs to use Mellanox hardware directly from userspace.
24
25 Currently the driver supports HCAs on PCI Express interface based on
26 MT27600 Connect-IB chip, using mlx5_ib kernel driver.
27
28 %description -l pl.UTF-8
29 libmlx5 to sterownik przestrzeni użytkownika dla kart Mellanox
30 Connect-IB InfiniBand HCA. Działa jako moduł ładowany przez
31 libibverbs, pozwalający programom na dostęp z przestrzeni użytkownika
32 do sprzętu Mellanox.
33
34 Obecnie sterownik obsługuje kontrolery HCA na szynie PCI Express
35 oparte na układzie MT27600 Connect-IB poprzez sterownik jądra mlx5_ib.
36
37 %package static
38 Summary:        Static version of mlx5 driver
39 Summary(pl.UTF-8):      Statyczna wersja sterownika mlx5
40 Group:          Development/Libraries
41 Requires:       libibverbs-static >= 1.1.8
42
43 %description static
44 Static version of mlx5 driver, which may be linked directly into
45 application.
46
47 %description static -l pl.UTF-8
48 Statyczna wersja sterownika mlx5, którą można wbudować bezpośrednio
49 w aplikację.
50
51 %prep
52 %setup -q -n libmlx5-%{version}
53
54 # don't fail on "statement with no effect" warning
55 #%{__sed} -i -e 's/ -Werror//' configure.ac
56
57 %build
58 %{__libtoolize}
59 %{__aclocal}
60 %{__autoconf}
61 %{__autoheader}
62 %{__automake}
63 %configure \
64         --disable-silent-rules
65 %{__make}
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69
70 %{__make} install \
71         DESTDIR=$RPM_BUILD_ROOT
72
73 # dlopened by -rdmav2.so name
74 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libmlx5.{so,la}
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %post   -p /sbin/ldconfig
80 %postun -p /sbin/ldconfig
81
82 %files
83 %defattr(644,root,root,755)
84 %doc AUTHORS COPYING README
85 %attr(755,root,root) %{_libdir}/libmlx5-rdmav2.so
86 %{_sysconfdir}/libibverbs.d/mlx5.driver
87
88 %files static
89 %defattr(644,root,root,755)
90 %{_libdir}/libmlx5.a
This page took 0.418817 seconds and 3 git commands to generate.