From b7107623915dbee26a6bcea7a485c404fd8b45fc Mon Sep 17 00:00:00 2001 From: Honggang Li Date: Thu, 1 Jul 2021 10:50:53 -0400 Subject: [PATCH] Import Intel Ethernet Fast Fabric Suite for RHEL9 Resolves: rhbz#1919019 Signed-off-by: Honggang Li --- .gitignore | 1 + eth-tools.spec | 83 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 85 insertions(+) create mode 100644 eth-tools.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..54c557d 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/eth-fast-fabric-11.0.0.0.tar.gz diff --git a/eth-tools.spec b/eth-tools.spec new file mode 100644 index 0000000..13c836f --- /dev/null +++ b/eth-tools.spec @@ -0,0 +1,83 @@ +Name: eth-tools +Version: 11.0.0.0 +Release: 163%{?dist} +Summary: Intel Ethernet Fabric Suite basic tools and libraries for fabric management + +License: BSD +Url: https://github.com/intel/eth-fast-fabric +Source: %url/archive/%{version}/eth-fast-fabric-%{version}.tar.gz +ExclusiveArch: x86_64 +# The Intel(R) Ethernet Fabric Suite product line is only available on x86_64 platforms at this time. + +Epoch: 1 + +%description +This package contains the tools necessary to manage an Intel Ethernet fabric. + +%package basic +Summary: Management level tools and scripts + +Requires: rdma bc + +Requires: expect%{?_isa}, tcl%{?_isa}, libibverbs-utils%{?_isa}, librdmacm-utils%{?_isa}, net-snmp-utils%{?_isa} +BuildRequires: make, expat-devel, gcc-c++, tcl-devel, net-snmp-devel + +%description basic +Contains basic tools for fabric management necessary on all compute nodes. + +%package fastfabric +Summary: Management level tools and scripts +Requires: eth-tools-basic%{?_isa} >= %{version}-%{release} +Requires: cronie + +%description fastfabric +Contains tools for managing fabric on a management node. + +%prep +%autosetup -n eth-fast-fabric-%{version} + +%build +cd OpenIb_Host +OPA_FEATURE_SET= CLOCAL='%build_cflags' CCLOCAL='%build_cxxflags' LDLOCAL='%build_ldflags' ./ff_build.sh %{_builddir} + +%install +BUILDDIR=%{_builddir} DESTDIR=%{buildroot} LIBDIR=%{_prefix}/lib DSAP_LIBDIR=%{_libdir} ./OpenIb_Host/ff_install.sh + +%files basic +%{_sbindir}/ethcapture +%{_prefix}/lib/eth-tools/setup_self_ssh +%{_prefix}/lib/eth-tools/usemem +%{_prefix}/lib/eth-tools/ethipcalc +%{_prefix}/lib/eth-tools/stream +%{_mandir}/man1/ethcapture.1* +%{_datadir}/eth-tools/samples/mgt_config.xml-sample +%dir %{_sysconfdir}/eth-tools/ +%config(noreplace) %{_sysconfdir}/eth-tools/mgt_config.xml + +%files fastfabric +%{_sbindir}/* +%exclude %{_sbindir}/ethcapture +%{_prefix}/lib/eth-tools/* +%exclude %{_prefix}/lib/eth-tools/setup_self_ssh +%exclude %{_prefix}/lib/eth-tools/usemem +%exclude %{_prefix}/lib/eth-tools/ethipcalc +%exclude %{_prefix}/lib/eth-tools/stream +%{_datadir}/eth-tools/* +%exclude %{_datadir}/eth-tools/samples/mgt_config.xml-sample +%{_mandir}/man8/eth*.8* +%{_usrsrc}/eth/* +%{_sysconfdir}/eth-tools/ethmon.si.conf +# Replace ethmon.si.conf, as it's a template config file. +%config(noreplace) %{_sysconfdir}/eth-tools/ethfastfabric.conf +%config(noreplace) %{_sysconfdir}/eth-tools/ethmon.conf +%config(noreplace) %{_sysconfdir}/eth-tools/allhosts +%config(noreplace) %{_sysconfdir}/eth-tools/chassis +%config(noreplace) %{_sysconfdir}/eth-tools/hosts +%config(noreplace) %{_sysconfdir}/eth-tools/switches +%config(noreplace) /usr/lib/eth-tools/osid_wrapper + + +%changelog +* Thu Jul 01 2021 Honggang Li - 11.0.0.0-163 +- Import Intel Ethernet Fast Fabric Suite for RHEL9 +- Resolves: rhbz#1919019 diff --git a/sources b/sources new file mode 100644 index 0000000..35e7e5d --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (eth-fast-fabric-11.0.0.0.tar.gz) = c3aefa4d06abdda184b202051673d196f3b7dc50c8cfaac9aa669a2b8d0d9c77da0b4a8a6b726d1d4d514de8fd9befddae83af7a6f9856de6310950ec5a415a8