forked from pool/python-paramiko
- Update to version 0.7.7:
* Various bug fixes (upstream provides no further changes) - OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=16
This commit is contained in:
committed by
Git OBS Bridge
parent
8fdd214d10
commit
11425fe0eb
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-paramiko (Version 1.7.6)
|
||||
# spec file for package python-paramiko
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -15,59 +15,47 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: python-paramiko
|
||||
Version: 1.7.6
|
||||
Release: 1
|
||||
Summary: SSH2 Module for Python
|
||||
Source: http://www.lag.net/paramiko/download/paramiko-%{version}.tar.bz2
|
||||
Patch1: http://launchpadlibrarian.net/14343610/paramiko_language_tag-v2.diff
|
||||
Version: 1.7.7.1
|
||||
Release: 0
|
||||
Url: http://www.lag.net/paramiko/
|
||||
Group: Development/Libraries/Python
|
||||
License: LGPLv2.1
|
||||
Summary: SSH2 protocol library
|
||||
License: LGPL-2.1+
|
||||
Group: Development/Languages/Python
|
||||
Source: http://pypi.python.org/packages/source/p/paramiko/paramiko-%{version}.zip
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-devel
|
||||
Requires: python-crypto >= 2.1
|
||||
Provides: paramiko = %{version}-%{release}
|
||||
%if %suse_version > 1120
|
||||
BuildRequires: unzip
|
||||
Requires: python-pycrypto >= 2.1
|
||||
%if 0%{?suse_version}
|
||||
%py_requires
|
||||
%if 0%{?suse_version} > 1110
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
%py_requires
|
||||
%endif
|
||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
|
||||
%description
|
||||
Paramiko is a module for python 2.2 (or higher) 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 the encrypted tunnel --
|
||||
this is how sftp works, for example.
|
||||
|
||||
It is written entirely in python (no C or platform-dependent code) and
|
||||
is released under the GNU LGPL (lesser GPL).
|
||||
|
||||
|
||||
This is a library for making SSH2 connections (client or server).
|
||||
Emphasis is on using SSH2 as an alternative to SSL for making secure
|
||||
connections between python scripts. All major ciphers and hash methods
|
||||
are supported. SFTP client and server mode are both supported too.
|
||||
|
||||
%prep
|
||||
%setup -q -n "paramiko-%{version}"
|
||||
%patch1 -p1
|
||||
%setup -q -n paramiko-%{version}
|
||||
sed -i "1d" demos/{rforward,demo_simple,demo_sftp,demo}.py # Fix doc-file-dependency
|
||||
|
||||
%build
|
||||
%__python ./setup.py build
|
||||
python setup.py build
|
||||
|
||||
%install
|
||||
%__python ./setup.py install --prefix="%{_prefix}" --root="%{buildroot}" --record-rpm=files.lst
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%clean
|
||||
%__rm -rf "%{buildroot}"
|
||||
|
||||
%files -f files.lst
|
||||
%defattr(-,root,root)
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE README demos docs
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user