python-xmpp-vl.spec 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
  2. Name: python-xmpp
  3. Version: 0.5.0
  4. Release: 1.rc1%{?_dist_release}
  5. Summary: Python library for easy scripting with Jabber
  6. Group: Development/Languages
  7. License: GPLv2+
  8. URL: http://xmpppy.sourceforge.net/
  9. Source0: http://downloads.sourceforge.net/xmpppy/xmpppy-%{version}rc1.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  11. Provides: xmpppy = %{version}-%{release}
  12. BuildArch: noarch
  13. BuildRequires: python-setuptools
  14. Requires: python-dns
  15. %description
  16. xmpppy is a Python library that is targeted to provide easy scripting
  17. with Jabber. Similar projects are Twisted Words and jabber.py.
  18. This library was not designed from scratch. It inherits some code from
  19. jabberpy and have very similar API in many places. Though it is
  20. separate project since it have almost completely different
  21. architecture and primarily aims to work with jabberd2 - the new Open
  22. Source Jabber Server.
  23. %prep
  24. %setup -q -n xmpppy-%{version}rc1
  25. # strip executable permissions so that dependencies aren't picked up
  26. # from documentation files.
  27. find doc -type f | xargs chmod a-x
  28. %build
  29. CFLAGS="%{optflags}" %{__python} -c 'import setuptools; execfile("setup.py")' build
  30. %install
  31. rm -rf %{buildroot}
  32. %{__python} -c 'import setuptools; execfile("setup.py")' install --skip-build --root %{buildroot}
  33. %clean
  34. rm -rf %{buildroot}
  35. %files
  36. %defattr(-,root,root,-)
  37. %doc ChangeLog README doc/*
  38. %{python_sitelib}/*
  39. %changelog
  40. * Sat Apr 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.5.0-1.rc1
  41. - initial build for Vine Linux
  42. * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-0.5.rc1
  43. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  44. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-0.4.rc1
  45. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  46. * Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.5.0-0.3.rc1
  47. - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
  48. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-0.2.rc1
  49. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  50. * Sat Apr 11 2009 Peter Lemenkov <lemenkov@gmail.com> - 0.5.0-0.1.rc1
  51. - Ver. 0.5.0rc1
  52. - Dropped patches
  53. * Sun Mar 15 2009 Peter Lemenkov <lemenkov@gmail.com> - 0.4.1-6
  54. - Added Provides: xmpppy
  55. - Added patches from upstream CVS
  56. - Fixed Source0 link
  57. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-5
  58. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  59. * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.4.1-4
  60. - Rebuild for Python 2.6
  61. * Wed Sep 3 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.4.1-3
  62. - fix license tag
  63. * Thu Jan 3 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.4.1-2
  64. - Get eggs building correctly on F-7 and F-8.
  65. * Thu Jan 3 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.4.1-1
  66. - Update to 0.4.1.
  67. * Thu Jan 3 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.4.0-3
  68. - Change files section to pick up egg info files.
  69. * Fri Dec 8 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.4.0-2
  70. - Bump release for rebuild with Python 2.5.
  71. * Wed Nov 22 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.4.0-1
  72. - Update to 0.4.0
  73. * Mon Aug 14 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.3.1-2
  74. - Remove unneeded python_sitearch macro
  75. - Remove unneeded python-abi requirement
  76. - No longer ghost *.pyo files
  77. * Fri May 26 2006 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.3.1-1
  78. - First version for Fedora Extras