2020-05-24 07:40:39 +00:00
|
|
|
#
|
|
|
|
# spec file for package python-system_hotkey
|
|
|
|
#
|
2025-06-13 12:25:29 +00:00
|
|
|
# Copyright (c) 2025 SUSE LLC
|
2020-05-24 07:40:39 +00:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-system_hotkey
|
2020-10-22 20:01:47 +00:00
|
|
|
Version: 1.0.3
|
2020-05-24 07:40:39 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: System wide hotkeys
|
|
|
|
License: BSD-3-Clause
|
|
|
|
URL: https://github.com/timeyyy/system_hotkey
|
|
|
|
Source0: https://github.com/timeyyy/system_hotkey/archive/%{version}.tar.gz#/system_hotkey-%{version}.tar.gz
|
2025-06-13 12:25:29 +00:00
|
|
|
BuildRequires: %{python_module pip}
|
2020-05-24 07:51:11 +00:00
|
|
|
BuildRequires: %{python_module pytest-xvfb}
|
|
|
|
BuildRequires: %{python_module pytest}
|
2020-05-24 07:40:39 +00:00
|
|
|
BuildRequires: %{python_module setuptools}
|
2025-06-13 12:25:29 +00:00
|
|
|
BuildRequires: %{python_module wheel}
|
2020-05-24 07:40:39 +00:00
|
|
|
BuildRequires: %{python_module xcffib}
|
|
|
|
BuildRequires: %{python_module xpybutil}
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
BuildRequires: pkgconfig(xcb)
|
|
|
|
Requires: python-xcffib
|
|
|
|
Requires: python-xpybutil
|
|
|
|
BuildArch: noarch
|
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
%description
|
|
|
|
System wide hotkeys for python 3.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n system_hotkey-%{version}
|
|
|
|
|
|
|
|
%build
|
2025-06-13 12:25:29 +00:00
|
|
|
%pyproject_wheel
|
2020-05-24 07:40:39 +00:00
|
|
|
|
|
|
|
%install
|
2025-06-13 12:25:29 +00:00
|
|
|
%pyproject_install
|
2020-05-24 07:40:39 +00:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
|
|
|
%check
|
2020-05-24 07:51:11 +00:00
|
|
|
# The tests currently fail
|
|
|
|
#%%pytest
|
2020-05-24 07:40:39 +00:00
|
|
|
|
|
|
|
%files %{python_files}
|
|
|
|
%license LICENSE
|
|
|
|
%doc HISTORY.rst README.rst
|
2020-10-22 20:01:47 +00:00
|
|
|
%{python_sitelib}/system_hotkey
|
2025-06-13 12:25:29 +00:00
|
|
|
%{python_sitelib}/system_hotkey-%{version}*-info
|
2020-05-24 07:40:39 +00:00
|
|
|
|
|
|
|
%changelog
|