commit 959180eedff447ab3f51839ff3086abedd1b97477278dbc73eab19cb51b8216d Author: Tomáš Chvátal Date: Sun Aug 16 08:12:09 2020 +0000 Accepting request 826718 from home:jayvdb:py-submit dep of https://build.opensuse.org/package/show/home:jayvdb:py-submit/python-PyVirtualDisplay OBS-URL: https://build.opensuse.org/request/show/826718 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-vncdotool?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-vncdotool.changes b/python-vncdotool.changes new file mode 100644 index 0000000..b12a317 --- /dev/null +++ b/python-vncdotool.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Fri Aug 14 01:17:20 PM UTC 2020 - John Vandenberg + +- Initial spec for v1.0.0 diff --git a/python-vncdotool.spec b/python-vncdotool.spec new file mode 100644 index 0000000..232a84e --- /dev/null +++ b/python-vncdotool.spec @@ -0,0 +1,83 @@ +# +# spec file for package python-vncdotool +# +# Copyright (c) 2020 SUSE LLC +# +# 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 https://bugs.opensuse.org/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-vncdotool +Version: 1.0.0 +Release: 0 +Summary: Command line VNC client +License: MIT +Group: Development/Languages/Python +URL: https://github.com/sibson/vncdotool +Source: https://files.pythonhosted.org/packages/source/v/vncdotool/vncdotool-%{version}.tar.gz +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-Pillow +Requires: python-Twisted +Requires(post): update-alternatives +Requires(postun): update-alternatives +BuildArch: noarch +# SECTION test requirements +BuildRequires: %{python_module Pillow} +BuildRequires: %{python_module Twisted} +BuildRequires: %{python_module mock} +BuildRequires: %{python_module nose} +BuildRequires: %{python_module pexpect} +# /SECTION +%python_subpackages + +%description +Command line VNC client. + +%prep +%setup -q -n vncdotool-%{version} +sed -i 's/from unittest.mock import /from mock.mock import /' tests/unit/helpers.py + +%build +%python_build + +%install +%python_install +%python_clone -a %{buildroot}%{_bindir}/vncdo +%python_clone -a %{buildroot}%{_bindir}/vncdotool +%python_clone -a %{buildroot}%{_bindir}/vnclog +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%post +%python_install_alternative vncdo +%python_install_alternative vncdotool +%python_install_alternative vnclog + +%postun +%python_uninstall_alternative vncdo +%python_uninstall_alternative vncdotool +%python_uninstall_alternative vnclog + +%check +%python_exec setup.py test + +%files %{python_files} +%doc README.rst +%license LICENSE.txt +%python_alternative %{_bindir}/vncdo +%python_alternative %{_bindir}/vncdotool +%python_alternative %{_bindir}/vnclog +%{python_sitelib}/* + +%changelog diff --git a/vncdotool-1.0.0.tar.gz b/vncdotool-1.0.0.tar.gz new file mode 100644 index 0000000..715a702 --- /dev/null +++ b/vncdotool-1.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5b1670c6923a9408aec7825d8087e0de3a7f5bc9bd6fa590b7e1727879347e0c +size 50193