irclib -- Internet Relay Chat (IRC) protocol client library

python-irclib.spec 2.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. Summary: A set of Python modules for IRC support.
  2. Name: python-irclib
  3. Version: 0.4.8
  4. Release: 1
  5. Group: Development/Libraries
  6. License: LGPL
  7. URL: http://python-irclib.sourceforge.net
  8. Source: %{name}-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-root
  10. Requires: python
  11. BuildPrereq: python
  12. BuildArch: noarch
  13. %description
  14. This library is intended to encapsulate the IRC protocol at a quite
  15. low level. It provides an event-driven IRC client framework. It has
  16. a fairly thorough support for the basic IRC protocol, CTCP and DCC
  17. connections.
  18. %prep
  19. %setup -q
  20. chmod 644 *
  21. %build
  22. python -c "import py_compile; py_compile.compile('irclib.py')"
  23. python -c "import py_compile; py_compile.compile('ircbot.py')"
  24. %install
  25. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
  26. %{__mkdir_p} $RPM_BUILD_ROOT/usr/lib/python1.5/site-packages
  27. %{__install} -m 644 irclib.py* $RPM_BUILD_ROOT/usr/lib/python1.5/site-packages
  28. %{__install} -m 644 ircbot.py* $RPM_BUILD_ROOT/usr/lib/python1.5/site-packages
  29. %clean
  30. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
  31. %files
  32. %defattr(-,root,root)
  33. %doc README ChangeLog COPYING irccat irccat2 servermap testbot.py dccsend dccreceive
  34. /usr/lib/python*/site-packages/*
  35. %changelog
  36. * Sat Sep 11 2008 Keltus <keltus@users.sourceforge.net> 0.4.8-1
  37. - upgraded to 0.4.8
  38. * Sat Aug 29 2008 Keltus <keltus@users.sourceforge.net> 0.4.7-1
  39. - upgraded to 0.4.7
  40. * Sat Dec 24 2005 Keltus <keltus@users.sourceforge.net> 0.4.6-1
  41. - upgraded to 0.4.6
  42. * Wed May 18 2005 Keltus <keltus@users.sourceforge.net> 0.4.5-1
  43. - upgraded to 0.4.5
  44. * Wed Feb 23 2005 Keltus <keltus@users.sourceforge.net> 0.4.4-1
  45. - upgraded to 0.4.4
  46. * Sun Jan 19 2005 Joel Rosdahl <joel@rosdahl.net> 0.4.3-1
  47. - upgraded to 0.4.3
  48. * Fri Jul 9 2004 Joel Rosdahl <joel@rosdahl.net> 0.4.2-1
  49. - upgraded to 0.4.2
  50. * Thu Oct 30 2003 Joel Rosdahl <joel@rosdahl.net> 0.4.1-1
  51. - upgraded to 0.4.1
  52. * Mon Sep 1 2002 Gary Benson <gary@inauspicious.org> 0.4.0-1
  53. - upgraded to 0.4.0
  54. * Wed Feb 20 2002 Gary Benson <gary@inauspicious.org> 0.3.4-1
  55. - upgraded to 0.3.4
  56. * Wed Feb 20 2002 Gary Benson <gary@inauspicious.org> 0.3.3-1
  57. - initial revision