diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..3589596 --- /dev/null +++ b/LICENSE @@ -0,0 +1,20 @@ +The MIT License (MIT) +Copyright (c) 2013 Alfredo Deza + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, +DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE +OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/python-remoto.spec b/python-remoto.spec new file mode 100644 index 0000000..69b879f --- /dev/null +++ b/python-remoto.spec @@ -0,0 +1,53 @@ +%global srcname remoto + +Name: python-%{srcname} +Version: 1.1.4 +Release: 1 +Summary: Execute remote commands or processes + +License: MIT +URL: https://github.com/alfredodeza/remoto + +Source0: %pypi_source + +BuildArch: noarch +BuildRequires: python3-devel +BuildRequires: python3-pytest +BuildRequires: python3-execnet >= 1.2.0 +BuildRequires: python3-mock +BuildRequires: python3-setuptools + +%global _description\ +Execute remote commands or processes. + +%description %_description + +%package -n python3-%{srcname} +Summary: Execute remote commands or processes +Requires: python3 +Requires: python3-execnet >= 1.2.0 + +%description -n python3-%{srcname} %_description + +%prep +%autosetup -n %{srcname}-%{version} + +%build +%{py3_build} + +%install +%{py3_install} + +%check +py.test-%{python3_version} -v remoto/tests + +%files -n python3-%{srcname} +%{python3_sitelib}/* +%license LICENSE +%doc README.rst + + +%changelog +* Thu Jun 24 2021 liufeng - 1.1.4-1 +- Package Init + diff --git a/remoto-1.1.4.tar.gz b/remoto-1.1.4.tar.gz new file mode 100644 index 0000000..a271bc8 Binary files /dev/null and b/remoto-1.1.4.tar.gz differ