forked from pool/python-nbxmpp
- update to version 6.1.1: - Improvements: * MUC: Return message id after sending - Bug Fixes: * VoiceRequests: Don’t parse errors * MDS: Make by attribute configurable - update to version 6.1.0: - New * MDS: Allow setting MDS assist on message - Improvements: * SASL: Improve logging - Change: * MDS: Simplify set_mds() - update to version 6.0.2: - Improvements: * Retraction: Parse id attribute for tombstones - Bug Fixes: * OpenPGP: Depreacted pubkey date attribute - update to version 6.0.1: - Improvements: * DiscoInfo: Add more MUC config fields - Bug Fixes: * DiscoInfo: Return correct values in get_field_value() * JID: Raise error on IRIs with auth component - update to version 6.0.0: - Change: * JID: Remove default arguments - Bug Fixes: * Moderation: Parse moderation messages correctly (#164) OBS-URL: https://build.opensuse.org/request/show/1270946 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nbxmpp?expand=0&rev=104
80 lines
2.4 KiB
RPMSpec
80 lines
2.4 KiB
RPMSpec
#
|
|
# spec file for package python-nbxmpp
|
|
#
|
|
# Copyright (c) 2025 SUSE LLC
|
|
#
|
|
# 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.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%{?sle15_python_module_pythons}
|
|
%define _name nbxmpp
|
|
Name: python-nbxmpp
|
|
Version: 6.1.1
|
|
Release: 0
|
|
Summary: XMPP library by Gajim team
|
|
License: GPL-3.0-or-later
|
|
Group: Development/Languages/Python
|
|
URL: https://dev.gajim.org/gajim/python-nbxmpp
|
|
Source: %{url}/-/archive/%{version}/python-nbxmpp-%{version}.tar.bz2
|
|
BuildRequires: %{python_module base >= 3.10}
|
|
BuildRequires: %{python_module pip}
|
|
BuildRequires: %{python_module setuptools >= 65.0}
|
|
BuildRequires: %{python_module wheel}
|
|
BuildRequires: fdupes
|
|
BuildRequires: python-rpm-generators >= 20220912
|
|
BuildRequires: python-rpm-macros >= 20220912
|
|
# For testing
|
|
BuildRequires: %{python_module gobject-Gdk >= 3.42}
|
|
BuildRequires: %{python_module idna}
|
|
BuildRequires: %{python_module packaging}
|
|
BuildRequires: %{python_module pip}
|
|
BuildRequires: %{python_module precis-i18n}
|
|
BuildRequires: %{python_module sqlite3}
|
|
BuildRequires: %{python_module wheel}
|
|
BuildRequires: typelib(Soup) = 3.0
|
|
Requires: python-gobject >= 3.42
|
|
Requires: python-idna
|
|
Requires: python-packaging
|
|
Requires: python-precis-i18n >= 1.0.0
|
|
Recommends: python-gssapi
|
|
BuildArch: noarch
|
|
|
|
%python_subpackages
|
|
|
|
%description
|
|
Python-nbxmpp is a Python library that provides a way for Python
|
|
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.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%pyproject_wheel
|
|
|
|
%install
|
|
%pyproject_install
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}/
|
|
|
|
%check
|
|
%pyunittest discover -v
|
|
|
|
%files %{python_files}
|
|
%license COPYING
|
|
%doc ChangeLog README.md
|
|
%{python_sitelib}/%{_name}
|
|
%{python_sitelib}/%{_name}-%{version}.dist-info
|
|
|
|
%changelog
|