Blob Blame Raw
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?pyver: %define pyver %(%{__python} -c "import sys ; print sys.version[:3]")}
Name: python-irclib
Version: 0.4.8
Release: 16%{?dist}
Summary: A set of Python modules for IRC support
Group: Development/Libraries
License: LGPLv2+
URL: http://python-irclib.sourceforge.net
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
BuildRequires: python2 python2-devel
BuildArch: noarch
%global _description\
This library is intended to encapsulate the IRC protocol at a quite\
low level.  It provides an event-driven IRC client framework.  It has\
a fairly thorough support for the basic IRC protocol, CTCP and DCC\
connections.
%description %_description
%package -n python2-irclib
Summary: %summary
%{?python_provide:%python_provide python2-irclib}
%description -n python2-irclib %_description
%prep
%setup -q
%{__sed} -i 's/\r//g' *
%build
%{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --root $RPM_BUILD_ROOT
%files -n python2-irclib
%defattr(-,root,root,-)
%doc README ChangeLog COPYING irccat irccat2 servermap testbot.py dccsend dccreceive
%{python_sitelib}/*.py*
%{python_sitelib}/python_irclib-%{version}-py%{pyver}.egg-info
%changelog
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.8-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Jan 25 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.4.8-15
- Update Python 2 dependency declarations to new packaging standards
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.4.8-14
- Python 2 binary package renamed to python2-irclib
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.8-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.8-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.8-11
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.8-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.8-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.8-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Mon Oct 21 2013 Luke Macken <lmacken@redhat.com> - 0.4.8-7
- The egg-info changed to a single file (#993136)
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.8-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.8-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.8-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.8-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Thu Sep 30 2010 Conrad Meyer <konrad@tylerc.org> - 0.4.8-1
- Bump to latest version
- Changelog:
  2008-09-11  Keltus <keltus@users.sourceforge.net>
    * ircbot.py: Reverted a leftover testing fragment that broke ircbot.py
  2008-08-29  Keltus <keltus@users.sourceforge.net>
    * irclib.py: Reverted changes in irclib that don't really belong in the
      core lib
    * irclib.py: Add support for ssl
    * irclib.py: Add support for ipv6
    * python-irclib now requires python 2.3 and above (for ssl and ipv6)
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.4.6-11
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
* Mon Jan 11 2010 Luke Macken <lmacken@redhat.com> - 0.4.6-10
- Fix the source URL
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.6-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.6-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.4.6-7
- Rebuild for Python 2.6
* Wed Sep  3 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.4.6-6
- fix license tag
* Fri Feb  8 2008 Luke Macken <lmacken@redhat.com> 0.4.6-5
- Include our new egg-info
* Fri Feb  8 2008 Luke Macken <lmacken@redhat.com> 0.4.6-4
- Rebuild for gcc 4.3
* Sat Dec  9 2006 Luke Macken <lmacken@redhat.com> 0.4.6-3
- Rebuild for python 2.5
* Sun Sep  3 2006 Luke Macken <lmacken@redhat.com> 0.4.6-2
- Rebuild for FC6
* Tue Aug  8 2006 Luke Macken <lmacken@redhat.com> 0.4.6-1
- 0.4.6 (Bug #201753)
* Mon Feb 13 2006 Luke Macken <lmacken@redhat.com> 0.4.5-2
- Rebuild
* Wed Jun 22 2005 Luke Macken <lmacken@redhat.com> 0.4.5-1
- Packaged for Fedora Extras