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