ethtool-vl.spec 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. # install ethtool to /sbin
  2. %define _sbindir /sbin
  3. Summary: A tool for setting ethernet parameters
  4. Summary(ja): Ethernet コントローラ設定ツール
  5. Name: ethtool
  6. Version: 6
  7. Release: 1%{?_dist_release}
  8. Group: Applications/System
  9. License: GPL
  10. URL: http://sourceforge.net/projects/gkernel/
  11. Source: %{name}-%{version}.tar.gz
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. Vendor: Project Vine
  14. Distribution: Vine Linux
  15. Packager: MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
  16. %description
  17. Ethtool is a small utility to get and set values from your your ethernet
  18. controllers. Not all ethernet drivers support ethtool, but it is getting
  19. better. If your ethernet driver doesn't support it, ask the maintainer to
  20. write support - it's not hard!
  21. %description -l ja
  22. Ethtool は ethernet コントローラの各種設定値を取得したり,
  23. 設定したりすることの出来る小さなユーティリティです.
  24. 現状では ethtool は全ての ethernet ドライバをサポートしていませんが,
  25. 徐々にサポートドライバを増やしています.
  26. あなたの ethernet ドライバが未だサポートされていなければ,
  27. 開発者に問い合わせてみて下さい.
  28. %prep
  29. %setup -q
  30. %build
  31. %configure
  32. make
  33. %install
  34. rm -rf ${RPM_BUILD_ROOT}
  35. %makeinstall
  36. mkdir -p %{buildroot}/usr/sbin
  37. ln -s %{_sbindir}/ethtool %{buildroot}/usr/sbin
  38. %clean
  39. rm -rf ${RPM_BUILD_ROOT}
  40. %files
  41. %defattr(-,root,root)
  42. %{_sbindir}/ethtool
  43. /usr/sbin/ethtool
  44. %{_mandir}/man8/ethtool.8*
  45. %doc AUTHORS COPYING INSTALL NEWS README ChangeLog
  46. %changelog
  47. * Tue Aug 19 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 6-1
  48. - new upstream release
  49. - new versioning policy, spec to utf-8
  50. - move ethtool to /sbin
  51. * Sun Sep 16 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5-0vl2
  52. - rebuilt for VineSeed with new toolchain
  53. - /usr/sbin/ethtool also installed as /sbin/ethtool as a symlink
  54. (see <BTS:0548>)
  55. * Mon Sep 18 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 5-0vl1
  56. - new upstream release
  57. * Sat Jun 19 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8-0vl1
  58. - updated to 1.8
  59. - rebuild with new toolchains
  60. * Thu Dec 12 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.7-0vl1
  61. - updated to new upstream release
  62. * Mon Sep 23 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.6-0vl1
  63. - first package for Vine Linux
  64. (Vine/sparc has a package whose name is "ethtool" for SPARC HME cards...
  65. is this the same program in origin?)