1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- # install ethtool to /sbin
- %define _sbindir /sbin
- Summary: A tool for setting ethernet parameters
- Summary(ja): Ethernet コントローラ設定ツール
- Name: ethtool
- Version: 6
- Release: 1%{?_dist_release}
- Group: Applications/System
- License: GPL
- URL: http://sourceforge.net/projects/gkernel/
- Source: %{name}-%{version}.tar.gz
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- Vendor: Project Vine
- Distribution: Vine Linux
- Packager: MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
- %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!
- %description -l ja
- Ethtool は ethernet コントローラの各種設定値を取得したり,
- 設定したりすることの出来る小さなユーティリティです.
- 現状では ethtool は全ての ethernet ドライバをサポートしていませんが,
- 徐々にサポートドライバを増やしています.
- あなたの ethernet ドライバが未だサポートされていなければ,
- 開発者に問い合わせてみて下さい.
- %prep
- %setup -q
- %build
- %configure
- make
- %install
- rm -rf ${RPM_BUILD_ROOT}
- %makeinstall
- mkdir -p %{buildroot}/usr/sbin
- ln -s %{_sbindir}/ethtool %{buildroot}/usr/sbin
- %clean
- rm -rf ${RPM_BUILD_ROOT}
- %files
- %defattr(-,root,root)
- %{_sbindir}/ethtool
- /usr/sbin/ethtool
- %{_mandir}/man8/ethtool.8*
- %doc AUTHORS COPYING INSTALL NEWS README ChangeLog
- %changelog
- * Tue Aug 19 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 6-1
- - new upstream release
- - new versioning policy, spec to utf-8
- - move ethtool to /sbin
- * Sun Sep 16 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5-0vl2
- - rebuilt for VineSeed with new toolchain
- - /usr/sbin/ethtool also installed as /sbin/ethtool as a symlink
- (see <BTS:0548>)
- * Mon Sep 18 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 5-0vl1
- - new upstream release
- * Sat Jun 19 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8-0vl1
- - updated to 1.8
- - rebuild with new toolchains
- * Thu Dec 12 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.7-0vl1
- - updated to new upstream release
- * Mon Sep 23 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.6-0vl1
- - first package for Vine Linux
- (Vine/sparc has a package whose name is "ethtool" for SPARC HME cards...
- is this the same program in origin?)
|