Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37559767
en ru br
ALT Linux repos
5.0: 1.0-alt3
4.1: 1.0-alt3.M41.1

Group :: System/Libraries
RPM: libmlx4

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: libmlx4
Version: 1.0
Release: alt3
Summary: Mellanox InfiniBand HCA Userspace Driver

Group: System/Libraries
License: GPL/BSD
Url: http://openib.org/
Source: http://openib.org/downloads/%name-%version.tar

Packager: Stanislav Ievlev <inger at altlinux.org>

BuildRequires(pre): rpm-build-compat
BuildPreReq: libibverbs-devel-static >= 1.1.2
Requires: libibverbs >= 1.1.2

# Automatically added by buildreq on Tue Aug 21 2007

BuildRequires: gcc-c++ glibc-devel-static libibverbs-devel

%description
libmlx4 provides a device-specific userspace driver for Mellanox
ConnectX HCAs for use with the libibverbs library.

%package devel
Summary: Development files for the libmlx4 driver
Group: Development/C
Requires: %name = %version-%release

%description devel
Develpoment files for the libmlx4 driver.

%package devel-static
Summary: Static development files for the libmlx4 driver
Group: Development/C
Requires: %name-devel = %version-%release

%description devel-static
Static version of libmlx4 that may be linked directly to an
application, which may be useful for debugging.

%prep
%setup

%build
%configure
%make_build

%install
%make_install_std

install -d %buildroot%_includedir
install -p -m644 src/*.h %buildroot%_includedir

#for biarch

mv %buildroot%_sysconfdir/libibverbs.d/mlx4.driver \
%buildroot%_sysconfdir/libibverbs.d/mlx4.driver-%_host_cpu

%files
%doc AUTHORS COPYING README
%_sysconfdir/libibverbs.d/*
%_libdir/libmlx4-rdmav2.so

%files devel
%_libdir/libmlx4.so
%_includedir/*

%files devel-static
%_libdir/libmlx4.a

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin