]> git.pld-linux.org Git - packages/ethtool.git/blob - ethtool.spec
- up to 5.4
[packages/ethtool.git] / ethtool.spec
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.4
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:  3d4bbf2be9fb25059186691918eaffe9
13 URL:            https://www.kernel.org/pub/software/network/ethtool/
14 BuildRequires:  autoconf >= 2.52
15 BuildRequires:  automake
16 BuildRequires:  tar >= 1:1.22
17 BuildRequires:  xz
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %define         _sbindir        /sbin
21
22 %description
23 ethtool is a small utility for examining and tuning your
24 ethernet-based network interface.
25
26 %description -l es.UTF-8
27 Grupos de herramientas Ethernet.
28
29 %description -l pl.UTF-8
30 ethtool to niewielkie narzędzie do kontroli i tuningu sieciowych kart
31 ethernet.
32
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
36 PCI.
37
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
51 %prep
52 %setup -q
53
54 %build
55 %{__aclocal}
56 %{__autoconf}
57 %{__autoheader}
58 %{__automake}
59 %configure
60
61 %{__make}
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65
66 %{__make} install \
67         DESTDIR=$RPM_BUILD_ROOT
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %files
73 %defattr(644,root,root,755)
74 %doc AUTHORS ChangeLog LICENSE NEWS README
75 %attr(755,root,root) %{_sbindir}/ethtool
76 %{_mandir}/man8/ethtool.8*
77
78 %files -n bash-completion-%{name}
79 %defattr(644,root,root,755)
80 %{bash_compdir}/%{name}
This page took 0.08136 seconds and 3 git commands to generate.