]> git.pld-linux.org Git - packages/ethtool.git/blame - ethtool.spec
up to 6.7
[packages/ethtool.git] / ethtool.spec
CommitLineData
a1297b33 1Summary: Utility to control ethernet cards
54459ae1
ER
2Summary(es.UTF-8): Grupos de herramientas Ethernet
3Summary(pl.UTF-8): Narzędzie do kontrolowania kart ethernet
4Summary(pt_BR.UTF-8): Ferramenta de configuração para placas ethernet PCI
a1297b33 5Name: ethtool
b6c42062 6Version: 6.7
367ba5a1 7Release: 1
6bf3a582
TP
8Epoch: 1
9License: GPL v2
a1297b33 10Group: Networking/Admin
5282a3ed 11Source0: https://www.kernel.org/pub/software/network/ethtool/%{name}-%{version}.tar.xz
b6c42062 12# Source0-md5: 0caa1bbe49fc75975362a2b66284a8d2
5282a3ed 13URL: https://www.kernel.org/pub/software/network/ethtool/
4c450358 14BuildRequires: autoconf >= 2.52
8b530a69 15BuildRequires: automake
b94364f6
JB
16BuildRequires: libmnl-devel
17BuildRequires: pkgconfig
063cc60f 18BuildRequires: rpm-build >= 4.6
9c144166
JB
19BuildRequires: tar >= 1:1.22
20BuildRequires: xz
a1297b33
AM
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
9e92a0f6
AM
23%define _sbindir /sbin
24
a1297b33
AM
25%description
26ethtool is a small utility for examining and tuning your
27ethernet-based network interface.
28
97e325dc 29%description -l es.UTF-8
1b762220 30Grupos de herramientas Ethernet.
31
97e325dc
JR
32%description -l pl.UTF-8
33ethtool to niewielkie narzędzie do kontroli i tuningu sieciowych kart
a1297b33
AM
34ethernet.
35
97e325dc
JR
36%description -l pt_BR.UTF-8
37Este utilitário permite consulta e alteração da configuração de placas
38ethernet, como velocidade, porta, negociação automática e localização
2dc76df7 39PCI.
40
3407524c
AG
41%package -n bash-completion-%{name}
42Summary: Bash completion for ethtool command
43Summary(pl.UTF-8): Bashowe dopełnianie parametrów polecenia ethtool
44Group: Applications/Shells
45Requires: %{name} = %{epoch}:%{version}-%{release}
9bd96a97 46Requires: bash-completion >= 1:2.0
063cc60f 47BuildArch: noarch
3407524c
AG
48
49%description -n bash-completion-%{name}
50Bash completion for ethtool command.
51
52%description -n bash-completion-%{name} -l pl.UTF-8
53Bashowe dopełnianie parametrów polecenia ethtool.
54
a1297b33
AM
55%prep
56%setup -q
57
58%build
e0cb9b02 59%{__aclocal}
918eb0ec 60%{__autoconf}
e0cb9b02 61%{__autoheader}
918eb0ec 62%{__automake}
73be86d4
JB
63%configure \
64 --with-bash-completion-dir=%{bash_compdir}
a1297b33 65
8643d2e5 66%{__make}
a1297b33
AM
67
68%install
69rm -rf $RPM_BUILD_ROOT
70
71%{__make} install \
72 DESTDIR=$RPM_BUILD_ROOT
f015a44a 73
a1297b33
AM
74%clean
75rm -rf $RPM_BUILD_ROOT
76
77%files
78%defattr(644,root,root,755)
4c450358
JB
79%doc AUTHORS ChangeLog LICENSE NEWS README
80%attr(755,root,root) %{_sbindir}/ethtool
81%{_mandir}/man8/ethtool.8*
3407524c
AG
82
83%files -n bash-completion-%{name}
84%defattr(644,root,root,755)
85%{bash_compdir}/%{name}
This page took 0.201646 seconds and 4 git commands to generate.