]>
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: 5.12 | |
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: 11fcf0d0287c899fbcbdb48897fe2bab | |
13 | URL: https://www.kernel.org/pub/software/network/ethtool/ | |
14 | BuildRequires: autoconf >= 2.52 | |
15 | BuildRequires: automake | |
16 | BuildRequires: libmnl-devel | |
17 | BuildRequires: pkgconfig | |
18 | BuildRequires: rpm-build >= 4.6 | |
19 | BuildRequires: tar >= 1:1.22 | |
20 | BuildRequires: xz | |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %define _sbindir /sbin | |
24 | ||
25 | %description | |
26 | ethtool is a small utility for examining and tuning your | |
27 | ethernet-based network interface. | |
28 | ||
29 | %description -l es.UTF-8 | |
30 | Grupos de herramientas Ethernet. | |
31 | ||
32 | %description -l pl.UTF-8 | |
33 | ethtool to niewielkie narzędzie do kontroli i tuningu sieciowych kart | |
34 | ethernet. | |
35 | ||
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 | |
39 | PCI. | |
40 | ||
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 | BuildArch: noarch | |
48 | ||
49 | %description -n bash-completion-%{name} | |
50 | Bash completion for ethtool command. | |
51 | ||
52 | %description -n bash-completion-%{name} -l pl.UTF-8 | |
53 | Bashowe dopełnianie parametrów polecenia ethtool. | |
54 | ||
55 | %prep | |
56 | %setup -q | |
57 | ||
58 | %build | |
59 | %{__aclocal} | |
60 | %{__autoconf} | |
61 | %{__autoheader} | |
62 | %{__automake} | |
63 | %configure | |
64 | ||
65 | %{__make} | |
66 | ||
67 | %install | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
70 | %{__make} install \ | |
71 | DESTDIR=$RPM_BUILD_ROOT | |
72 | ||
73 | %clean | |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
76 | %files | |
77 | %defattr(644,root,root,755) | |
78 | %doc AUTHORS ChangeLog LICENSE NEWS README | |
79 | %attr(755,root,root) %{_sbindir}/ethtool | |
80 | %{_mandir}/man8/ethtool.8* | |
81 | ||
82 | %files -n bash-completion-%{name} | |
83 | %defattr(644,root,root,755) | |
84 | %{bash_compdir}/%{name} |