Summary: Ethernet settings tool for PCI ethernet cards Name: ethtool Version: 6 Release: 4.20090306git%{?dist} License: GPLv2 Group: Applications/System URL: http://sourceforge.net/projects/gkernel/ # When using tarball from released upstream version: # - http://downloads.sourceforge.net/gkernel/%{name}-%{version}.tar.gz # # When generating tarball package from upstream git: # - git clone git://git.kernel.org/pub/scm/network/ethtool/ethtool.git ethtool-6 # - cd ethtool-6; git checkout 7336e8a6a587802ca72dcf5f509696d96b9d6f23 # - cp -f ChangeLog ChangeLog.old; git log > ChangeLog.git # - rm -rf .git; cd ..; tar cvfz ethtool-6.tar.gz ethtool-6 # - Use the visible date of latest git log entry for %{release} in spec file Source0: %{name}-%{version}.tar.gz Patch0: ethtool-6-help_usage.patch BuildRequires: automake, autoconf BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description This utility allows querying and changing settings such as speed, port, autonegotiation, PCI locations and checksum offload on many network devices, especially of ethernet devices. %prep %setup -q %patch0 -p1 -b .help_usage # Only needed when using upstream git aclocal autoheader automake --gnu --add-missing --copy autoconf %build %configure --sbindir=/sbin make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' install # Some legacy support for scripts etc. out there mkdir -p $RPM_BUILD_ROOT%{_sbindir} ln -sf ../../sbin/%{name} $RPM_BUILD_ROOT%{_sbindir}/%{name} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc AUTHORS ChangeLog.* COPYING LICENSE NEWS README /sbin/%{name} %{_sbindir}/%{name} %{_mandir}/man8/%{name}.8* %changelog * Sat Mar 07 2009 Robert Scheck 6-4.20090306git - Upgrade to GIT 20090306 * Mon Feb 23 2009 Robert Scheck 6-3.20090115git - Rebuild for gcc 4.4 and rpm 4.6 * Sat Jan 17 2009 Robert Scheck 6-2.20090115git - Changes to match with Fedora Packaging Guidelines (#225735) - Upgrade to GIT 20090115 (#225735, #477498) - Removed bogus stated need of DEVNAME in -h/--help (#472038) - Removed completely needless INSTALL file from %%doc (#472034) * Wed Mar 12 2008 Tom "spot" Callaway 6-1 - Upgrade to ethtool version 6 * Tue Feb 19 2008 Fedora Release Engineering - 5-2 - Autorebuild for GCC 4.3 * Thu Dec 14 2006 Jay Fenlason 5-1 - Upgrade to ethtool version 5 to close bz#184985: RFE: 10gigE support bz#204840: "buffer overflow detected" when devname's length >=16 of ethtool Resolves: #184985, #204840 * Wed Jul 12 2006 Jesse Keating - 3-1.2.2 - rebuild * Fri Feb 10 2006 Jesse Keating - 3-1.2.1 - bump again for double-long bug on ppc(64) * Tue Feb 07 2006 Jesse Keating - 3-1.2 - rebuilt for new gcc4.1 snapshot and glibc changes * Fri Dec 09 2005 Jesse Keating - rebuilt * Thu Mar 3 2005 Jeff Garzik - Update to version 3. - Use %%buildroot macro, rather than RPM_BUILD_ROOT env var, as recommended by RPM packaging guidelines. * Sun Feb 27 2005 Florian La Roche - Copyright: -> License * Tue Jun 15 2004 Elliot Lee - rebuilt * Fri Feb 13 2004 Elliot Lee - rebuilt * Fri Sep 5 2003 Bill Nottingham 1.8-2 - remove bogus check for devices starting with ethXX, this time applying the patch * Thu Jul 24 2003 Bill Nottingham 1.8-1 - update to 1.8 - remove bogus check for devices starting with ethXX * Wed Jun 04 2003 Elliot Lee - rebuilt * Sat Feb 8 2003 Bill Nottingham 1.6-5 - move to /sbin * Wed Jan 22 2003 Tim Powers - rebuilt * Thu Dec 12 2002 Tim Powers 1.6-3 - rebuild on all arches * Fri Jun 21 2002 Tim Powers - automated rebuild * Thu Jun 20 2002 Florian La Roche - update to 1.6 * Thu May 23 2002 Tim Powers - automated rebuild * Mon Mar 4 2002 Bill Nottingham 1.5-1 - 1.5 * Thu Feb 21 2002 Bill Nottingham - rebuild * Wed Jan 09 2002 Tim Powers - automated rebuild * Tue Dec 4 2001 Bill Nottingham - update to 1.4 * Fri Aug 3 2001 Bill Nottingham - return of ethtool! (#50475) * Wed Jul 12 2000 Prospector - automatic rebuild * Sun Jun 18 2000 Matt Wilson - rebuilt for next release - use FHS man path * Tue Feb 22 2000 Bill Nottingham - handle compressed manpages * Wed Apr 14 1999 Bill Nottingham - run through with new s/d * Tue Apr 13 1999 Jakub Jelinek - initial package.