Пакет ethtool: Specfile

Name: ethtool
Version: 2.6.33
Release: alt0.1.M60C.1
Epoch: 1

Summary: Ethernet settings tools for network cards
License: GPLv2
Group: System/Configuration/Networking
Url: http://sourceforge.net/projects/gkernel/
Packager: Michael Shigorin <mike@altlinux.org>

# http://git.kernel.org/?p=network/ethtool/ethtool.git;a=summary
# git://git.kernel.org/pub/scm/network/ethtool/ethtool.git
Source: %name-%version-%release.tar

Summary(ru_RU.UTF-8): утилита настройки Ethernet-карт
Summary(uk_UA.UTF-8): утил╕та налаштування Ethernet-карток

Conflicts: net-tools <= 1.60-alt15

%description
This utility allows querying and changing of ethernet card settings,
such as speed, port, and autonegotiation.
Not all ethernet drivers support ethtool yet, but it is getting better.

%description -l ru_RU.UTF-8
Эта утилита позволяет запрос и изменение параметров
Ethernet-карты, таких как скорость, порт, autonegotiation.

%description -l uk_UA.UTF-8
Ця утил╕та дозволя╓ опитування та зм╕нювання параметр╕в
Ethernet-картки, таких як швидк╕сть, порт, autonegotiation.

%prep
%setup -q -n %name-%version-%release

%build
%autoreconf
%configure
%make_build

%install
%makeinstall_std
install -pDm755 ethtool.init %buildroot%_initdir/%name
install -pDm644 ethtool.sysconfig %buildroot%_sysconfdir/sysconfig/%name

%post
%post_service %name

%preun
%preun_service %name

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

%changelog
* Wed Apr 04 2012 Vitaly Kuznetsov <vitty@altlinux.ru> 1:2.6.33-alt0.1.M60C.1
Rebuild for C6

* Wed Feb 03 2010 Dmitry V. Levin <ldv@altlinux.org> 1:2.6.33-alt0.1
- Updated to 2.6.33-pre1.
- Moved ether-wake to separate package.
- Moved obsolete mii-tool back to net-tools.

* Wed Aug 20 2008 Michael Shigorin <mike@altlinux.org> 6-alt1
- 6
  + several years of silent development
  + two security-related fixes in versions 5 and 6
- spec cleanup

* Mon Apr 16 2007 ALT QA Team Robot <qa-robot@altlinux.org> 3-alt5.0
- Automated rebuild.

* Thu Dec 22 2005 Denis Ovsienko <pilot@altlinux.ru> 3-alt5
- fixing #8656 (initscript and %_sysconfdir/net)

* Wed Aug 10 2005 Denis Ovsienko <pilot@altlinux.ru> 3-alt4
- fixed #7638 (mii-tool is broken)

* Tue May 17 2005 Denis Ovsienko <pilot@altlinux.ru> 3-alt3
- one more #6360 fix attempt

* Mon May 16 2005 Denis Ovsienko <pilot@altlinux.ru> 3-alt2
- #6360 adjustment

* Fri May 13 2005 Denis Ovsienko <pilot@altlinux.ru> 3-alt1
- new ethtool version
- adopted ether-wake and mii-tool from net-tools

* Tue Oct 29 2002 Michael Shigorin <mike@altlinux.ru> 1.7-alt1
- 1.7
- built with gcc 3.2

* Wed Jun 05 2002 Michael Shigorin <mike@altlinux.ru> 1.5-alt1
- built for ALT Linux
- spec adapted from Cooker/PLD and largely cleaned up
- new and shiny sysconfig-driven wrapper initscript added