]>
Commit | Line | Data |
---|---|---|
a1297b33 | 1 | Summary: Utility to control ethernet cards |
54459ae1 ER |
2 | Summary(es.UTF-8): Grupos de herramientas Ethernet |
3 | Summary(pl.UTF-8): Narzędzie do kontrolowania kart ethernet | |
4 | Summary(pt_BR.UTF-8): Ferramenta de configuração para placas ethernet PCI | |
a1297b33 | 5 | Name: ethtool |
1c69477e | 6 | Version: 5.4 |
367ba5a1 | 7 | Release: 1 |
6bf3a582 TP |
8 | Epoch: 1 |
9 | License: GPL v2 | |
a1297b33 | 10 | Group: Networking/Admin |
5282a3ed | 11 | Source0: https://www.kernel.org/pub/software/network/ethtool/%{name}-%{version}.tar.xz |
1c69477e | 12 | # Source0-md5: 3d4bbf2be9fb25059186691918eaffe9 |
5282a3ed | 13 | URL: https://www.kernel.org/pub/software/network/ethtool/ |
4c450358 | 14 | BuildRequires: autoconf >= 2.52 |
8b530a69 | 15 | BuildRequires: automake |
9c144166 JB |
16 | BuildRequires: tar >= 1:1.22 |
17 | BuildRequires: xz | |
a1297b33 AM |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19 | ||
9e92a0f6 AM |
20 | %define _sbindir /sbin |
21 | ||
a1297b33 AM |
22 | %description |
23 | ethtool is a small utility for examining and tuning your | |
24 | ethernet-based network interface. | |
25 | ||
97e325dc | 26 | %description -l es.UTF-8 |
1b762220 | 27 | Grupos de herramientas Ethernet. |
28 | ||
97e325dc JR |
29 | %description -l pl.UTF-8 |
30 | ethtool to niewielkie narzędzie do kontroli i tuningu sieciowych kart | |
a1297b33 AM |
31 | ethernet. |
32 | ||
97e325dc JR |
33 | %description -l pt_BR.UTF-8 |
34 | Este utilitário permite consulta e alteração da configuração de placas | |
35 | ethernet, como velocidade, porta, negociação automática e localização | |
2dc76df7 | 36 | PCI. |
37 | ||
3407524c AG |
38 | %package -n bash-completion-%{name} |
39 | Summary: Bash completion for ethtool command | |
40 | Summary(pl.UTF-8): Bashowe dopełnianie parametrów polecenia ethtool | |
41 | Group: Applications/Shells | |
42 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
43 | Requires: bash-completion >= 2.0 | |
44 | ||
45 | %description -n bash-completion-%{name} | |
46 | Bash completion for ethtool command. | |
47 | ||
48 | %description -n bash-completion-%{name} -l pl.UTF-8 | |
49 | Bashowe dopełnianie parametrów polecenia ethtool. | |
50 | ||
a1297b33 AM |
51 | %prep |
52 | %setup -q | |
53 | ||
54 | %build | |
e0cb9b02 | 55 | %{__aclocal} |
918eb0ec | 56 | %{__autoconf} |
e0cb9b02 | 57 | %{__autoheader} |
918eb0ec | 58 | %{__automake} |
a1297b33 AM |
59 | %configure |
60 | ||
8643d2e5 | 61 | %{__make} |
a1297b33 AM |
62 | |
63 | %install | |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | ||
66 | %{__make} install \ | |
67 | DESTDIR=$RPM_BUILD_ROOT | |
f015a44a | 68 | |
a1297b33 AM |
69 | %clean |
70 | rm -rf $RPM_BUILD_ROOT | |
71 | ||
72 | %files | |
73 | %defattr(644,root,root,755) | |
4c450358 JB |
74 | %doc AUTHORS ChangeLog LICENSE NEWS README |
75 | %attr(755,root,root) %{_sbindir}/ethtool | |
76 | %{_mandir}/man8/ethtool.8* | |
3407524c AG |
77 | |
78 | %files -n bash-completion-%{name} | |
79 | %defattr(644,root,root,755) | |
80 | %{bash_compdir}/%{name} |