|
|
@@ -1,7 +1,7 @@
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# spec file for package python-xapp
|
|
|
|
# spec file for package python-xapp
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Copyright (c) 2024 SUSE LLC
|
|
|
|
# Copyright (c) 2025 SUSE LLC
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
@@ -29,20 +29,20 @@ Source0: %{url}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
|
Source1: setup.py
|
|
|
|
Source1: setup.py
|
|
|
|
# PATCH-FEATURE-OPENSUSE python-xapp-xdgsu.patch -- Escalate privileges using xdg-su.
|
|
|
|
# PATCH-FEATURE-OPENSUSE python-xapp-xdgsu.patch -- Escalate privileges using xdg-su.
|
|
|
|
Patch0: python-xapp-xdgsu.patch
|
|
|
|
Patch0: python-xapp-xdgsu.patch
|
|
|
|
BuildRequires: %{python_module devel}
|
|
|
|
BuildRequires: %{python_module pip}
|
|
|
|
BuildRequires: %{python_module setuptools}
|
|
|
|
BuildRequires: %{python_module setuptools}
|
|
|
|
|
|
|
|
BuildRequires: %{python_module wheel}
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
Requires: python-psutil
|
|
|
|
Requires: python-psutil
|
|
|
|
Requires: xdg-utils
|
|
|
|
Requires: xdg-utils
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
This project gathers the components which are common to multiple
|
|
|
|
This project gathers the components which are common to multiple
|
|
|
|
desktop environments and required to implement cross-DE solutions.
|
|
|
|
desktop environments and required to implement cross-DE solutions.
|
|
|
|
|
|
|
|
|
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -p1 -n %{_name}-%{version}
|
|
|
|
%autosetup -p1 -n %{_name}-%{version}
|
|
|
|
cp %{SOURCE1} .
|
|
|
|
cp %{SOURCE1} .
|
|
|
@@ -50,16 +50,16 @@ cp %{SOURCE1} .
|
|
|
|
sed -i 's|version = "0.0.0",|version = "%{version}",|g' setup.py
|
|
|
|
sed -i 's|version = "0.0.0",|version = "%{version}",|g' setup.py
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%python_build
|
|
|
|
%pyproject_wheel
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%python_install
|
|
|
|
%pyproject_install
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
|
|
|
|
|
|
|
%files %{python_files}
|
|
|
|
%files %{python_files}
|
|
|
|
%license COPYING
|
|
|
|
%license COPYING
|
|
|
|
%doc debian/changelog
|
|
|
|
%doc debian/changelog
|
|
|
|
%{python_sitelib}/xapp/
|
|
|
|
%{python_sitelib}/xapp
|
|
|
|
%{python_sitelib}/python_xapp-*.egg-info
|
|
|
|
%{python_sitelib}/python_xapp-%{version}.dist-info
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|