Blame SPECS/eth-tools.spec

9098e3
Name: eth-tools
9098e3
Version: 11.0.0.0
9098e3
Release: 164%{?dist}
9098e3
Summary: Intel Ethernet Fabric Suite basic tools and libraries for fabric management
9098e3
9098e3
License: BSD
9098e3
Url: https://github.com/intel/eth-fast-fabric
9098e3
Source: %url/archive/%{version}/eth-fast-fabric-%{version}.tar.gz
9098e3
ExclusiveArch: x86_64
9098e3
# The Intel(R) Ethernet Fabric Suite product line is only available on x86_64 platforms at this time.
9098e3
9098e3
Epoch: 1
9098e3
9098e3
%description
9098e3
This package contains the tools necessary to manage an Intel Ethernet fabric.
9098e3
9098e3
%package basic
9098e3
Summary: Management level tools and scripts
9098e3
9098e3
Requires: rdma bc
9098e3
9098e3
Requires: expect%{?_isa}, tcl%{?_isa}, libibverbs-utils%{?_isa}, librdmacm-utils%{?_isa}, net-snmp-utils%{?_isa}
9098e3
BuildRequires: make, expat-devel, gcc-c++, tcl-devel, net-snmp-devel
9098e3
9098e3
%description basic
9098e3
Contains basic tools for fabric management necessary on all compute nodes.
9098e3
9098e3
%package fastfabric
9098e3
Summary: Management level tools and scripts
9098e3
Requires: eth-tools-basic%{?_isa} >= %{version}-%{release}
9098e3
Requires: cronie
9098e3
9098e3
%description fastfabric
9098e3
Contains tools for managing fabric on a management node.
9098e3
9098e3
%prep
9098e3
%autosetup -n eth-fast-fabric-%{version}
9098e3
9098e3
%build
9098e3
cd OpenIb_Host
9098e3
OPA_FEATURE_SET= CLOCAL='%build_cflags' CCLOCAL='%build_cxxflags' LDLOCAL='%build_ldflags' ./ff_build.sh %{_builddir}
9098e3
9098e3
%install
9098e3
BUILDDIR=%{_builddir} DESTDIR=%{buildroot} LIBDIR=%{_prefix}/lib DSAP_LIBDIR=%{_libdir} ./OpenIb_Host/ff_install.sh
9098e3
9098e3
%files basic
9098e3
%{_sbindir}/ethcapture
9098e3
%{_prefix}/lib/eth-tools/setup_self_ssh
9098e3
%{_prefix}/lib/eth-tools/usemem
9098e3
%{_prefix}/lib/eth-tools/ethipcalc
9098e3
%{_prefix}/lib/eth-tools/stream
9098e3
%{_mandir}/man1/ethcapture.1*
9098e3
%{_datadir}/eth-tools/samples/mgt_config.xml-sample
9098e3
%dir %{_sysconfdir}/eth-tools/
9098e3
%config(noreplace) %{_sysconfdir}/eth-tools/mgt_config.xml
9098e3
9098e3
%files fastfabric
9098e3
%{_sbindir}/*
9098e3
%exclude %{_sbindir}/ethcapture
9098e3
%{_prefix}/lib/eth-tools/*
9098e3
%exclude %{_prefix}/lib/eth-tools/setup_self_ssh
9098e3
%exclude %{_prefix}/lib/eth-tools/usemem
9098e3
%exclude %{_prefix}/lib/eth-tools/ethipcalc
9098e3
%exclude %{_prefix}/lib/eth-tools/stream
9098e3
%{_datadir}/eth-tools/*
9098e3
%exclude %{_datadir}/eth-tools/samples/mgt_config.xml-sample
9098e3
%{_mandir}/man8/eth*.8*
9098e3
%{_usrsrc}/eth/*
9098e3
%{_sysconfdir}/eth-tools/ethmon.si.conf
9098e3
# Replace ethmon.si.conf, as it's a template config file.
9098e3
%config(noreplace) %{_sysconfdir}/eth-tools/ethfastfabric.conf
9098e3
%config(noreplace) %{_sysconfdir}/eth-tools/ethmon.conf
9098e3
%config(noreplace) %{_sysconfdir}/eth-tools/allhosts
9098e3
%config(noreplace) %{_sysconfdir}/eth-tools/chassis
9098e3
%config(noreplace) %{_sysconfdir}/eth-tools/hosts
9098e3
%config(noreplace) %{_sysconfdir}/eth-tools/switches
9098e3
%config(noreplace) /usr/lib/eth-tools/osid_wrapper
9098e3
9098e3
9098e3
%changelog
9098e3
* Thu Jul 08 2021 Honggang Li <honli@redhat.com> - 11.0.0.0-164
9098e3
- Add osci gating test for RHEL8
9098e3
- Related: rhbz#1919015
9098e3
9098e3
* Tue Jun 08 2021 Honggang Li <honli@redhat.com> - 11.0.0.0-163
9098e3
- Import Intel Ethernet Fast Fabric Suite for RHEL8
9098e3
- Resolves: rhbz#1919015