File ethtool.spec of Package ethtool

#
# spec file for package ethtool
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#



Name:           ethtool
Version:        3.0
Release:        1
License:        GPLv2+
Summary:        Examine and Tune Ethernet-Based Network Interfaces
# Tarballs: http://sourceforge.net/projects/gkernel/
Url:            http://git.kernel.org/?p=network/ethtool/ethtool.git
Group:          Productivity/Networking/Diagnostic
Source:         %{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Ethtool is a small utility for examining and tuning ethernet-based
network interfaces.  See the man page for more details.

%prep
%setup -q

%build
%{suse_update_config -f}
autoreconf -fi
export CFLAGS="%{optflags} -W -Wall -Wstrict-prototypes -Wformat-security -Wpointer-arith"
%configure --sbindir=/sbin
make %{?_smp_mflags}

%install
%make_install

%files
%defattr(-,root,root)
/sbin/ethtool
%{_mandir}/man8/ethtool.8*
%doc AUTHORS COPYING NEWS README ChangeLog

%changelog
openSUSE Build Service is sponsored by