2013-04-29 14:12:46 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package python-nbxmpp
|
|
|
|
|
#
|
2018-03-19 22:02:23 +00:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
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.
|
|
|
|
|
|
2018-11-19 13:43:01 +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
|
|
|
|
2017-06-06 08:21:52 +00:00
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
2014-10-11 23:18:28 +00:00
|
|
|
%define _name nbxmpp
|
2013-04-29 14:12:46 +00:00
|
|
|
Name: python-nbxmpp
|
2018-11-19 13:43:01 +00:00
|
|
|
Version: 0.6.8
|
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
|
2016-10-15 13:47:30 +00:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/n/%{_name}/%{_name}-%{version}.tar.gz
|
2018-05-22 08:44:21 +00:00
|
|
|
BuildRequires: %{python_module setuptools}
|
2013-04-29 14:12:46 +00:00
|
|
|
BuildRequires: fdupes
|
2017-06-06 08:21:52 +00:00
|
|
|
BuildRequires: python-rpm-macros
|
2013-04-29 14:12:46 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%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
|
|
|
|
2017-06-06 08:21:52 +00:00
|
|
|
%python_subpackages
|
|
|
|
|
|
2013-04-29 14:12:46 +00:00
|
|
|
%package doc
|
|
|
|
|
Summary: Nbxmpp Documentation
|
2015-07-21 07:18:22 +00:00
|
|
|
Group: Documentation/Other
|
2013-04-29 14:12:46 +00:00
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
|
This packages provides documentation of Nbxmpp API.
|
|
|
|
|
|
|
|
|
|
%prep
|
2014-10-11 23:18:28 +00:00
|
|
|
%setup -q -n %{_name}-%{version}
|
2013-04-29 14:12:46 +00:00
|
|
|
|
|
|
|
|
%build
|
2017-06-06 08:21:52 +00:00
|
|
|
%python_build
|
2013-04-29 14:12:46 +00:00
|
|
|
|
|
|
|
|
%install
|
2017-06-06 08:21:52 +00:00
|
|
|
%python_install
|
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}/
|
2013-04-29 14:12:46 +00:00
|
|
|
|
2017-06-06 08:21:52 +00:00
|
|
|
%files %{python_files}
|
2018-03-19 22:02:23 +00:00
|
|
|
%license COPYING
|
2014-10-11 23:18:28 +00:00
|
|
|
%{python_sitelib}/%{_name}/
|
|
|
|
|
%{python_sitelib}/%{_name}-*
|
2013-04-29 14:12:46 +00:00
|
|
|
|
2017-06-06 08:21:52 +00:00
|
|
|
%files %{python_files doc}
|
2015-01-10 13:37:02 +00:00
|
|
|
%doc ChangeLog README
|
2017-06-06 08:21:52 +00:00
|
|
|
%doc doc/apidocs/ doc/examples/
|
2013-05-19 17:35:39 +00:00
|
|
|
|
|
|
|
|
%changelog
|