2018-06-06 09:16:50 +00:00
|
|
|
#
|
|
|
|
# spec file for package python-xpybutil
|
|
|
|
#
|
2025-06-06 04:24:10 +00:00
|
|
|
# Copyright (c) 2025 SUSE LLC
|
2018-06-06 09:16:50 +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.
|
|
|
|
|
2024-02-21 09:35:57 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2018-06-06 09:16:50 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-xpybutil
|
2019-07-22 07:10:50 +00:00
|
|
|
Version: 0.0.6
|
2018-06-06 09:16:50 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Abstraction over xpyb
|
|
|
|
License: WTFPL
|
|
|
|
Group: Development/Languages/Python
|
|
|
|
URL: https://github.com/BurntSushi/xpybutil
|
|
|
|
Source: https://github.com/BurntSushi/xpybutil/archive/%{version}.tar.gz
|
|
|
|
Patch0: python-xpybutil-0.0.5-remove-selftest.patch
|
|
|
|
BuildRequires: %{python_module base}
|
2025-06-06 04:24:10 +00:00
|
|
|
BuildRequires: %{python_module pip}
|
2018-06-06 09:16:50 +00:00
|
|
|
BuildRequires: %{python_module setuptools}
|
2025-06-06 04:24:10 +00:00
|
|
|
BuildRequires: %{python_module wheel}
|
2018-06-06 09:16:50 +00:00
|
|
|
BuildRequires: %{python_module xcffib}
|
|
|
|
BuildRequires: fdupes
|
2018-07-18 11:23:11 +00:00
|
|
|
BuildRequires: python-rpm-macros
|
2018-06-06 09:16:50 +00:00
|
|
|
Requires: python-xcffib
|
|
|
|
BuildArch: noarch
|
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
%description
|
|
|
|
xpybutil is an abstraction over the X Python Binding (xpyb). It exists because xpyb is a very low level library that communicates with X.
|
|
|
|
|
|
|
|
%prep
|
2024-02-21 09:35:57 +00:00
|
|
|
%autosetup -p1 -n xpybutil-%{version}
|
2018-06-06 09:16:50 +00:00
|
|
|
|
|
|
|
%build
|
2025-06-06 04:24:10 +00:00
|
|
|
%pyproject_wheel
|
2018-06-06 09:16:50 +00:00
|
|
|
|
|
|
|
%install
|
2025-06-06 04:24:10 +00:00
|
|
|
%pyproject_install
|
2018-06-06 09:16:50 +00:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}/
|
|
|
|
|
|
|
|
%files %{python_files}
|
|
|
|
%license COPYING
|
|
|
|
%doc README.md
|
2025-06-06 04:24:10 +00:00
|
|
|
%{python_sitelib}/xpybutil
|
|
|
|
%{python_sitelib}/xpybutil-%{version}.dist-info
|
2018-06-06 09:16:50 +00:00
|
|
|
|
|
|
|
%changelog
|