forked from intel/eth-fast-fabric
-
Notifications
You must be signed in to change notification settings - Fork 0
/
eth-tools.spec.in
99 lines (73 loc) · 3 KB
/
eth-tools.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
Name: eth-tools
Version: 11.1.0.1
Release: 7%{?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_no_tilde}/eth-fast-fabric-%{version_no_tilde}.tar.gz
ExclusiveArch: x86_64
# The Intel(R) Ethernet Fabric Suite product line is only available on x86_64 platforms at this time.
__RPM_DEBUG_PKG
__RPM_EPOCH
%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: __RPM_REQ_BASIC1
Requires: __RPM_REQ_BASIC2
BuildRequires: __RPM_BLDREQ1
BuildRequires: __RPM_BLDREQ2
%description basic
Contains basic tools for fabric management necessary on all compute nodes.
%package fastfabric
Summary: Management level tools and scripts
Requires: perl
Requires: eth-tools-basic%{?_isa} >= %{version}-%{release}
%description fastfabric
Contains tools for managing fabric on a management node.
%prep
%autosetup -n eth-fast-fabric-%{version_no_tilde}
%build
cd OpenIb_Host
__RPM_FS ./ff_build.sh %{_builddir}
%install
BUILDDIR=%{_builddir} DESTDIR=%{buildroot} LIBDIR=%{_prefix}/lib DSAP_LIBDIR=%{_libdir} ./OpenIb_Host/ff_install.sh
%files basic
__RPM_BASIC_FILES
%dir %{_sysconfdir}/eth-tools/
%config(noreplace) %{_sysconfdir}/eth-tools/mgt_config.xml
%files fastfabric
__RPM_FF_FILES
%{_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
* Mon Jan 10 2022 Jijun Wang <[email protected]> - 11.1.0.1-7
- Fixed false negative issue on ethfindgood
* Fri Jan 07 2022 Jijun Wang <[email protected]> - 11.1.0.1-6
- Improved ethfindgood to be more stable on finding irdma dev name
* Mon Nov 01 2021 Jijun Wang <[email protected]> - 11.1.0.1-3
- Enabled builds on Rocky Linux
* Mon Aug 16 2021 Jijun Wang <[email protected]> - 11.1.0.0-179
- Renamed 'chassis' to 'switch'
- Added suport on GPU and PortID
- Added empirical PFC testing
* Thu Aug 12 2021 Jijun Wang <[email protected]> - 11.0.0.0-166
- Added perl as Requires for fastfabric package
* Thu Aug 12 2021 Jijun Wang <[email protected]> - 11.2.0.0-61
- Added perl as Requires for fastfabric package
* Fri Feb 05 2021 Jijun Wang <[email protected]> - 11.0.0.0-163
- Cleaned up for upstream
* Mon Feb 26 2018 Jijun Wang <[email protected]> - 10.8.0.0-1
- Added epoch for RHEL address-resolution, basic and fastfabric
- Added component information in description for all rpms
* Thu Apr 13 2017 Scott Breyer <[email protected]> - 10.5.0.0-1
- Updates for spec file cleanup
* Fri Oct 10 2014 Erik E. Kahn <[email protected]> - 1.0.0-ifs-1
- Initial version