summaryrefslogtreecommitdiffstats
path: root/ethtool.spec
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 09:50:40 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 09:50:40 +0000
commit2a5fcae954f992cf558eb91c83aa4c5a880a6bdc (patch)
tree843baab7b4189d366d3d5479fe272950bf407034 /ethtool.spec
parentInitial commit. (diff)
downloadethtool-2a5fcae954f992cf558eb91c83aa4c5a880a6bdc.tar.xz
ethtool-2a5fcae954f992cf558eb91c83aa4c5a880a6bdc.zip
Adding upstream version 1:6.1.upstream/1%6.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ethtool.spec')
-rw-r--r--ethtool.spec41
1 files changed, 41 insertions, 0 deletions
diff --git a/ethtool.spec b/ethtool.spec
new file mode 100644
index 0000000..2327f6c
--- /dev/null
+++ b/ethtool.spec
@@ -0,0 +1,41 @@
+Name : ethtool
+Version : 6.1
+Release : 1
+Group : Utilities
+
+Summary : Settings tool for Ethernet and other network devices
+
+License : GPL
+URL : https://ftp.kernel.org/pub/software/network/ethtool/
+
+Buildroot : %{_tmppath}/%{name}-%{version}
+Source : %{name}-%{version}.tar.gz
+
+
+%description
+This utility allows querying and changing settings such as speed,
+port, auto-negotiation, PCI locations and checksum offload on many
+network devices, especially Ethernet devices.
+
+%prep
+%setup -q
+
+
+%build
+CFLAGS="${RPM_OPT_FLAGS}" ./configure --prefix=%{_prefix} --mandir=%{_mandir}
+make
+
+
+%install
+make install DESTDIR=${RPM_BUILD_ROOT}
+
+
+%files
+%defattr(-,root,root)
+%{_sbindir}/ethtool
+%{_mandir}/man8/ethtool.8*
+%{_datadir}/bash-completion/completions/ethtool
+%doc AUTHORS COPYING NEWS README
+
+
+%changelog