2020-02-14 14:25:23 +08:00
|
|
|
Name: mstflint
|
|
|
|
|
Summary: Firmware Burning and Diagnostics Tools
|
|
|
|
|
Version: 4.10.0
|
2020-05-19 19:53:45 +08:00
|
|
|
Release: 5
|
2020-02-14 14:25:23 +08:00
|
|
|
License: GPLv2+ or BSD
|
|
|
|
|
Url: https://github.com/Mellanox/mstflint
|
|
|
|
|
Source: https://github.com/Mellanox/%{name}/releases/download/v4.10.0-2/%{name}-%{version}.tar.gz
|
2020-05-19 19:53:45 +08:00
|
|
|
Patch0000: 0001-Add-function-operator-for-class-ParserCallback.patch
|
2020-02-14 14:25:23 +08:00
|
|
|
|
|
|
|
|
BuildRequires: libstdc++-devel zlib-devel libibmad-devel gcc-c++ gcc
|
|
|
|
|
BuildRequires: libcurl-devel boost-devel libxml2-devel openssl-devel
|
|
|
|
|
Obsoletes: openib-mstflint <= 1.4 openib-tvflash <= 0.9.2 tvflash <= 0.9.0
|
|
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
|
|
%package_help
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
export CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS"
|
|
|
|
|
%configure --enable-fw-mgr
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
|
|
%delete_la_and_a
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc README
|
|
|
|
|
%{_bindir}/*
|
|
|
|
|
%{_sysconfdir}/mstflint
|
|
|
|
|
%{_libdir}/mstflint
|
|
|
|
|
%{_datadir}/mstflint
|
|
|
|
|
%exclude %{_includedir}/
|
|
|
|
|
|
|
|
|
|
%files help
|
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2020-05-19 19:53:45 +08:00
|
|
|
* Tue May 19 2020 lizhenhua <lizhenhua12@huawei.com> - 4.10.0-5
|
|
|
|
|
- Add function operator= for class ParserCallback
|
|
|
|
|
|
2020-02-14 14:25:23 +08:00
|
|
|
* Wed Dec 11 2019 catastrowings <jianghuhao1994@163.com> - 4.10.0-4
|
|
|
|
|
- openEuler init
|