commit 38db14251e536f50b3338a757deb7140f79363f1038a98a21d5b586ace9107af Author: Sascha Peilicke Date: Tue Nov 29 09:17:14 2011 +0000 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 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/netifaces-0.5.tar.bz2 b/netifaces-0.5.tar.bz2 new file mode 100644 index 0000000..de03480 --- /dev/null +++ b/netifaces-0.5.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:568e12a9fe7dc18677741eb91c2701e9b03b26a49d5781f7c1d71f881b0cc02e +size 12599 diff --git a/python-netifaces.changes b/python-netifaces.changes new file mode 100644 index 0000000..337c779 --- /dev/null +++ b/python-netifaces.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Thu Jan 27 12:37:48 UTC 2011 - rschweikert@novell.com + +- Initial build to meet swift dependency requirement + diff --git a/python-netifaces.spec b/python-netifaces.spec new file mode 100644 index 0000000..ba83082 --- /dev/null +++ b/python-netifaces.spec @@ -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 + +%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 - netifaces-1 +- Initial build. +