forked from pool/python-netifaces
Accepting request 93467 from Virtualization:Cloud:OpenStack:Diablo
Dependency for OpenStack packages. OBS-URL: https://build.opensuse.org/request/show/93467 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-netifaces?expand=0&rev=1
This commit is contained in:
commit
38db14251e
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
netifaces-0.5.tar.bz2
Normal file
3
netifaces-0.5.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:568e12a9fe7dc18677741eb91c2701e9b03b26a49d5781f7c1d71f881b0cc02e
|
||||
size 12599
|
5
python-netifaces.changes
Normal file
5
python-netifaces.changes
Normal file
@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 27 12:37:48 UTC 2011 - rschweikert@novell.com
|
||||
|
||||
- Initial build to meet swift dependency requirement
|
||||
|
65
python-netifaces.spec
Normal file
65
python-netifaces.spec
Normal file
@ -0,0 +1,65 @@
|
||||
#
|
||||
# spec file for package python-netifaces (Version 0.5)
|
||||
#
|
||||
# Copyright (c) 2011 Novell
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://www.suse.de/feedback/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: python-netifaces
|
||||
Version: 0.5
|
||||
Release: 1
|
||||
%define pop_name netifaces
|
||||
Provides: %{pop_name}
|
||||
Requires: python = %{py_ver}
|
||||
BuildRequires: gcc
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
Group: Development/Languages/Python
|
||||
License: MIT
|
||||
URL: http://alastairs-place.net/netifaces/
|
||||
Summary: Portable network interface information
|
||||
Source: %{pop_name}-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||
|
||||
%description
|
||||
netifaces provides a (hopefully portable-ish) way for Python programmers to
|
||||
get access to a list of the network interfaces on the local machine, and to
|
||||
obtain the addresses of those network interfaces.
|
||||
|
||||
The package has been tested on Mac OS X, Windows XP, Windows Vista, Linux and
|
||||
Solaris. On Windows, it is currently not able to retrieve IPv6 addresses,
|
||||
owing to shortcomings of the Windows API.
|
||||
|
||||
It should work on other UNIX-like systems provided they implement either
|
||||
getifaddrs() or support the SIOCGIFxxx socket options, although the data
|
||||
provided by the socket options is normally less complete.
|
||||
|
||||
Authors:
|
||||
Alastair Houghton <alastair at alastairs-place net>
|
||||
|
||||
%prep
|
||||
%setup -q -n %pop_name-%{version}
|
||||
|
||||
%build
|
||||
%{__python} setup.py build
|
||||
|
||||
%install
|
||||
%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f INSTALLED_FILES
|
||||
%defattr(-,root,root,-)
|
||||
%doc README
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Jan 27 2011 Robert Schweikert <rschweikert@novell.com> - netifaces-1
|
||||
- Initial build.
|
||||
|
Loading…
Reference in New Issue
Block a user