ethtool-vl.spec 2.7 KB

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