File python-paramiko.spec of Package python-paramiko

#
# spec file for package python-paramiko (Version 1.7.4)
#
# Copyright (c) 2008 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           python-paramiko
Version:        1.7.4
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
Url:            http://www.lag.net/paramiko/
Group:          Development/Libraries/Python
License:        LGPL v2.1 only
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  python-devel
Requires:       python-crypto >= 1.9
Provides:       paramiko = %{version}-%{release}
%py_requires

%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).



%prep
%setup -q -n "paramiko-%{version}"
%patch1 -p1

%build
%__python ./setup.py build

%install
%__python ./setup.py install --prefix="%{_prefix}" --root="%{buildroot}" --record-rpm=files.lst

%clean
%__rm -rf "%{buildroot}"

%files -f files.lst
%defattr(-,root,root)
%doc LICENSE README demos docs

%changelog
* Wed Sep 24 2008 kssingvo@suse.de
- initial version 1.7.4 required from bzr
  based on python-paramiko from openSUSE BuildService:
  devel:languages:python/openSUSE_Factory
openSUSE Build Service is sponsored by