]> git.pld-linux.org Git - packages/ethtool.git/blobdiff - ethtool.spec
- updated to 5.17
[packages/ethtool.git] / ethtool.spec
index bbfa2e2bd348f2bfbe72485d3527641a9b6aa860..64ac1760ecb593d1e391aa5f80631e07b70420f4 100644 (file)
@@ -3,16 +3,19 @@ Summary(es.UTF-8):    Grupos de herramientas Ethernet
 Summary(pl.UTF-8):     Narzędzie do kontrolowania kart ethernet
 Summary(pt_BR.UTF-8):  Ferramenta de configuração para placas ethernet PCI
 Name:          ethtool
-Version:       4.18
+Version:       5.17
 Release:       1
 Epoch:         1
 License:       GPL v2
 Group:         Networking/Admin
 Source0:       https://www.kernel.org/pub/software/network/ethtool/%{name}-%{version}.tar.xz
-# Source0-md5: 4904b73b6e5291a4cfe579ba9f26c5a3
+# Source0-md5: 9bb991ffd87184b74d2d0fda3ba6ed02
 URL:           https://www.kernel.org/pub/software/network/ethtool/
 BuildRequires: autoconf >= 2.52
 BuildRequires: automake
+BuildRequires: libmnl-devel
+BuildRequires: pkgconfig
+BuildRequires: rpm-build >= 4.6
 BuildRequires: tar >= 1:1.22
 BuildRequires: xz
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -35,6 +38,20 @@ Este utilitário permite consulta e alteração da configuração de placas
 ethernet, como velocidade, porta, negociação automática e localização
 PCI.
 
+%package -n bash-completion-%{name}
+Summary:       Bash completion for ethtool command
+Summary(pl.UTF-8):     Bashowe dopełnianie parametrów polecenia ethtool
+Group:         Applications/Shells
+Requires:      %{name} = %{epoch}:%{version}-%{release}
+Requires:      bash-completion >= 2.0
+BuildArch:     noarch
+
+%description -n bash-completion-%{name}
+Bash completion for ethtool command.
+
+%description -n bash-completion-%{name} -l pl.UTF-8
+Bashowe dopełnianie parametrów polecenia ethtool.
+
 %prep
 %setup -q
 
@@ -43,7 +60,8 @@ PCI.
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-%configure
+%configure \
+       --with-bash-completion-dir=%{bash_compdir}
 
 %{__make}
 
@@ -61,3 +79,7 @@ rm -rf $RPM_BUILD_ROOT
 %doc AUTHORS ChangeLog LICENSE NEWS README
 %attr(755,root,root) %{_sbindir}/ethtool
 %{_mandir}/man8/ethtool.8*
+
+%files -n bash-completion-%{name}
+%defattr(644,root,root,755)
+%{bash_compdir}/%{name}
This page took 0.036565 seconds and 4 git commands to generate.