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