ethtool-vl.spec 3.3 KB

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