ethtool-vl.spec 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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: 2%{?_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. * Sun Apr 17 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6-2
  48. - rebuilt with recent environment.
  49. * Tue Aug 19 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 6-1
  50. - new upstream release
  51. - new versioning policy, spec to utf-8
  52. - move ethtool to /sbin
  53. * Sun Sep 16 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5-0vl2
  54. - rebuilt for VineSeed with new toolchain
  55. - /usr/sbin/ethtool also installed as /sbin/ethtool as a symlink
  56. (see <BTS:0548>)
  57. * Mon Sep 18 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 5-0vl1
  58. - new upstream release
  59. * Sat Jun 19 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8-0vl1
  60. - updated to 1.8
  61. - rebuild with new toolchains
  62. * Thu Dec 12 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.7-0vl1
  63. - updated to new upstream release
  64. * Mon Sep 23 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.6-0vl1
  65. - first package for Vine Linux
  66. (Vine/sparc has a package whose name is "ethtool" for SPARC HME cards...
  67. is this the same program in origin?)