14
0
forked from pool/python-scp
Files
python-scp/python-scp.spec

54 lines
1.7 KiB
RPMSpec

#
# spec file for package python-scp
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# 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-setuptools
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