File python-pyxmpp.spec of Package python-pyxmpp
# norootforbuild
Name: python-pyxmpp
Version: 1.1.1
Release: 0
Summary: Python Jabber/XMPP Implementation
Source: http://pyxmpp.jajcus.net/downloads/pyxmpp-%{version}.tar.gz
Source99: %{name}-rpmlintrc
Patch1: %{name}-libxml2_not_in_usr_local.patch
URL: http://pyxmpp.jajcus.net/
Group: Development/Libraries/Python
License: GNU Library General Public License (LGPL)
BuildRoot: %{_tmppath}/build-%{name}-%{version}
BuildRequires: python python-devel gcc glibc-devel libxml2 libxml2-devel
BuildRequires: python-dnspython libxml2-python
Requires: python-dnspython
Requires: libxml2-python
Provides: pyxmpp = %{version}-%{release}
%py_requires
%description
PyXMPP is a Python XMPP (RFC 3920,3921) and Jabber
(http://www.jabber.org/protocol/) 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").
%prep
%setup -q -n "pyxmpp-%{version}"
%patch1
%build
%__python ./setup.py build
%install
%__python ./setup.py install --prefix="%{_prefix}" --root="%{buildroot}" \
--record-rpm=files.lst
%clean
%__rm -rf "%{buildroot}"
%files -f files.lst
%defattr(-,root,root)
%doc ChangeLog CHANGES COPYING README TODO
%doc examples
%changelog
# Local Variables:
# mode: rpm-spec
# tab-width: 3
# End: