forked from pool/python-ethtool
Accepting request 263564 from home:cbosdonnat
Runtime dependency for kimchi OBS-URL: https://build.opensuse.org/request/show/263564 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ethtool?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
3
python-ethtool-0.11.tar.bz2
Normal file
3
python-ethtool-0.11.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:686756e4b2b239319e8513025debcc0d97103815b0879f94d8234cbbca6ada24
|
||||
size 34487
|
||||
16
python-ethtool.changes
Normal file
16
python-ethtool.changes
Normal file
@@ -0,0 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 29 15:28:30 UTC 2014 - p.drouand@gmail.com
|
||||
|
||||
- Clean-up specfile
|
||||
- Fix Group
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 14 10:13:47 UTC 2014 - cbosdonnat@suse.com
|
||||
|
||||
- Updated to version 0.11
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 26 10:27:07 CEST 2009 - meissner@suse.de
|
||||
|
||||
- imported by dbahi
|
||||
|
||||
59
python-ethtool.spec
Normal file
59
python-ethtool.spec
Normal file
@@ -0,0 +1,59 @@
|
||||
#
|
||||
# spec file for package python-ethtool
|
||||
#
|
||||
# Copyright (c) 2014 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: python-ethtool
|
||||
Version: 0.11
|
||||
Release: 0
|
||||
License: GPL-2.0
|
||||
Summary: Ethernet settings python bindings
|
||||
URL: https://fedorahosted.org/python-ethtool/
|
||||
Group: Development/Languages/Python
|
||||
Source: https://fedorahosted.org/releases/p/y/python-ethtool/%{name}-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: libnl3-devel
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: python-devel
|
||||
|
||||
%description
|
||||
Python bindings for the ethtool kernel interface, that allows querying and
|
||||
changing of ethernet card settings, such as speed, port, autonegotiation, and
|
||||
PCI locations.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
python setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --root=%{buildroot} --prefix=%{_prefix}
|
||||
|
||||
mkdir -p %{buildroot}%{_sbindir} %{buildroot}%{_mandir}/man8
|
||||
cp -p pethtool.py %{buildroot}%{_sbindir}/pethtool
|
||||
cp -p pifconfig.py %{buildroot}%{_sbindir}/pifconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING
|
||||
%{_sbindir}/pethtool
|
||||
%{_sbindir}/pifconfig
|
||||
%{python_sitearch}/ethtool.so
|
||||
%{python_sitearch}/*.egg-info
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user