Sisyphus repositório
Última atualização: 7 dezembro 2019 | SRPMs: 17495 | Visitas: 16006084
en ru br
ALT Linux repositórios
S:5.3-alt1
5.0: 6-alt1
4.1: 6-alt0.M41.1
4.0: 6-alt0.M40.1
3.0: 3-alt4

Outros repositórios

Group :: Sistema/Configurações/Rede
RPM: ethtool

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define nt_name net-tools
%define nt_version 1.60

Name: ethtool
Version: 6
Release: alt0.M41.1
Summary: Ethernet settings tools for network cards
License: GPL
Group: System/Configuration/Networking
Url: http://sourceforge.net/projects/gkernel/

Packager: Michael Shigorin <mike at altlinux.org>

# http://git.kernel.org/?p=network/ethtool/ethtool.git;a=summary

# git://git.kernel.org/pub/scm/network/ethtool/ethtool.git
Source: http://prdownloads.sourceforge.net/gkernel/%name-%version.tar.gz
Source1: %name.sysconfig
Source2: %name.init
Source3: %name-readme.alt
Source4: ftp://ftp.scyld.com/pub/diag/ether-wake.c
Source5: http://www.tazenda.demon.co.uk/phil/%nt_name/%nt_name-%nt_version.tar.bz2
Patch1: net-tools-1.60-rh-gcc33.patch
Patch2: net-tools-1.60-rh-mii-doc.patch
Patch3: net-tools-1.60-alt-mii-tool-fflush.patch
Patch4: net-tools-1.60-rh-miiioctl.patch

Summary(ru_RU.KOI8-R): Ethernet-
Summary(uk_UA.KOI8-U): ̦ Ethernet-

Conflicts: net-tools <= 1.60-alt11

%description
This utility allows querying and changing of ethernet
card settings, such as speed, port, and autonegotiation.

%description -l ru_RU.KOI8-R

Ethernet-, , , autonegotiation.

%description -l uk_UA.KOI8-U
̦ Ѥ ͦ Ҧ
Ethernet-, ˦, , autonegotiation.

%prep
%setup -q
tar xjf %SOURCE5
%patch1
%patch2
%patch3
%patch4

%build
gcc $RPM_OPT_FLAGS %SOURCE4 -o ether-wake
%make_build -C %nt_name-%nt_version mii-tool
%make_build -C %nt_name-%nt_version/man all
%configure
%make_build

%install
%makeinstall
mkdir -p %buildroot%_sysconfdir/sysconfig %buildroot%_initdir
mkdir -p %buildroot%_docdir/%name-%version
install -m644 %SOURCE1 %buildroot%_sysconfdir/sysconfig/%name
install -m755 %SOURCE2 %buildroot%_initdir/%name
install -m644 %SOURCE3 README.ALT
install -p -m755 ether-wake %buildroot%_sbindir/
install -p -m755 %nt_name-%nt_version/mii-tool %buildroot%_sbindir/
install -p -m755 %nt_name-%nt_version/man/en_US/mii-tool.8 %buildroot%_man8dir/

%post
%post_service %name

%preun
%preun_service %name
%files
%doc README.ALT
%_man8dir/*
%_sbindir/*
%_initdir/*
%config(noreplace) %_sysconfdir/sysconfig/%name

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009