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