[python-tlslite] initial checkin (#850504)

Andy Grover grover at fedoraproject.org
Wed Aug 22 21:42:50 UTC 2012


commit a60354d5aef152aaae44306991c5275306ffd9b0
Author: Andy Grover <agrover at redhat.com>
Date:   Wed Aug 22 14:31:00 2012 -0700

    initial checkin (#850504)
    
    Signed-off-by: Andy Grover <agrover at redhat.com>

 .gitignore          |    1 +
 python-tlslite.spec |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 sources             |    1 +
 3 files changed, 48 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..59b7c42 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/tlslite-0.4.1.tar.gz
diff --git a/python-tlslite.spec b/python-tlslite.spec
new file mode 100644
index 0000000..7b4a72c
--- /dev/null
+++ b/python-tlslite.spec
@@ -0,0 +1,46 @@
+%global oname tlslite
+
+Name:           python-tlslite
+License:        BSD
+Group:          Development/Libraries
+Summary:        Python module for SSL/TLS support
+Version:        0.4.1
+Release:        2%{?dist}
+URL:            http://trevp.net/tlslite/
+Source0:        https://github.com/downloads/trevp/%{oname}/%{oname}-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  python2-devel
+BuildRequires:  python-setuptools
+
+%description
+TLS Lite is an open source Python library that implements SSL and
+TLS. TLS Lite supports RSA and SRP cipher suites. TLS Lite is pure
+Python, however it can use other libraries for faster crypto
+operations. TLS Lite integrates with several stdlib networking
+libraries.
+
+%prep
+%setup -q -n %{oname}-%{version}
+
+%build
+%{__python} setup.py build
+chmod a-x README
+
+%install
+%{__python} setup.py install --skip-build --root %{buildroot}
+# scripts are of limited usefulness, put them in docs
+rm -f %{buildroot}%{_bindir}/tls*.py
+
+
+%files
+%{python_sitelib}/tlslite
+%{python_sitelib}/%{oname}-*.egg-info
+%doc scripts/tls*.py
+%doc LICENSE README
+
+%changelog
+* Wed Aug 22 2012 Andy Grover <agrover at redhat.com> - 0.4.1-2
+- Move tls*.py to doc, based on reviewer feedback
+
+* Tue Aug 21 2012 Andy Grover <agrover at redhat.com> - 0.4.1-1
+- Initial packaging
diff --git a/sources b/sources
index e69de29..69f6106 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+6b220730c34955cf709acf5fb96d3224  tlslite-0.4.1.tar.gz


More information about the scm-commits mailing list