%define module pyxmpp # we don't want to provide private python extension libs %define _exclude_files_from_autoprov %{python_sitearch}/.*\\.so\\|%{python3_sitearch}/.*\\.so Name: python-xmpp Version: 1.1.2 Release: %mkrel 5 URL: http://pyxmpp.jajcus.net/ Summary: Python Jabber/XMPP implementation Source0: http://pyxmpp.jajcus.net/downloads/%{module}-%{version}.tar.gz Group: System/Libraries License: LGPLv2 BuildRequires: python-m2crypto BuildRequires: dnspython BuildRequires: python-libxml2 BuildRequires: python-devel BuildRequires: libxml2-devel Requires: python-m2crypto Requires: dnspython Requires: python-libxml2 %description PyXMPP is a Python XMPP (RFC 3920,3921) and Jabber implementation. It is based on libxml2 -- fast and fully-featured XML parser. PyXMPP provides most core features of the XMPP protocol and several JSF-defined extensions. PyXMPP provides building blocks for creating Jabber clients and components. Developer uses them to setup XMPP streams, handle incoming events and create outgoing stanzas (XMPP "packets"). Features * nearly complete XMPP Core (RFC 3920) protocol for client connections (includes SASL, TLS and Strinprep). * mostly complete XMPP IM (RFC 3921) protocol (lacks privacy lists) * XMPP error objects including translations to and from legacy codes for backward compatibility (JEP-0086). * legacy authentication ("digest" and "plain") (JEP-0078). * component protocol (JEP-0114). * Service Discovery (JEP-0030). * vCards -- both Jabber "vcard-temp" and RFC 2426 * basic parts of the Multi-User Chat protocol (JEP-0045) * delayed delivery time stamps (JEP-0091). * Data Forms (JEP-0004). * In-Band Registration (JEP-0077). %prep %setup -q -n %{module}-%{version} %build %{__python} setup.py build %install %{__python} setup.py install --root %{buildroot} --skip-build %files %doc ChangeLog COPYING PKG-INFO README TODO examples doc %{py_platsitedir}/%{module} %{py_platsitedir}/%{module}-%{version}-*