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