%define version 0.4 %define release 1mdk %define pkgname jabberpy%{version}-0 Summary: Python jabber protocol module. Name: python-jabber Version: %{version} Release: %{release} Source0: %{pkgname}.tar.bz2 License: LGPL URL: http://jabberpy.sf.net/ Group: Development/Python BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot BuildRequires: python-devel BuildArch: noarch %description Python module for jabber protocol support. You can write client or services with it. %prep %setup -q -n %{pkgname} %build CFLAGS="$RPM_OPT_FLAGS" python setup.py build %install rm -rf $RPM_BUILD_ROOT python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES %clean rm -rf $RPM_BUILD_ROOT %files -f INSTALLED_FILES %defattr(-,root,root) %doc ChangeLog CREDITS README docs/ examples/ util/ %changelog * Sat Nov 01 2003 Michael Scherer <scherer.michael@free.fr> 0.4-1mdk - First Mandrake package, spec stolen from fcrozat