Group :: Development/Python3
RPM: python3-module-tlslite-ng
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
%define mname tlslite
%define oname %mname-ng
Name: python3-module-%oname
Version: 0.7.5
Release: alt2
Summary: Pure python implementation of SSL and TLS
License: BSD & LGPLv2
Group: Development/Python3
Url: https://pypi.org/project/tlslite-ng/
BuildArch: noarch
# https://github.com/tomato42/tlslite-ng.git
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-sphinx
BuildRequires: python3(ecdsa)
Conflicts: python3-module-%mname < %EVR
Provides: python3-module-%mname = %EVR
%description
tlslite-ng is a pure python implementation of SSLv3.0, TLS 1.0, TLS 1.1
and TLS 1.2 protocols.
It can use pycrypto, m2crypto and gmp for acceleration of cryptographic
operations but is not dependant upon them.
tlslite-ng aims to be a drop-in replacement for tlslite while providing
more comprehensive set of features and more secure defautls.
%package docs
Summary: Documentation for %oname
Group: Development/Documentation
BuildArch: noarch
%description docs
tlslite-ng is a pure python implementation of SSLv3.0, TLS 1.0, TLS 1.1
and TLS 1.2 protocols.
It can use pycrypto, m2crypto and gmp for acceleration of cryptographic
operations but is not dependant upon them.
tlslite-ng aims to be a drop-in replacement for tlslite while providing
more comprehensive set of features and more secure defautls.
This package contains documentation for %oname.
%prep
%setup
sed -i 's|sphinx-build|&-3|' docs/Makefile
%build
%python3_build_debug
%install
%python3_install
%make docs
%check
%if 0
pushd tests/
export PYTHONPATH=$PWD/..
sed -i 's|python|python3|' httpsserver.sh
./httpsserver.sh &
sleep 1
%__python3 httpsclient.py
popd
killall -9 httpsserver.sh
killall -9 python3
%__python3 -m unittest discover -v
%endif
%files
%doc LICENSE README*
%_bindir/*
%python3_sitelibdir/*
%files docs
%doc docs/*
%changelog
…
Full changelog you can see here
%define mname tlslite
%define oname %mname-ng
Name: python3-module-%oname
Version: 0.7.5
Release: alt2
Summary: Pure python implementation of SSL and TLS
License: BSD & LGPLv2
Group: Development/Python3
Url: https://pypi.org/project/tlslite-ng/
BuildArch: noarch
# https://github.com/tomato42/tlslite-ng.git
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-sphinx
BuildRequires: python3(ecdsa)
Conflicts: python3-module-%mname < %EVR
Provides: python3-module-%mname = %EVR
%description
tlslite-ng is a pure python implementation of SSLv3.0, TLS 1.0, TLS 1.1
and TLS 1.2 protocols.
It can use pycrypto, m2crypto and gmp for acceleration of cryptographic
operations but is not dependant upon them.
tlslite-ng aims to be a drop-in replacement for tlslite while providing
more comprehensive set of features and more secure defautls.
%package docs
Summary: Documentation for %oname
Group: Development/Documentation
BuildArch: noarch
%description docs
tlslite-ng is a pure python implementation of SSLv3.0, TLS 1.0, TLS 1.1
and TLS 1.2 protocols.
It can use pycrypto, m2crypto and gmp for acceleration of cryptographic
operations but is not dependant upon them.
tlslite-ng aims to be a drop-in replacement for tlslite while providing
more comprehensive set of features and more secure defautls.
This package contains documentation for %oname.
%prep
%setup
sed -i 's|sphinx-build|&-3|' docs/Makefile
%build
%python3_build_debug
%install
%python3_install
%make docs
%check
%if 0
pushd tests/
export PYTHONPATH=$PWD/..
sed -i 's|python|python3|' httpsserver.sh
./httpsserver.sh &
sleep 1
%__python3 httpsclient.py
popd
killall -9 httpsserver.sh
killall -9 python3
%__python3 -m unittest discover -v
%endif
%files
%doc LICENSE README*
%_bindir/*
%python3_sitelibdir/*
%files docs
%doc docs/*
%changelog
…
Full changelog you can see here