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