[python-netlib] Initial import (#1069124)

halfie halfie at fedoraproject.org
Thu Feb 27 16:47:44 UTC 2014


commit 87e9541ff99afbc2b6fbb73ef32242c8f949037f
Author: Dhiru Kholia <dhiru at openwall.com>
Date:   Thu Feb 27 22:17:54 2014 +0530

    Initial import (#1069124)

 .gitignore         |    1 +
 python-netlib.spec |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 sources            |    1 +
 3 files changed, 49 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..319ff32 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/netlib-0.10.tar.gz
diff --git a/python-netlib.spec b/python-netlib.spec
new file mode 100644
index 0000000..6c6d05f
--- /dev/null
+++ b/python-netlib.spec
@@ -0,0 +1,47 @@
+%global upstream_name netlib
+%global module_name netlib
+
+Name:          python-%{upstream_name}
+Version:       0.10
+Release:       3%{?dist}
+Summary:       Collection of network utility classes
+
+License:       MIT
+URL:           https://github.com/mitmproxy/netlib
+Source0:       http://pypi.python.org/packages/source/n/%{upstream_name}/%{upstream_name}-%{version}.tar.gz
+
+BuildArch:     noarch
+BuildRequires: python-setuptools
+BuildRequires: python2-devel
+Requires:      python-pyasn1 pyOpenSSL
+
+%description
+Netlib is a collection of network utility classes, used by the pathod and
+mitmproxy projects. It differs from other projects in some fundamental
+respects, because both pathod and mitmproxy often need to violate standards.
+This means that protocols are implemented as small, well-contained and flexible
+functions, and are designed to allow misbehaviour when needed.
+
+%prep
+%setup -q -n %{upstream_name}-%{version}
+rm -rf %{module_name}.egg-info
+
+%build
+%{__python2} setup.py build
+
+%install
+%{__python2} setup.py install --skip-build --root %{buildroot}
+
+%files
+%doc README.mkd
+%{python2_sitelib}/*
+
+%changelog
+* Thu Feb 27 2014 Dhiru Kholia <dhiru at openwall.com> - 0.10-3
+- removed group tag, own files only (BZ #1069124)
+
+* Tue Feb 25 2014 Dhiru Kholia <dhiru at openwall.com> - 0.10-2
+- fix build problems
+
+* Mon Feb 24 2014 Dhiru Kholia <dhiru at openwall.com> - 0.10-1
+- initial version
diff --git a/sources b/sources
index e69de29..443507d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+88e56d7bcf2c40cf0ba4b341ac09af0f  netlib-0.10.tar.gz


More information about the scm-commits mailing list