mstflint/mstflint.spec

89 lines
2.7 KiB
RPMSpec
Raw Normal View History

#
# spec file for package mstflint
#
Accepting request 674852 from home:NMoreyChaisemartin:branches:science:HPC - Update to v4.11.0-3 (bsc#1103497) - Added option to query only flashed FW version, which reduces the CPU usage during the query. To use this option you should use "--next_boot_fw_ver" flag. - Fixed issue of missing information during query. - Added support for python 3. - Added option to reduce cpu utilization with "--low_cpu" flag. - Added compatibility to 1.1.X version, in addition to previously supported 1.0.2 version. - Added support for Mellanox Quantum switch systems and ConnectX-6 Ready adapter cards. - mstarchive tool The mstarchive tool allows the user to create a file with the mfa2 extension. The new file contains several binary files of a given firmware for different adapter cards. - mstprivhost The ability to restrict the hosts from configuring the NIC. Meaning, only the Arm side will have the privilege to configure the NIC. Note: This utility is supported in BlueField devices only. - mstconfig in BlueField Enables the user to manage (grand/restrict) mlxconfig configuration privileges for BlueField Arm systems. - Refresh patchest against latest sources: - Add-armv6-and-armv7-support.patch - Add-s390-s390x-support.patch - Fix-gcc7-and-gcc8.patch - Remove-date-time-info-from-build.patch - fix-race-condition-during-install.patch - Drop Fixed-licenses-of-files.patch as it was merged upstream OBS-URL: https://build.opensuse.org/request/show/674852 OBS-URL: https://build.opensuse.org/package/show/science:HPC/mstflint?expand=0&rev=31
2019-02-14 07:54:30 +01:00
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define extra_version -3
Name: mstflint
Accepting request 674852 from home:NMoreyChaisemartin:branches:science:HPC - Update to v4.11.0-3 (bsc#1103497) - Added option to query only flashed FW version, which reduces the CPU usage during the query. To use this option you should use "--next_boot_fw_ver" flag. - Fixed issue of missing information during query. - Added support for python 3. - Added option to reduce cpu utilization with "--low_cpu" flag. - Added compatibility to 1.1.X version, in addition to previously supported 1.0.2 version. - Added support for Mellanox Quantum switch systems and ConnectX-6 Ready adapter cards. - mstarchive tool The mstarchive tool allows the user to create a file with the mfa2 extension. The new file contains several binary files of a given firmware for different adapter cards. - mstprivhost The ability to restrict the hosts from configuring the NIC. Meaning, only the Arm side will have the privilege to configure the NIC. Note: This utility is supported in BlueField devices only. - mstconfig in BlueField Enables the user to manage (grand/restrict) mlxconfig configuration privileges for BlueField Arm systems. - Refresh patchest against latest sources: - Add-armv6-and-armv7-support.patch - Add-s390-s390x-support.patch - Fix-gcc7-and-gcc8.patch - Remove-date-time-info-from-build.patch - fix-race-condition-during-install.patch - Drop Fixed-licenses-of-files.patch as it was merged upstream OBS-URL: https://build.opensuse.org/request/show/674852 OBS-URL: https://build.opensuse.org/package/show/science:HPC/mstflint?expand=0&rev=31
2019-02-14 07:54:30 +01:00
Version: 4.11.0
Release: 0
Summary: Mellanox Firmware Burning and Diagnostics Tools
License: GPL-2.0-only OR BSD-2-Clause
Group: System/Console
Url: http://www.openfabrics.org
Obsoletes: mstflint-devel < %{version}
Source: https://github.com/Mellanox/mstflint/releases/download/v%{version}%{extra_version}/mstflint-%{version}%{extra_version}.tar.gz
Patch1: Remove-date-time-info-from-build.patch
Patch2: Add-s390-s390x-support.patch
Patch3: Add-armv6-and-armv7-support.patch
Patch4: Fix-gcc7-and-gcc8.patch
Patch5: fix-race-condition-during-install.patch
BuildRequires: gcc-c++
BuildRequires: infiniband-diags-devel
BuildRequires: libibverbs-devel
Accepting request 674852 from home:NMoreyChaisemartin:branches:science:HPC - Update to v4.11.0-3 (bsc#1103497) - Added option to query only flashed FW version, which reduces the CPU usage during the query. To use this option you should use "--next_boot_fw_ver" flag. - Fixed issue of missing information during query. - Added support for python 3. - Added option to reduce cpu utilization with "--low_cpu" flag. - Added compatibility to 1.1.X version, in addition to previously supported 1.0.2 version. - Added support for Mellanox Quantum switch systems and ConnectX-6 Ready adapter cards. - mstarchive tool The mstarchive tool allows the user to create a file with the mfa2 extension. The new file contains several binary files of a given firmware for different adapter cards. - mstprivhost The ability to restrict the hosts from configuring the NIC. Meaning, only the Arm side will have the privilege to configure the NIC. Note: This utility is supported in BlueField devices only. - mstconfig in BlueField Enables the user to manage (grand/restrict) mlxconfig configuration privileges for BlueField Arm systems. - Refresh patchest against latest sources: - Add-armv6-and-armv7-support.patch - Add-s390-s390x-support.patch - Fix-gcc7-and-gcc8.patch - Remove-date-time-info-from-build.patch - fix-race-condition-during-install.patch - Drop Fixed-licenses-of-files.patch as it was merged upstream OBS-URL: https://build.opensuse.org/request/show/674852 OBS-URL: https://build.opensuse.org/package/show/science:HPC/mstflint?expand=0&rev=31
2019-02-14 07:54:30 +01:00
BuildRequires: libopenssl-devel
BuildRequires: libtool
BuildRequires: zlib-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This package contains a burning tool and diagnostic tools for Mellanox
manufactured HCA/NIC cards. It also provides access to the relevant
source code. Please see the file LICENSE for licensing details.
This package is based on a subset of the Mellanox Firmware Tools (MFT)
package. For a full documentation of the MFT package, please refer to
the downloads page at the Mellanox web site.
%prep
%setup -q
%patch1
%patch2
%patch3
%patch4
%patch5
%build
./autogen.sh
%configure
make %{?_smp_mflags} CFLAGS="%{optflags} -I. -fno-exceptions"
%install
make %{?_smp_mflags} DESTDIR=%{buildroot} install
rm -rf %{buildroot}%{_includedir}/mstflint
rm -rf %{buildroot}%{_libdir}/mstflint/
rm -rf %{buildroot}%{_bindir}/hca_self_test.ofed
%files
%defattr(-, root, root)
%doc README COPYING LICENSE
%{_bindir}/mstconfig
%{_bindir}/mstcongestion
%{_bindir}/mstflint
%{_bindir}/mstfwreset
%{_bindir}/mstmcra
%{_bindir}/mstmread
%{_bindir}/mstmtserver
%{_bindir}/mstmwrite
Accepting request 674852 from home:NMoreyChaisemartin:branches:science:HPC - Update to v4.11.0-3 (bsc#1103497) - Added option to query only flashed FW version, which reduces the CPU usage during the query. To use this option you should use "--next_boot_fw_ver" flag. - Fixed issue of missing information during query. - Added support for python 3. - Added option to reduce cpu utilization with "--low_cpu" flag. - Added compatibility to 1.1.X version, in addition to previously supported 1.0.2 version. - Added support for Mellanox Quantum switch systems and ConnectX-6 Ready adapter cards. - mstarchive tool The mstarchive tool allows the user to create a file with the mfa2 extension. The new file contains several binary files of a given firmware for different adapter cards. - mstprivhost The ability to restrict the hosts from configuring the NIC. Meaning, only the Arm side will have the privilege to configure the NIC. Note: This utility is supported in BlueField devices only. - mstconfig in BlueField Enables the user to manage (grand/restrict) mlxconfig configuration privileges for BlueField Arm systems. - Refresh patchest against latest sources: - Add-armv6-and-armv7-support.patch - Add-s390-s390x-support.patch - Fix-gcc7-and-gcc8.patch - Remove-date-time-info-from-build.patch - fix-race-condition-during-install.patch - Drop Fixed-licenses-of-files.patch as it was merged upstream OBS-URL: https://build.opensuse.org/request/show/674852 OBS-URL: https://build.opensuse.org/package/show/science:HPC/mstflint?expand=0&rev=31
2019-02-14 07:54:30 +01:00
%{_bindir}/mstprivhost
%{_bindir}/mstregdump
%{_bindir}/mstvpd
%{_mandir}/man1/*.1%{ext_man}
%{_datadir}/mstflint/
%changelog