2007-01-16 00:11:48 +01:00
|
|
|
#
|
2011-03-17 11:03:22 +01:00
|
|
|
# spec file for package ethtool
|
2007-01-16 00:11:48 +01:00
|
|
|
#
|
2014-02-06 15:32:06 +01:00
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:11:48 +01:00
|
|
|
#
|
2008-09-13 00:59:40 +02: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-16 00:11:48 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2012-02-27 11:06:53 +01:00
|
|
|
|
2007-01-16 00:11:48 +01:00
|
|
|
Name: ethtool
|
2014-11-18 10:46:19 +01:00
|
|
|
Version: 3.16
|
2011-12-02 20:07:06 +01:00
|
|
|
Release: 0
|
2007-01-16 00:11:48 +01:00
|
|
|
Summary: Examine and Tune Ethernet-Based Network Interfaces
|
2011-12-13 12:14:42 +01:00
|
|
|
License: GPL-2.0
|
|
|
|
Group: Productivity/Networking/Diagnostic
|
2012-06-16 21:11:01 +02:00
|
|
|
Url: http://kernel.org/pub/software/network/ethtool/
|
|
|
|
|
2014-11-18 10:46:19 +01:00
|
|
|
#Git-Clone: git://git.kernel.org/pub/scm/network/ethtool/ethtool
|
|
|
|
Source: http://kernel.org/pub/software/network/ethtool/%name-%version.tar.xz
|
|
|
|
Source2: http://kernel.org/pub/software/network/ethtool/%name-%version.tar.sign
|
2007-01-16 00:11:48 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2012-06-16 21:11:01 +02:00
|
|
|
BuildRequires: xz
|
2007-01-16 00:11:48 +01:00
|
|
|
|
|
|
|
%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
|
2014-11-18 10:46:19 +01:00
|
|
|
export CFLAGS="%optflags -W -Wall -Wstrict-prototypes -Wformat-security -Wpointer-arith"
|
2012-02-08 17:33:54 +01:00
|
|
|
%configure
|
2010-01-11 16:51:18 +01:00
|
|
|
make %{?_smp_mflags}
|
2007-01-16 00:11:48 +01:00
|
|
|
|
|
|
|
%install
|
2013-07-04 10:59:19 +02:00
|
|
|
make install DESTDIR="%buildroot"
|
2012-02-08 17:33:54 +01:00
|
|
|
#UsrMerge
|
2014-11-18 10:46:19 +01:00
|
|
|
mkdir %buildroot/sbin
|
|
|
|
ln -sf %_sbindir/ethtool %buildroot/sbin
|
2012-02-08 17:33:54 +01:00
|
|
|
#EndUserMerge
|
2007-01-16 00:11:48 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2012-02-08 17:33:54 +01:00
|
|
|
#UsrMerge
|
2007-12-19 15:46:00 +01:00
|
|
|
/sbin/ethtool
|
2012-02-08 17:33:54 +01:00
|
|
|
#EndUserMerge
|
2014-11-18 10:46:19 +01:00
|
|
|
%_sbindir/ethtool
|
|
|
|
%_mandir/man8/ethtool.8*
|
|
|
|
%doc AUTHORS COPYING NEWS
|
2007-01-16 00:11:48 +01:00
|
|
|
|
2007-04-12 17:18:37 +02:00
|
|
|
%changelog
|