ethtool-vl.spec 3.0 KB

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