67 lines
1.6 KiB
RPMSpec
67 lines
1.6 KiB
RPMSpec
Name: ethtool
|
|
Epoch: 2
|
|
Version: 5.3
|
|
Release: 1
|
|
Summary: Settings tool for Ethernet NICs
|
|
License: GPLv2
|
|
URL: https://www.kernel.org/pub/software/network/ethtool
|
|
Source0: https://www.kernel.org/pub/software/network/%{name}/%{name}-%{version}.tar.xz
|
|
|
|
BuildRequires: gcc
|
|
Conflicts: filesystem < 3
|
|
|
|
%description
|
|
Ethtool is the standard Linux utility for controlling network drivers and
|
|
hardware, particularly for wired Ethernet devices. It can be used to:
|
|
|
|
- Get identification and diagnostic information
|
|
- Get extended device statistics
|
|
- Control speed, duplex, autonegotiation and flow control for Ethernet devices
|
|
- Control checksum offload and other hardware offload features
|
|
- Control DMA ring sizes and interrupt moderation
|
|
- Control receive queue selection for multiqueue devices
|
|
- Upgrade firmware in flash memory
|
|
|
|
%package_help
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
%build
|
|
%configure
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS
|
|
%license COPYING LICENSE
|
|
%{_sbindir}/%{name}
|
|
%dir %{_datadir}/bash-completion/
|
|
%dir %{_datadir}/bash-completion/completions/
|
|
%{_datadir}/bash-completion/completions/ethtool
|
|
|
|
%files help
|
|
%defattr(-,root,root)
|
|
%doc ChangeLog* NEWS README
|
|
%{_mandir}/man8/%{name}.8*
|
|
|
|
%changelog
|
|
* Thu Oct 31 2019 openEuler Buildteam <buildteam@openeuler.org> - 2:5.3-1
|
|
- Type:bugfix
|
|
- Id:NA
|
|
- SUG:NA
|
|
- DESC:update to 5.3
|
|
|
|
* Wed Sep 4 2019 openEuler Buildteam <buildteam@openeuler.org> - 2:4.17-4
|
|
- Type:enhancement
|
|
- ID:NA
|
|
- SUG:NA
|
|
- DESC:add requires
|
|
|
|
* Thu Aug 22 2019 openEuler Buildteam <buildteam@openeuler.org> - 2:4.17-3
|
|
- Package Init
|
|
|