2013-04-29 16:12:46 +02:00
|
|
|
#
|
|
|
|
# spec file for package python-nbxmpp
|
|
|
|
#
|
2015-07-21 09:18:22 +02:00
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
2013-04-29 16:12:46 +02: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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2014-10-12 01:18:28 +02:00
|
|
|
|
|
|
|
%define _name nbxmpp
|
2013-04-29 16:12:46 +02:00
|
|
|
Name: python-nbxmpp
|
2015-07-21 09:18:22 +02:00
|
|
|
Version: 0.5.3
|
2013-05-19 19:35:39 +02:00
|
|
|
Release: 0
|
2013-04-29 16:12:46 +02:00
|
|
|
Summary: XMPP library by Gajim team
|
2014-10-12 01:18:28 +02:00
|
|
|
License: GPL-3.0+
|
2014-10-17 18:04:48 +02:00
|
|
|
Group: Development/Languages/Python
|
2013-05-19 19:35:39 +02:00
|
|
|
Url: http://python-nbxmpp.gajim.org/
|
2014-10-12 01:18:28 +02:00
|
|
|
Source: https://pypi.python.org/packages/source/n/%{_name}/%{_name}-%{version}.tar.gz
|
2013-04-29 16:12:46 +02:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: python-devel
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildArch: noarch
|
2015-07-21 09:18:22 +02:00
|
|
|
%py_requires
|
2013-04-29 16:12:46 +02:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
Summary: Nbxmpp Documentation
|
2015-07-21 09:18:22 +02:00
|
|
|
Group: Documentation/Other
|
2013-04-29 16:12:46 +02:00
|
|
|
|
|
|
|
%description doc
|
|
|
|
This packages provides documentation of Nbxmpp API.
|
|
|
|
|
|
|
|
%prep
|
2014-10-12 01:18:28 +02:00
|
|
|
%setup -q -n %{_name}-%{version}
|
2013-04-29 16:12:46 +02:00
|
|
|
|
|
|
|
%build
|
2014-10-17 18:04:48 +02:00
|
|
|
python setup.py build
|
2013-04-29 16:12:46 +02:00
|
|
|
|
|
|
|
%install
|
2014-10-17 18:04:48 +02:00
|
|
|
python setup.py install --root %{buildroot} --prefix=%{_prefix}
|
2014-10-12 01:18:28 +02:00
|
|
|
%fdupes %{buildroot}
|
2013-04-29 16:12:46 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2013-08-22 16:38:55 +02:00
|
|
|
%doc COPYING
|
2014-10-12 01:18:28 +02:00
|
|
|
%{python_sitelib}/%{_name}/
|
|
|
|
%{python_sitelib}/%{_name}-*
|
2013-04-29 16:12:46 +02:00
|
|
|
|
|
|
|
%files doc
|
|
|
|
%defattr(-,root,root)
|
2015-01-10 14:37:02 +01:00
|
|
|
%doc ChangeLog README
|
|
|
|
%doc doc/apidocs doc/examples
|
2013-05-19 19:35:39 +02:00
|
|
|
|
|
|
|
%changelog
|