LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File python27-paramiko.spec of Package python-paramiko (Project home:lenovo-lico:lico-dep:5.1:el6)

# Created by pyp2rpm-3.2.3
%global pypi_name paramiko

Name:           python27-%{pypi_name}
Version:        2.4.1
Release:        1%{?dist}
Summary:        SSH2 protocol library for python

License:        LGPL
URL:            https://github.com/paramiko/paramiko/
Source0:        https://pypi.io/packages/source/p/paramiko/paramiko-%{version}.tar.gz
Patch1:         paramiko-2.3.1-disable-gssapi-on-unsupported-version.patch
BuildArch:      noarch

BuildRequires:  python27-devel
BuildRequires:  python27-setuptools

Requires:       python27-bcrypt >= 3.1.3
Requires:       python27-cryptography >= 1.5
Requires:       python27-pyasn1 >= 0.1.7
Requires:       python27-pynacl >= 1.0.1

Paramiko (a combination of the Esperanto words for "paranoid" and "friend") is
a module for python 2.3 or greater that implements the SSH2 protocol for secure
(encrypted and authenticated) connections to remote machines. Unlike SSL (aka
TLS), the SSH2 protocol does not require hierarchical certificates signed by a
powerful central authority. You may know SSH2 as the protocol that replaced
telnet and rsh for secure access to remote shells, but the protocol also
includes the ability to open arbitrary channels to remote services across an
encrypted tunnel (this is how sftp works, for example).

%setup -n %{pypi_name}-%{version}
%patch1 -p1

# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info

chmod a-x demos/*
sed -i -e '/^#!/,1d' demos/*



%{!?_licensedir:%global license %%doc}
%license LICENSE
%doc README.rst

* Fri Mar 16 2018 Paul Howarth <paul@city-fan.org> - 2.4.1-1
- Update to 2.4.1

* Thu Jan 11 2018 <shiyf2@lenovo.com> - 2.4.0-2
- Remove weak deps, paramiko does not support recent gssapi (rhbz #1496148)

* Mon Dec 29 2017 Yunfei Shi <shiyf2@lenovo.com> - 2.4.0-1
- Initial package.