15
0
forked from pool/python-nbxmpp
Files
python-nbxmpp/python-nbxmpp.spec
Dirk Mueller 9ae7e4fabe - update to 1.0.2 (bsc#1176101):
* Client: Expose more information about the connection
  * Client: set_ignored_tls_errors() allow to pass None
  * Add method to disable stream management
  * TCP: Set input/output closed on finalize()
  * TCP: Catch Runtime error
  * Perform UTS46 mapping on domain names
  * Add XEP-0377 support
  * MUC: Return message id when using inivite()
  * OMEMO: Correctly parse prekey value
  * Client: Determine protocol and type correctly if a custom host is used
  * Smacks: Don't fail on saving error replies
  * Library rewritten in most parts
  * Replace BOSH with Websocket
  * Add new example client
  * Many other improvements
  * Currently no Client Cert support

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nbxmpp?expand=0&rev=42
2020-09-03 07:45:07 +00:00

69 lines
2.0 KiB
RPMSpec

#
# spec file for package python-nbxmpp
#
# Copyright (c) 2020 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/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define _name nbxmpp
Name: python-nbxmpp
Version: 1.0.2
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: https://files.pythonhosted.org/packages/source/n/%{_name}/%{_name}-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%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.
%python_subpackages
%package doc
Summary: Nbxmpp Documentation
Group: Documentation/Other
%description doc
This packages provides documentation of Nbxmpp API.
%prep
%setup -q -n %{_name}-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}/
%files %{python_files}
%license COPYING
%{python_sitelib}/%{_name}/
%{python_sitelib}/%{_name}-*
%files %{python_files doc}
%doc ChangeLog README.md
%doc %{_name}/examples/
%changelog