]>
Commit | Line | Data |
---|---|---|
1 | Summary: Utility to control ethernet cards | |
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 | |
5 | Name: ethtool | |
6 | Version: 4.11 | |
7 | Release: 1 | |
8 | Epoch: 1 | |
9 | License: GPL v2 | |
10 | Group: Networking/Admin | |
11 | Source0: https://www.kernel.org/pub/software/network/ethtool/%{name}-%{version}.tar.xz | |
12 | # Source0-md5: 16d38f4ebe23e44f96f7d8b38ed3652c | |
13 | URL: https://www.kernel.org/pub/software/network/ethtool/ | |
14 | BuildRequires: autoconf >= 2.52 | |
15 | BuildRequires: automake | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %define _sbindir /sbin | |
19 | ||
20 | %description | |
21 | ethtool is a small utility for examining and tuning your | |
22 | ethernet-based network interface. | |
23 | ||
24 | %description -l es.UTF-8 | |
25 | Grupos de herramientas Ethernet. | |
26 | ||
27 | %description -l pl.UTF-8 | |
28 | ethtool to niewielkie narzędzie do kontroli i tuningu sieciowych kart | |
29 | ethernet. | |
30 | ||
31 | %description -l pt_BR.UTF-8 | |
32 | Este utilitário permite consulta e alteração da configuração de placas | |
33 | ethernet, como velocidade, porta, negociação automática e localização | |
34 | PCI. | |
35 | ||
36 | %prep | |
37 | %setup -q | |
38 | ||
39 | %build | |
40 | %{__aclocal} | |
41 | %{__autoconf} | |
42 | %{__autoheader} | |
43 | %{__automake} | |
44 | %configure | |
45 | ||
46 | %{__make} | |
47 | ||
48 | %install | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %{__make} install \ | |
52 | DESTDIR=$RPM_BUILD_ROOT | |
53 | ||
54 | %clean | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %files | |
58 | %defattr(644,root,root,755) | |
59 | %doc AUTHORS ChangeLog LICENSE NEWS README | |
60 | %attr(755,root,root) %{_sbindir}/ethtool | |
61 | %{_mandir}/man8/ethtool.8* |