eth-tools/SPECS/eth-tools.spec

121 lines
3.8 KiB
RPMSpec
Raw Permalink Normal View History

2021-11-03 22:54:22 +00:00
Name: eth-tools
2023-03-28 12:38:27 +00:00
Version: 11.4.0.0
2023-03-29 01:48:25 +00:00
Release: 201%{?dist}.alma
2021-11-03 22:54:22 +00:00
Summary: Intel Ethernet Fabric Suite basic tools and libraries for fabric management
License: BSD
Url: https://github.com/intel/eth-fast-fabric
2022-09-27 13:36:53 +00:00
Source: %url/archive/refs/tags/v%{version_no_tilde}.tar.gz
2022-02-14 09:44:58 +00:00
Patch0: eth-fast-fabric-11-almalinux_support.patch
2021-11-03 22:54:22 +00:00
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
2022-09-27 13:36:53 +00:00
Requires: expect%{?_isa}, tcl%{?_isa}, libibverbs-utils%{?_isa}, librdmacm-utils%{?_isa}, net-snmp%{?_isa}, net-snmp-utils%{?_isa}
2021-12-07 18:33:44 +00:00
BuildRequires: make
BuildRequires: expat-devel
BuildRequires: gcc-c++
BuildRequires: tcl-devel
BuildRequires: rdma-core-devel
BuildRequires: net-snmp-devel
2021-11-03 22:54:22 +00:00
%description basic
Contains basic tools for fabric management necessary on all compute nodes.
%package fastfabric
Summary: Management level tools and scripts
2022-09-27 13:36:53 +00:00
Requires: perl
2021-11-03 22:54:22 +00:00
Requires: eth-tools-basic%{?_isa} >= %{version}-%{release}
%description fastfabric
Contains tools for managing fabric on a management node.
%prep
2022-02-14 09:44:58 +00:00
%autosetup -n eth-fast-fabric-%{version_no_tilde} -p 1
2021-11-03 22:54:22 +00:00
%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
2023-03-28 12:38:27 +00:00
%{_sbindir}/ethbw
2021-11-03 22:54:22 +00:00
%{_sbindir}/ethcapture
2022-09-27 13:36:53 +00:00
%{_sbindir}/ethshmcleanup
2021-11-03 22:54:22 +00:00
%{_prefix}/lib/eth-tools/setup_self_ssh
%{_prefix}/lib/eth-tools/usemem
%{_prefix}/lib/eth-tools/ethipcalc
%{_prefix}/lib/eth-tools/stream
2021-12-07 18:33:44 +00:00
%{_prefix}/lib/eth-tools/ethudstress
2023-03-28 12:38:27 +00:00
%{_mandir}/man1/ethbw.1*
2021-11-03 22:54:22 +00:00
%{_mandir}/man1/ethcapture.1*
2022-09-27 13:36:53 +00:00
%{_mandir}/man1/ethshmcleanup.1*
2021-11-03 22:54:22 +00:00
%{_datadir}/eth-tools/samples/mgt_config.xml-sample
%dir %{_sysconfdir}/eth-tools/
%config(noreplace) %{_sysconfdir}/eth-tools/mgt_config.xml
%files fastfabric
%{_sbindir}/*
2023-03-28 12:38:27 +00:00
%exclude %{_sbindir}/ethbw
2021-11-03 22:54:22 +00:00
%exclude %{_sbindir}/ethcapture
2022-09-27 13:36:53 +00:00
%exclude %{_sbindir}/ethshmcleanup
2021-11-03 22:54:22 +00:00
%{_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
2021-12-07 18:33:44 +00:00
%exclude %{_prefix}/lib/eth-tools/ethudstress
2021-11-03 22:54:22 +00:00
%{_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/hosts
%config(noreplace) %{_sysconfdir}/eth-tools/switches
%config(noreplace) /usr/lib/eth-tools/osid_wrapper
%changelog
2023-03-29 01:48:25 +00:00
* Wed Mar 29 2023 Eduard Abdullin <eabdullin@almalinux.org> - 1:11.4.0.0-201.alma
2022-02-14 09:44:58 +00:00
- Add AlmaLinux support
2023-03-28 12:38:27 +00:00
* Fri Feb 03 2023 Michal Schmidt <mschmidt@redhat.com> - 1:11.4.0.0-201
- Update to upstream release 11.4.0.0
- Resolves: rhbz#2097531
2022-09-27 13:36:53 +00:00
* Wed Aug 03 2022 Michal Schmidt <mschmidt@redhat.com> - 1:11.3.0.0-1
- Update to upstream release 11.3.0.0
- Resolves: rhbz#2037052
2021-12-07 18:33:44 +00:00
* Tue Nov 09 2021 Honggang Li <honli@redhat.com> - 1:11.1.0.1-5
- Update to upstream release 11.1.0.1
- Fix annocheck issues
- Resolves: rhbz#2019268
* Wed Oct 27 2021 Honggang Li <honli@redhat.com> - 1:11.1.0.0-180
- Update to upstream release 11.1.0.0
- Resolves: rhbz#1991463
2021-11-03 22:54:22 +00:00
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1:11.0.0.0-164
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Thu Jul 01 2021 Honggang Li <honli@redhat.com> - 11.0.0.0-163
- Import Intel Ethernet Fast Fabric Suite for RHEL9
- Resolves: rhbz#1919019