14
0
forked from pool/python-scp

Accepting request 416229 from home:mnhauke

Initial package for python-scp

OBS-URL: https://build.opensuse.org/request/show/416229
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-scp?expand=0&rev=1
This commit is contained in:
Denisart Benjamin
2016-08-10 18:36:52 +00:00
committed by Git OBS Bridge
commit bb634d827b
5 changed files with 84 additions and 0 deletions

52
python-scp.spec Normal file
View File

@@ -0,0 +1,52 @@
#
# spec file for package python-scp
#
# Copyright (c) 2016, Martin Hauke <mardnh@gmx.de>
#
# 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/
#
Name: python-scp
Version: 0.10.2
Release: 0
Summary: SSH scp module for paramiko
License: LGPL-2.1+
Group: Development/Languages/Python
Url: https://github.com/jbardin/scp.py
Source: https://pypi.python.org/packages/source/s/scp/scp-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-distribute
Requires: python-paramiko
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
The scp.py module uses a paramiko transport to send and receive files via the
scp protocol. This is the protocol as referenced from the openssh scp program,
and has only been tested with this implementation.
%prep
%setup -q -n scp-%{version}
%build
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files
%defattr(-,root,root)
%doc LICENSE.txt README.rst
%{python_sitelib}/*
%changelog