]> git.pld-linux.org Git - packages/ethtool.git/blob - ethtool.spec
up to 6.7
[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:        6.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:  0caa1bbe49fc75975362a2b66284a8d2
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 >= 1: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         --with-bash-completion-dir=%{bash_compdir}
65
66 %{__make}
67
68 %install
69 rm -rf $RPM_BUILD_ROOT
70
71 %{__make} install \
72         DESTDIR=$RPM_BUILD_ROOT
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %files
78 %defattr(644,root,root,755)
79 %doc AUTHORS ChangeLog LICENSE NEWS README
80 %attr(755,root,root) %{_sbindir}/ethtool
81 %{_mandir}/man8/ethtool.8*
82
83 %files -n bash-completion-%{name}
84 %defattr(644,root,root,755)
85 %{bash_compdir}/%{name}
This page took 0.056249 seconds and 4 git commands to generate.