1 |
%define module pyxmpp |
2 |
# we don't want to provide private python extension libs |
3 |
%define _exclude_files_from_autoprov %{python_sitearch}/.*\\.so\\|%{python3_sitearch}/.*\\.so |
4 |
|
5 |
Name: python-xmpp |
6 |
Version: 1.1.2 |
7 |
Release: %mkrel 1 |
8 |
URL: http://pyxmpp.jajcus.net/ |
9 |
Summary: Python Jabber/XMPP implementation |
10 |
Source0: http://pyxmpp.jajcus.net/downloads/%{module}-%{version}.tar.gz |
11 |
Group: System/Libraries |
12 |
License: LGPLv2 |
13 |
BuildRequires: python-m2crypto |
14 |
BuildRequires: dnspython |
15 |
BuildRequires: python-libxml2 |
16 |
BuildRequires: python-devel |
17 |
BuildRequires: libxml2-devel |
18 |
|
19 |
Requires: python-m2crypto |
20 |
Requires: dnspython |
21 |
Requires: python-libxml2 |
22 |
|
23 |
%description |
24 |
PyXMPP is a Python XMPP (RFC 3920,3921) and Jabber implementation. It |
25 |
is based on libxml2 -- fast and fully-featured XML parser. |
26 |
|
27 |
PyXMPP provides most core features of the XMPP protocol and several |
28 |
JSF-defined extensions. PyXMPP provides building blocks for creating |
29 |
Jabber clients and components. Developer uses them to setup XMPP streams, |
30 |
handle incoming events and create outgoing stanzas (XMPP "packets"). |
31 |
|
32 |
Features |
33 |
|
34 |
* nearly complete XMPP Core (RFC 3920) protocol for client connections |
35 |
(includes SASL, TLS and Strinprep). |
36 |
* mostly complete XMPP IM (RFC 3921) protocol (lacks privacy lists) |
37 |
* XMPP error objects including translations to and from legacy codes |
38 |
for backward compatibility (JEP-0086). |
39 |
* legacy authentication ("digest" and "plain") (JEP-0078). |
40 |
* component protocol (JEP-0114). |
41 |
* Service Discovery (JEP-0030). |
42 |
* vCards -- both Jabber "vcard-temp" and RFC 2426 |
43 |
* basic parts of the Multi-User Chat protocol (JEP-0045) |
44 |
* delayed delivery time stamps (JEP-0091). |
45 |
* Data Forms (JEP-0004). |
46 |
* In-Band Registration (JEP-0077). |
47 |
|
48 |
%prep |
49 |
%setup -q -n %{module}-%{version} |
50 |
|
51 |
%build |
52 |
%{__python} setup.py build |
53 |
|
54 |
%install |
55 |
%{__python} setup.py install --root %{buildroot} --skip-build |
56 |
|
57 |
%files |
58 |
%doc ChangeLog COPYING PKG-INFO README TODO examples doc |
59 |
%{py_platsitedir}/%{module} |
60 |
%{py_platsitedir}/%{module}-%{version}-* |