diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-10-25 01:56:48 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-10-25 01:56:48 -0400 |
commit | 32c8037055f5fdaba9c9f401fd532c02571b66d7 (patch) | |
tree | 9bfb9a987fc4a1046530bcac0cb9245c1b3db3ba /ethtool.spec.in | |
download | ethtool-32c8037055f5fdaba9c9f401fd532c02571b66d7.tar.gz |
Initial import of ethtool version 3 + a few patches.
Diffstat (limited to 'ethtool.spec.in')
-rw-r--r-- | ethtool.spec.in | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/ethtool.spec.in b/ethtool.spec.in new file mode 100644 index 0000000..1705d7f --- /dev/null +++ b/ethtool.spec.in @@ -0,0 +1,42 @@ +Name : @PACKAGE@ +Version : @VERSION@ +Release : 1 +Group : Utilities + +Summary : A tool for setting ethernet parameters + +Copyright : GPL +URL : http://sourceforge.net/projects/gkernel/ + +Buildroot : %{_tmppath}/%{name}-%{version} +Source : %{name}-%{version}.tar.gz + + +%description +Ethtool is a small utility to get and set values from your your ethernet +controllers. Not all ethernet drivers support ethtool, but it is getting +better. If your ethernet driver doesn't support it, ask the maintainer to +write support - it's not hard! + + +%prep +%setup -q + + +%build +CFLAGS="${RPM_OPT_FLAGS}" ./configure --prefix=/usr --mandir=%{_mandir} +make + + +%install +make install DESTDIR=${RPM_BUILD_ROOT} + + +%files +%defattr(-,root,root) +/usr/sbin/ethtool +%{_mandir}/man8/ethtool.8* +%doc AUTHORS COPYING INSTALL NEWS README ChangeLog + + +%changelog |