]> git.pld-linux.org Git - packages/ethtool.git/blobdiff - ethtool.spec
- up to 5.4
[packages/ethtool.git] / ethtool.spec
index 38fed1048d3b26c659fa8a91d218747e3f51ef82..6387b70e5e50ec7740b321474211cca914d82ed2 100644 (file)
@@ -1,46 +1,64 @@
 Summary:       Utility to control ethernet cards
-Summary(es):   Grupos de herramientas Ethernet para tarjetas SPARC HME
-Summary(pl):   Narzêdzie do kontrolowania kart ethernet
-Summary(pt_BR):        Ferramenta de configuração para placas ethernet PCI
+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:       1.7
+Version:       5.4
 Release:       1
-License:       GPL
+Epoch:         1
+License:       GPL v2
 Group:         Networking/Admin
-Source0:       http://prdownloads.sourceforge.net/gkernel/%{name}-%{version}.tar.gz
+Source0:       https://www.kernel.org/pub/software/network/ethtool/%{name}-%{version}.tar.xz
+# Source0-md5: 3d4bbf2be9fb25059186691918eaffe9
+URL:           https://www.kernel.org/pub/software/network/ethtool/
+BuildRequires: autoconf >= 2.52
 BuildRequires: automake
-BuildRequires: autoconf
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                _sbindir        /sbin
+
 %description
 ethtool is a small utility for examining and tuning your
 ethernet-based network interface.
 
-%description -l es
-Grupos de herramientas Ethernet para tarjetas SPARC HME
+%description -l es.UTF-8
+Grupos de herramientas Ethernet.
 
-%description -l pl
-ethtool to niewielkie narzêdzie do kontroli i tuningu sieciowych kart
+%description -l pl.UTF-8
+ethtool to niewielkie narzędzie do kontroli i tuningu sieciowych kart
 ethernet.
 
-%description -l pt_BR
-Este utilitário permite consulta e alteração da configuração de placas
-ethernet, como velocidade, porta, negociação automática e localização
+%description -l pt_BR.UTF-8
+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
+
+%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
 
 %build
-rm -f missing
 %{__aclocal}
 %{__autoconf}
 %{__autoheader}
 %{__automake}
 %configure
 
-install -d $RPM_BUILD_ROOT
-%{__make} RPMSRCS=$RPM_BUILD_ROOT
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -53,6 +71,10 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTH* Chan* NEWS
-%attr(755,root,root) %{_sbindir}/*
-%{_mandir}/man?/*
+%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.141738 seconds and 4 git commands to generate.