|
|
@@ -1,7 +1,7 @@
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# spec file for package python-notify2
|
|
|
|
# spec file for package python-notify2
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
|
|
# 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
|
|
|
@@ -16,21 +16,22 @@
|
|
|
|
#
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
|
|
%{?sle15_python_module_pythons}
|
|
|
|
Name: python-notify2
|
|
|
|
Name: python-notify2
|
|
|
|
Version: 0.3.1
|
|
|
|
Version: 0.3.1
|
|
|
|
Release: 0
|
|
|
|
Release: 0
|
|
|
|
Summary: Python interface to DBus notifications
|
|
|
|
Summary: Python interface to DBus notifications
|
|
|
|
License: BSD-2-Clause
|
|
|
|
License: BSD-2-Clause
|
|
|
|
Group: Development/Languages/Python
|
|
|
|
|
|
|
|
URL: https://pypi.python.org/pypi/notify2/
|
|
|
|
URL: https://pypi.python.org/pypi/notify2/
|
|
|
|
Source: https://files.pythonhosted.org/packages/source/n/notify2/notify2-%{version}.tar.gz
|
|
|
|
Source: https://files.pythonhosted.org/packages/source/n/notify2/notify2-%{version}.tar.gz
|
|
|
|
BuildRequires: %{python_module dbus-python}
|
|
|
|
BuildRequires: %{python_module dbus-python}
|
|
|
|
|
|
|
|
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
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
Requires: python-dbus-python
|
|
|
|
Requires: python-dbus-python
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
%python_subpackages
|
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
@@ -43,16 +44,16 @@ applications.
|
|
|
|
%setup -q -n notify2-%{version}
|
|
|
|
%setup -q -n notify2-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%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 LICENSE
|
|
|
|
%license LICENSE
|
|
|
|
%{python_sitelib}/notify2.py*
|
|
|
|
%{python_sitelib}/notify2.py
|
|
|
|
%pycache_only %{python_sitelib}/__pycache__/notify2*
|
|
|
|
%pycache_only %{python_sitelib}/__pycache__/notify2.*.pyc
|
|
|
|
%{python_sitelib}/notify2-%{version}-*info
|
|
|
|
%{python_sitelib}/notify2-%{version}.dist-info
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|