ethtool/ethtool.spec

53 lines
1.1 KiB
RPMSpec
Raw Normal View History

Summary: Ethernet settings tool for SPARC HME cards
Name: ethtool
Version: 1.0
Release: 5
ExclusiveArch: sparc
Copyright: GPL
Group: Applications/System
Source: ftp://sunsite.mff.cuni.cz/OS/Linux/Sparc/local/ethtool/ethtool-1.0.tgz
Patch0: ethtool-1.0-mandir.patch
BuildRoot: /var/tmp/ethtool-root
%description
This utility allows querying and changing of ethernet
card settings, such as speed, port, and autonegotiation.
ethtool currently supports SPARC Happy Meal Ethernet
cards (both SBUS and PCI).
%prep
%setup -q
%patch0 -p1 -b .mandir
%build
make
%install
rm -rf $RPM_BUILD_ROOT
make INSTALLPREFIX=$RPM_BUILD_ROOT mandir=%{_mandir} install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
/usr/sbin/ethtool
/%{_mandir}/man8/ethtool.*
%changelog
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild
* Sun Jun 18 2000 Matt Wilson <msw@redhat.com>
- rebuilt for next release
- use FHS man path
* Tue Feb 22 2000 Bill Nottingham <notting@redhat.com>
- handle compressed manpages
* Wed Apr 14 1999 Bill Nottingham <notting@redhat.com>
- run through with new s/d
* Tue Apr 13 1999 Jakub Jelinek <jj@ultra.linux.cz>
- initial package.