Group :: Development/Python
RPM: python-module-xmpp
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define version 0.4.0
%define release alt1
%setup_python_module xmpp
Summary: XMPP-IM-compliant library for jabber instant messenging.
Name: %{packagename}
Version: %{version}
Release: %{release}
Source0: %{modulename}py-%{version}.tar.gz
#Patch0: xmpp-0.4-pre2-locale.patch
License: GPL
Group: Development/Python
Prefix: %{_prefix}
BuildArchitectures: noarch
Vendor: Alexey Nezhdanov <snakeru at users.sourceforge.net>
Packager: Andrey Orlov <cray at altlinux.org>
Url: http://xmpppy.sourceforge.net/
%description
This library provides functionality for writing xmpp-compliant
jabber clients and/or components.
It was initially designed as rework of jabberpy library but
lately become separate product.
Unlike jabberpy it is distributed under the terms of GPL.
%prep
%setup -q -n %{modulename}py-%version
#patch0 -p1
%build
%__python setup.py build
%install
%__python setup.py install --root=%buildroot --optimize=2 --record=INSTALLED_FILES
install -d %buildroot/%python_tooldir %buildroot/usr/bin/
cp doc/examples/xsend.py %buildroot/%python_tooldir/jabber_send.py
ln -sf %python_tooldir/jabber_send.py %buildroot/usr/bin/jabber_send
#files -f INSTALLED_FILES
%files
%defattr(-,root,root)
%doc doc/*
%python_tooldir/*
%_bindir/*
/usr/lib/python2.4/site-packages/xmpp/*
%changelog
…
Full changelog you can see here
%define release alt1
%setup_python_module xmpp
Summary: XMPP-IM-compliant library for jabber instant messenging.
Name: %{packagename}
Version: %{version}
Release: %{release}
Source0: %{modulename}py-%{version}.tar.gz
#Patch0: xmpp-0.4-pre2-locale.patch
License: GPL
Group: Development/Python
Prefix: %{_prefix}
BuildArchitectures: noarch
Vendor: Alexey Nezhdanov <snakeru at users.sourceforge.net>
Packager: Andrey Orlov <cray at altlinux.org>
Url: http://xmpppy.sourceforge.net/
%description
This library provides functionality for writing xmpp-compliant
jabber clients and/or components.
It was initially designed as rework of jabberpy library but
lately become separate product.
Unlike jabberpy it is distributed under the terms of GPL.
%prep
%setup -q -n %{modulename}py-%version
#patch0 -p1
%build
%__python setup.py build
%install
%__python setup.py install --root=%buildroot --optimize=2 --record=INSTALLED_FILES
install -d %buildroot/%python_tooldir %buildroot/usr/bin/
cp doc/examples/xsend.py %buildroot/%python_tooldir/jabber_send.py
ln -sf %python_tooldir/jabber_send.py %buildroot/usr/bin/jabber_send
#files -f INSTALLED_FILES
%files
%defattr(-,root,root)
%doc doc/*
%python_tooldir/*
%_bindir/*
/usr/lib/python2.4/site-packages/xmpp/*
%changelog
…
Full changelog you can see here