ethtool-vl.spec 2.6 KB

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