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