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