2013-04-29 14:12:46 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package python-nbxmpp
|
|
|
|
|
#
|
2024-02-13 14:48:26 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2013-04-29 14:12: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-09-03 07:45:07 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2013-04-29 14:12:46 +00:00
|
|
|
#
|
|
|
|
|
|
2014-10-11 23:18:28 +00:00
|
|
|
|
2024-04-30 12:39:17 +00:00
|
|
|
%{?sle15_python_module_pythons}
|
2014-10-11 23:18:28 +00:00
|
|
|
%define _name nbxmpp
|
2013-04-29 14:12:46 +00:00
|
|
|
Name: python-nbxmpp
|
2024-09-05 08:49:02 +00:00
|
|
|
Version: 5.0.3
|
2013-05-19 17:35:39 +00:00
|
|
|
Release: 0
|
2013-04-29 14:12:46 +00:00
|
|
|
Summary: XMPP library by Gajim team
|
2018-03-19 22:02:23 +00:00
|
|
|
License: GPL-3.0-or-later
|
2014-10-17 16:04:48 +00:00
|
|
|
Group: Development/Languages/Python
|
2018-11-19 13:43:01 +00:00
|
|
|
URL: https://dev.gajim.org/gajim/python-nbxmpp
|
2022-05-29 18:54:40 +00:00
|
|
|
Source: %{url}/-/archive/%{version}/python-nbxmpp-%{version}.tar.bz2
|
2024-06-30 07:15:36 +00:00
|
|
|
BuildRequires: %{python_module base >= 3.10}
|
|
|
|
|
BuildRequires: %{python_module pip}
|
2023-01-24 08:26:36 +00:00
|
|
|
BuildRequires: %{python_module setuptools >= 65.0}
|
2024-06-30 07:15:36 +00:00
|
|
|
BuildRequires: %{python_module wheel}
|
2013-04-29 14:12:46 +00:00
|
|
|
BuildRequires: fdupes
|
2023-02-07 00:55:19 +00:00
|
|
|
BuildRequires: python-rpm-generators >= 20220912
|
|
|
|
|
BuildRequires: python-rpm-macros >= 20220912
|
2021-05-18 12:25:13 +00:00
|
|
|
# For testing
|
2023-01-24 08:26:36 +00:00
|
|
|
BuildRequires: %{python_module gobject-Gdk >= 3.42}
|
2021-05-18 12:25:13 +00:00
|
|
|
BuildRequires: %{python_module idna}
|
2022-09-14 15:51:13 +00:00
|
|
|
BuildRequires: %{python_module packaging}
|
2023-01-24 08:26:36 +00:00
|
|
|
BuildRequires: %{python_module pip}
|
2021-05-18 12:25:13 +00:00
|
|
|
BuildRequires: %{python_module precis-i18n}
|
2023-08-12 13:53:25 +00:00
|
|
|
BuildRequires: %{python_module sqlite3}
|
2023-01-24 08:26:36 +00:00
|
|
|
BuildRequires: %{python_module wheel}
|
2023-01-08 10:35:57 +00:00
|
|
|
BuildRequires: typelib(Soup) = 3.0
|
2024-06-11 07:45:48 +00:00
|
|
|
Requires: python-gobject >= 3.42
|
2024-04-30 12:39:17 +00:00
|
|
|
Requires: python-idna
|
|
|
|
|
Requires: python-packaging
|
2024-06-11 07:45:48 +00:00
|
|
|
Requires: python-precis-i18n >= 1.0.0
|
2021-05-18 12:27:27 +00:00
|
|
|
Recommends: python-gssapi
|
2013-04-29 14:12:46 +00:00
|
|
|
BuildArch: noarch
|
2021-05-18 12:25:13 +00:00
|
|
|
|
|
|
|
|
%python_subpackages
|
2013-04-29 14:12:46 +00:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Python-nbxmpp is a Python library that provides a way for Python
|
2018-11-19 13:43:01 +00:00
|
|
|
applications to use Jabber/XMPP networks in a non-blocking way.
|
|
|
|
|
This library is initialy a fork of xmpppy one, but using
|
|
|
|
|
non-blocking sockets.
|
2013-04-29 14:12:46 +00:00
|
|
|
|
|
|
|
|
%prep
|
2022-05-29 18:54:40 +00:00
|
|
|
%setup -q
|
2013-04-29 14:12:46 +00:00
|
|
|
|
|
|
|
|
%build
|
2023-01-24 08:26:36 +00:00
|
|
|
%pyproject_wheel
|
2013-04-29 14:12:46 +00:00
|
|
|
|
|
|
|
|
%install
|
2023-01-24 08:26:36 +00:00
|
|
|
%pyproject_install
|
2017-06-06 08:21:52 +00:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}/
|
2013-04-29 14:12:46 +00:00
|
|
|
|
2021-05-18 12:25:13 +00:00
|
|
|
%check
|
2021-05-18 12:27:27 +00:00
|
|
|
%pyunittest discover -v
|
2021-05-18 12:25:13 +00:00
|
|
|
|
2017-06-06 08:21:52 +00:00
|
|
|
%files %{python_files}
|
2018-03-19 22:02:23 +00:00
|
|
|
%license COPYING
|
2023-01-08 10:35:57 +00:00
|
|
|
%doc ChangeLog README.md
|
2024-06-30 07:15:36 +00:00
|
|
|
%{python_sitelib}/%{_name}
|
|
|
|
|
%{python_sitelib}/%{_name}-%{version}.dist-info
|
2013-04-29 14:12:46 +00:00
|
|
|
|
2013-05-19 17:35:39 +00:00
|
|
|
%changelog
|