]> git.pld-linux.org Git - packages/ethtool.git/blame - ethtool.spec
- updated to 5.6
[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
b94364f6 6Version: 5.6
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
b94364f6
JB
12# Source0-md5: 254aacdfd08cee3790d4b6f254997947
13Patch0: %{name}-format.patch
5282a3ed 14URL: https://www.kernel.org/pub/software/network/ethtool/
4c450358 15BuildRequires: autoconf >= 2.52
8b530a69 16BuildRequires: automake
b94364f6
JB
17BuildRequires: libmnl-devel
18BuildRequires: pkgconfig
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}
46Requires: bash-completion >= 2.0
47
48%description -n bash-completion-%{name}
49Bash completion for ethtool command.
50
51%description -n bash-completion-%{name} -l pl.UTF-8
52Bashowe dopełnianie parametrów polecenia ethtool.
53
a1297b33
AM
54%prep
55%setup -q
b94364f6 56%patch0 -p1
a1297b33
AM
57
58%build
e0cb9b02 59%{__aclocal}
918eb0ec 60%{__autoconf}
e0cb9b02 61%{__autoheader}
918eb0ec 62%{__automake}
a1297b33
AM
63%configure
64
8643d2e5 65%{__make}
a1297b33
AM
66
67%install
68rm -rf $RPM_BUILD_ROOT
69
70%{__make} install \
71 DESTDIR=$RPM_BUILD_ROOT
f015a44a 72
a1297b33
AM
73%clean
74rm -rf $RPM_BUILD_ROOT
75
76%files
77%defattr(644,root,root,755)
4c450358
JB
78%doc AUTHORS ChangeLog LICENSE NEWS README
79%attr(755,root,root) %{_sbindir}/ethtool
80%{_mandir}/man8/ethtool.8*
3407524c
AG
81
82%files -n bash-completion-%{name}
83%defattr(644,root,root,755)
84%{bash_compdir}/%{name}
This page took 0.115858 seconds and 4 git commands to generate.