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