%global srcname scp
%global pypi_name scp
%global forgeurl https://github.com/jbardin/scp.py
Name: python-%{srcname}
Version: 0.14.5
%forgemeta
Release: %autorelease
Summary: Scp module for paramiko
License: LGPLv2+
URL: %{forgeurl}
Source0: %{forgesource}
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3dist(setuptools)
%global common_description %{expand:
The scp.py module uses a paramiko transport to send and receive files via the
scp1 protocol. This is the protocol as referenced from the openssh scp program,
and has only been tested with this implementation.
}
%description %{common_description}
%package -n python3-%{srcname}
Summary: %{summary}
%py_provides python%{python3_pkgversion}-%{srcname}
%description -n python%{python3_pkgversion}-%{srcname} %{common_description}
%prep
%forgeautosetup
%generate_buildrequires
%build
%py3_build
%install
%py3_install
%files -n python%{python3_pkgversion}-%{pypi_name}
%doc README.rst
%license LICENSE.txt
%{python3_sitelib}/__pycache__/*
%{python3_sitelib}/%{pypi_name}.py
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
%changelog
%autochangelog