2017-05-06 20:25:46 +00:00
|
|
|
#
|
|
|
|
# spec file for package python-xapp
|
|
|
|
#
|
2021-05-31 08:47:28 +00:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2017-05-06 20:25:46 +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.
|
|
|
|
|
2020-02-08 10:43:27 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2017-05-06 20:25:46 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2020-09-28 09:02:41 +00:00
|
|
|
%define skip_python2 1
|
|
|
|
%define _name python3-xapp
|
2017-05-08 12:50:51 +00:00
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
2017-05-06 20:25:46 +00:00
|
|
|
Name: python-xapp
|
2022-01-02 22:06:55 +00:00
|
|
|
Version: 2.2.1
|
2017-05-06 20:25:46 +00:00
|
|
|
Release: 0
|
2017-05-08 12:50:51 +00:00
|
|
|
Summary: Python XApp library
|
2018-04-20 09:35:32 +00:00
|
|
|
License: GPL-2.0-or-later
|
2017-05-06 20:25:46 +00:00
|
|
|
Group: Development/Languages/Python
|
2020-09-28 09:02:41 +00:00
|
|
|
URL: https://github.com/linuxmint/python3-xapp
|
|
|
|
Source: https://github.com/linuxmint/python3-xapp/archive/%{version}.tar.gz#/%{_name}-%{version}.tar.gz
|
2017-06-12 21:03:18 +00:00
|
|
|
# PATCH-FEATURE-OPENSUSE python-xapp-xdgsu.patch -- Escalate privileges using xdg-su.
|
|
|
|
Patch0: python-xapp-xdgsu.patch
|
2017-05-08 12:50:51 +00:00
|
|
|
BuildRequires: %{python_module devel}
|
2020-09-28 09:02:41 +00:00
|
|
|
BuildRequires: %{python_module setuptools}
|
2021-05-31 08:47:28 +00:00
|
|
|
BuildRequires: fdupes
|
2017-05-08 12:50:51 +00:00
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
Requires: python-psutil
|
2017-06-12 21:03:18 +00:00
|
|
|
Requires: xdg-utils
|
2017-05-06 20:25:46 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
This project gathers the components which are common to multiple
|
|
|
|
desktop environments and required to implement cross-DE solutions.
|
|
|
|
|
2017-05-08 12:50:51 +00:00
|
|
|
%python_subpackages
|
2017-05-06 20:25:46 +00:00
|
|
|
|
|
|
|
%prep
|
2020-09-28 09:02:41 +00:00
|
|
|
%setup -q -n %{_name}-%{version}
|
2017-06-12 21:03:18 +00:00
|
|
|
%patch0 -p1
|
2017-05-06 20:25:46 +00:00
|
|
|
|
|
|
|
%build
|
2017-05-08 12:50:51 +00:00
|
|
|
%python_build
|
2017-05-06 20:25:46 +00:00
|
|
|
|
|
|
|
%install
|
2017-05-08 12:50:51 +00:00
|
|
|
%python_install
|
2021-05-31 08:47:28 +00:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
2017-05-06 20:25:46 +00:00
|
|
|
|
2017-05-08 12:50:51 +00:00
|
|
|
%files %{python_files}
|
2018-04-20 09:35:32 +00:00
|
|
|
%license COPYING
|
|
|
|
%doc debian/changelog
|
2017-05-06 20:25:46 +00:00
|
|
|
%{python_sitelib}/xapp/
|
2017-06-12 21:07:31 +00:00
|
|
|
%{python_sitelib}/python_xapp-*.egg-info
|
2017-05-06 20:25:46 +00:00
|
|
|
|
|
|
|
%changelog
|