|
|
|
@@ -1,7 +1,7 @@
|
|
|
|
|
#
|
|
|
|
|
# spec file
|
|
|
|
|
# spec file for package python-PyVirtualDisplay
|
|
|
|
|
#
|
|
|
|
|
# Copyright (c) 2023 SUSE LLC
|
|
|
|
|
# Copyright (c) 2025 SUSE LLC
|
|
|
|
|
#
|
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
@@ -32,7 +32,9 @@ Summary: Python wrapper for Xvfb, Xephyr and Xvnc
|
|
|
|
|
License: BSD-2-Clause
|
|
|
|
|
URL: https://github.com/ponty/PyVirtualDisplay
|
|
|
|
|
Source: https://files.pythonhosted.org/packages/source/P/PyVirtualDisplay/PyVirtualDisplay-%{version}.tar.gz
|
|
|
|
|
BuildRequires: %{python_module pip}
|
|
|
|
|
BuildRequires: %{python_module setuptools}
|
|
|
|
|
BuildRequires: %{python_module wheel}
|
|
|
|
|
BuildRequires: fdupes
|
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
|
Requires: python-EasyProcess
|
|
|
|
@@ -50,7 +52,6 @@ BuildRequires: %{python_module entrypoint2}
|
|
|
|
|
BuildRequires: %{python_module psutil}
|
|
|
|
|
BuildRequires: %{python_module pytest-xdist}
|
|
|
|
|
BuildRequires: %{python_module pytest}
|
|
|
|
|
BuildRequires: %{python_module vncdotool >= 0.13.0}
|
|
|
|
|
BuildRequires: /usr/bin/who
|
|
|
|
|
BuildRequires: xmessage
|
|
|
|
|
BuildRequires: xorg-x11-server-extra
|
|
|
|
@@ -64,13 +65,15 @@ PyVirtualDisplay is a python wrapper for Xvfb, Xephyr and Xvnc.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n PyVirtualDisplay-%{version}
|
|
|
|
|
# Ignore test_xvnc.py to remove python-vncdotool build dependency
|
|
|
|
|
rm tests/test_xvnc.py
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%python_build
|
|
|
|
|
%pyproject_wheel
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%if !%{with test}
|
|
|
|
|
%python_install
|
|
|
|
|
%pyproject_install
|
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
@@ -91,7 +94,7 @@ xvfb-run --server-args "-screen 0 1920x1080x24" \
|
|
|
|
|
%license LICENSE.txt
|
|
|
|
|
%doc README.md
|
|
|
|
|
%{python_sitelib}/pyvirtualdisplay
|
|
|
|
|
%{python_sitelib}/PyVirtualDisplay-%{version}-*info
|
|
|
|
|
%{python_sitelib}/[Pp]y[Vv]irtual[Dd]isplay-%{version}.dist-info
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|