2007-01-15 23:11:48 +00:00
|
|
|
#
|
2011-03-17 10:03:22 +00:00
|
|
|
# spec file for package ethtool
|
2007-01-15 23:11:48 +00:00
|
|
|
#
|
2011-03-17 10:03:22 +00:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:11:48 +00:00
|
|
|
#
|
2008-09-12 22:59:40 +00:00
|
|
|
# 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.
|
|
|
|
|
2007-01-15 23:11:48 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
Name: ethtool
|
2011-08-08 16:06:54 +00:00
|
|
|
Version: 3.0
|
2011-12-02 19:07:06 +00:00
|
|
|
Release: 0
|
2011-12-07 14:20:24 +00:00
|
|
|
License: GPL-2.0
|
2007-01-15 23:11:48 +00:00
|
|
|
Summary: Examine and Tune Ethernet-Based Network Interfaces
|
2011-12-02 19:07:06 +00:00
|
|
|
BuildRequires: automake
|
2010-07-30 15:23:06 +00:00
|
|
|
# Tarballs: http://sourceforge.net/projects/gkernel/
|
2008-11-04 16:34:03 +00:00
|
|
|
Url: http://git.kernel.org/?p=network/ethtool/ethtool.git
|
2011-08-08 16:06:54 +00:00
|
|
|
Group: Productivity/Networking/Diagnostic
|
2007-01-15 23:11:48 +00:00
|
|
|
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}
|
2007-12-19 14:46:00 +00:00
|
|
|
autoreconf -fi
|
2011-08-08 16:06:54 +00:00
|
|
|
export CFLAGS="%{optflags} -W -Wall -Wstrict-prototypes -Wformat-security -Wpointer-arith"
|
2007-12-19 14:46:00 +00:00
|
|
|
%configure --sbindir=/sbin
|
2010-01-11 15:51:18 +00:00
|
|
|
make %{?_smp_mflags}
|
2007-01-15 23:11:48 +00:00
|
|
|
|
|
|
|
%install
|
2011-08-08 16:06:54 +00:00
|
|
|
%make_install
|
2007-01-15 23:11:48 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2007-12-19 14:46:00 +00:00
|
|
|
/sbin/ethtool
|
2007-01-15 23:11:48 +00:00
|
|
|
%{_mandir}/man8/ethtool.8*
|
2007-12-19 14:46:00 +00:00
|
|
|
%doc AUTHORS COPYING NEWS README ChangeLog
|
2007-01-15 23:11:48 +00:00
|
|
|
|
2007-04-12 15:18:37 +00:00
|
|
|
%changelog
|