Blame SPECS/python-urlgrabber.spec

de9fd5
%{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
de9fd5
de9fd5
Summary: A high-level cross-protocol url-grabber
de9fd5
Name: python-urlgrabber
de9fd5
Version: 3.10
3f3637
Release: 4%{?dist}
de9fd5
Source0: http://urlgrabber.baseurl.org/download/urlgrabber-%{version}.tar.gz
de9fd5
Patch1: BZ-853432-single-conn-reset.patch
3f3637
Patch2: BZ-1017491-respond-to-ctrl-c.patch
de9fd5
de9fd5
License: LGPLv2+
de9fd5
Group: Development/Libraries
de9fd5
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
de9fd5
BuildArch: noarch
de9fd5
BuildRequires: python-devel, python-pycurl
de9fd5
Url: http://urlgrabber.baseurl.org/
de9fd5
Provides: urlgrabber = %{version}-%{release}
de9fd5
Requires: python-pycurl
de9fd5
de9fd5
%description
de9fd5
A high-level cross-protocol url-grabber for python supporting HTTP, FTP 
de9fd5
and file locations.  Features include keepalive, byte ranges, throttling,
de9fd5
authentication, proxies and more.
de9fd5
de9fd5
%prep
de9fd5
%setup -q -n urlgrabber-%{version}
de9fd5
%patch1 -p1
3f3637
%patch2 -p1
de9fd5
de9fd5
%build
de9fd5
python setup.py build
de9fd5
de9fd5
%install
de9fd5
rm -rf $RPM_BUILD_ROOT
de9fd5
python setup.py install -O1 --root=$RPM_BUILD_ROOT
de9fd5
rm -rf $RPM_BUILD_ROOT/%{_docdir}/urlgrabber-%{version}
de9fd5
de9fd5
%clean
de9fd5
rm -rf $RPM_BUILD_ROOT
de9fd5
de9fd5
%files
de9fd5
%defattr(-,root,root,-)
de9fd5
%doc ChangeLog LICENSE README TODO
de9fd5
%{python_sitelib}/urlgrabber*
de9fd5
%{_bindir}/urlgrabber
de9fd5
%attr(0755,root,root) %{_libexecdir}/urlgrabber-ext-down
de9fd5
de9fd5
%changelog
3f3637
* Tue Feb 4 2014 Valentina Mukhamedzhanova <vmukhame@redhat.com> - 3.10-4
3f3637
- Treat curl errcodes 55 and 56 as Ctrl-C.
3f3637
- Resolves: bug#1017491
3f3637
3f3637
* Thu Jan 16 2014 Valentina Mukhamedzhanova <vmukhame@redhat.com> - 3.10-3
3f3637
- Tell curl to return immediately on ctrl-c.
3f3637
- Resolves: bug#1017491
3f3637
3f3637
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 3.10-2
3f3637
- Mass rebuild 2013-12-27
3f3637
de9fd5
* Mon Oct 21 2013 Zdenek Pavlas <zpavlas@redhat.com> - 3.10-1
de9fd5
- single-conn mode: Kill the cached idle connection. BZ 853432
de9fd5
de9fd5
* Thu Oct 17 2013 Zdenek Pavlas <zpavlas@redhat.com> - 3.10-0
de9fd5
- clamp timestamps from the future.  BZ 894630, 1013733
de9fd5
- Fix the condition to enter single-connection mode. BZ 853432
de9fd5
- Fix unit tests
de9fd5
de9fd5
* Tue Oct  8 2013 Zdenek Pavlas <zpavlas@redhat.com> - 3.9.1-33
de9fd5
- Fix the condition to enter single-connection mode (again)
de9fd5
de9fd5
* Thu Oct  3 2013 Zdenek Pavlas <zpavlas@redhat.com> - 3.9.1-32
de9fd5
- Update to latest HEAD.
de9fd5
- Fix traceback when entering single-connection mode with DEBUG off
de9fd5
- Fix traceback when limit==None and DEBUG is on
de9fd5
- Fix the condition to enter single-connection mode
de9fd5
de9fd5
* Thu Oct  3 2013 Zdenek Pavlas <zpavlas@redhat.com> - 3.9.1-31
de9fd5
- Update to latest HEAD.
de9fd5
- Switch to max_connections=1 after refused connect. BZ 853432
de9fd5
- Never display negative downloading speed. BZ 1001767
de9fd5
- clamp timestamps from the future.  BZ 894630, 1013733
de9fd5
de9fd5
* Thu Aug 29 2013 Zdenek Pavlas <zpavlas@redhat.com> - 3.9.1-30
de9fd5
- Update to latest HEAD.
de9fd5
- add ftp_disable_epsv option. BZ 849177
de9fd5
- Spelling fixes.
de9fd5
- docs: throttling is per-connection, suggest max_connections=1. BZ 998263
de9fd5
- More robust "Content-Length" parsing. BZ 1000841
de9fd5
de9fd5
* Tue Jun 18 2013 Zdenek Pavlas <zpavlas@redhat.com> - 3.9.1-29
de9fd5
- Update to latest HEAD.
de9fd5
- Fix parsing of FTP 213 responses
de9fd5
- Switch to max_connections=1 after timing out.  BZ 853432
de9fd5
- max_connections=0 should imply the default limit.
de9fd5
de9fd5
* Fri May 17 2013 Zdenek Pavlas <zpavlas@redhat.com> - 3.9.1-28
de9fd5
- Update to latest HEAD.
de9fd5
- Add the "minrate" option. BZ 964298
de9fd5
- Workaround progress "!!!" end for file:// repos.
de9fd5
- add URLGrabError.code to the external downloader API
de9fd5
- Disable GSSNEGOTIATE to work around a curl bug.  BZ 960163
de9fd5
de9fd5
* Wed Mar 27 2013 Zdenek Pavlas <zpavlas@redhat.com> - 3.9.1-26
de9fd5
- Update to latest HEAD.
de9fd5
- Handle HTTP 200 response to range requests correctly.  BZ 919076
de9fd5
- Reset curl_obj to clear CURLOPT_RANGE from previous requests.  BZ 923951
de9fd5
de9fd5
* Thu Mar  7 2013 Zdeněk Pavlas <zpavlas@redhat.com> - 3.9.1-25
de9fd5
- Update to latest HEAD.
de9fd5
- fix some test cases that were failing.  BZ 918658
de9fd5
- exit(1) or /bin/urlgrabber failures.  BZ 918613
de9fd5
- clamp timestamps from the future.  BZ 894630
de9fd5
- enable GSSNEGOTIATE if implemented correctly.
de9fd5
- make error messages more verbose.
de9fd5
de9fd5
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.1-24
de9fd5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
de9fd5
de9fd5
* Mon Jan  7 2013 Zdeněk Pavlas <zpavlas@redhat.com> - 3.9.1-23
de9fd5
- Update to latest HEAD.
de9fd5
- Handle checkfunc unicode exceptions. BZ 672117
de9fd5
de9fd5
* Thu Dec  6 2012 Zdeněk Pavlas <zpavlas@redhat.com> - 3.9.1-22
de9fd5
- Update to latest HEAD.
de9fd5
- Improve URLGRABBER_DEBUG, add max_connections.  BZ 853432
de9fd5
de9fd5
* Thu Nov  1 2012 Zdeněk Pavlas <zpavlas@redhat.com> - 3.9.1-21
de9fd5
- Update to latest HEAD.
de9fd5
- Get rid of "HTTP 200 OK" errors.  BZ 871835.
de9fd5
de9fd5
* Tue Sep  4 2012 Zdeněk Pavlas <zpavlas@redhat.com> - 3.9.1-20
de9fd5
- Update to latest HEAD.
de9fd5
- Fixed BZ 851178, 854075.
de9fd5
de9fd5
* Mon Aug 27 2012 Zdeněk Pavlas <zpavlas@redhat.com> - 3.9.1-19
de9fd5
- timedhosts: defer 1st update until a 1MB+ download.  BZ 851178
de9fd5
de9fd5
* Wed Aug 22 2012 Zdeněk Pavlas <zpavlas@redhat.com> - 3.9.1-18
de9fd5
- Update to latest HEAD, lots of enhancements.
de9fd5
de9fd5
* Wed Aug 10 2012 Zdeněk Pavlas <zpavlas@redhat.com> - 3.9.1-17
de9fd5
- Fix a bug in progress display code. BZ 847105.
de9fd5
de9fd5
* Wed Aug  8 2012 Zdeněk Pavlas <zpavlas@redhat.com> - 3.9.1-16
de9fd5
- Update to latest head.
de9fd5
- Improved multi-file progress, small bugfixes.
de9fd5
de9fd5
* Fri Jul 20 2012 Zdeněk Pavlas <zpavlas@redhat.com> - 3.9.1-15
de9fd5
- Update to latest head, misc bugfixes: BZ 832028, 831904, 831291.
de9fd5
- Disable Kerberos auth.  BZ 769254
de9fd5
- copy_local bugfix. BZ 837018
de9fd5
- send 'tries' counter to mirror failure callback
de9fd5
de9fd5
* Mon May 21 2012 Zdeněk Pavlas <zpavlas@redhat.com> - 3.9.1-14
de9fd5
- timedhosts: sanity check on dl_time
de9fd5
de9fd5
* Fri May 18 2012 Zdeněk Pavlas <zpavlas@redhat.com> - 3.9.1-13
de9fd5
- fix file:// profiling.  BZ 822632.
de9fd5
de9fd5
* Mon May 14 2012 Zdeněk Pavlas <zpavlas@redhat.com> - 3.9.1-12
de9fd5
- Update to latest HEAD
de9fd5
- Merge multi-downloader patches
de9fd5
de9fd5
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.1-11
de9fd5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
de9fd5
de9fd5
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.1-10
de9fd5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
de9fd5
de9fd5
* Fri Sep  3 2010 Seth Vidal <skvidal at fedoraproject.org> - 3.9.1-9
de9fd5
- new update to latest head with a number of patches collected from 
de9fd5
  older bug reports.
de9fd5
de9fd5
* Mon Aug 30 2010 Seth Vidal <skvidal at fedoraproject.org> - 3.9.1-8
de9fd5
- update to latest head patches
de9fd5
de9fd5
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 3.9.1-7
de9fd5
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
de9fd5
de9fd5
* Tue Apr 13 2010 James Antill <james@fedoraproject.org> 3.9.1-6
de9fd5
- Update to upstream HEAD.
de9fd5
- LOWSPEEDLIMIT and hdrs
de9fd5
de9fd5
* Fri Feb 19 2010 Seth Vidal <skvidal at fedoraproject.org> - 3.9.1-5
de9fd5
- add patch to allow reset_curl_obj() to close and reload the cached curl obj
de9fd5
de9fd5
* Thu Nov 12 2009 Seth Vidal <skvidal at fedoraproject.org> - 3.9.1-4
de9fd5
- reset header values when we redirect and make sure debug output will work
de9fd5
de9fd5
* Wed Nov 11 2009 Seth Vidal <skvidal at fedoraproject.org> - 3.9.1-3
de9fd5
- fixing a bunch of redirect and max size bugs
de9fd5
de9fd5
* Fri Sep 25 2009 Seth Vidal <skvidal at fedoraproject.org> - 3.9.1-2
de9fd5
- stupid patch
de9fd5
de9fd5
* Fri Sep 25 2009 Seth Vidal <skvidal at fedoraproject.org> - 3.9.1-1
de9fd5
- 3.9.1
de9fd5
de9fd5
* Tue Aug 18 2009 Seth Vidal <skvidal at fedoraproject.org> - 3.9.0-8
de9fd5
- ssl options, http POST string type fixes
de9fd5
de9fd5
* Mon Aug 10 2009 Seth Vidal <skvidal at fedoraproject.org> - 3.9.0-6
de9fd5
- reget fixes, tmpfiles no longer made for urlopen() calls.
de9fd5
de9fd5
* Wed Aug  5 2009 Seth Vidal <skvidal at fedoraproject.org> - 3.9.0-5
de9fd5
- apply complete patch to head fixes: timeouts, regets, improves exception raising
de9fd5
de9fd5
* Tue Aug  4 2009 Seth Vidal <skvidal at fedoraproject.org> - 3.9.0-4
de9fd5
- timeout patch for https://bugzilla.redhat.com/show_bug.cgi?id=515497
de9fd5
de9fd5
de9fd5
* Thu Jul 30 2009 Seth Vidal <skvidal at fedoraproject.org> - 3.9.0-1
de9fd5
- new version - curl-based
de9fd5
de9fd5
* Wed Apr  8 2009 James Antill <james@fedoraproject.org> 3.0.0-15
de9fd5
- Fix progress bars for serial consoles.
de9fd5
- Make C-c behaviour a little nicer.
de9fd5
de9fd5
* Fri Mar 13 2009 Seth Vidal <skvidal at fedoraproject.org>
de9fd5
- kill deprecation warning from importing md5 if anyone uses keepalive
de9fd5
de9fd5
* Mon Mar  9 2009 Seth Vidal <skvidal at fedoraproject.org>
de9fd5
- apply patch for urlgrabber to properly check file:// urls with the checkfunc
de9fd5
de9fd5
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.0-12
de9fd5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
de9fd5
de9fd5
* Fri Nov 28 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 3.0.0-11
de9fd5
- Rebuild for Python 2.6
de9fd5
de9fd5
* Wed Oct 14 2008 James Antill <james@fedoraproject.org> 3.0.0-10
de9fd5
- Have the progress bar have a small bar, for a virtual size doubling.
de9fd5
de9fd5
* Thu Jul 10 2008 James Antill <james@fedoraproject.org> 3.0.0-9
de9fd5
- Make urlgrabber usable if openssl is broken
de9fd5
- Relates: bug#454179
de9fd5
de9fd5
* Sun Jun 15 2008 James Antill <james@fedoraproject.org> 3.0.0-9
de9fd5
- Don't count partial downloads toward the total
de9fd5
de9fd5
* Sat May 18 2008 James Antill <james@fedoraproject.org> 3.0.0-8
de9fd5
- Tweak progress output so it's hopefully less confusing
de9fd5
- Add dynamic resizing ability to progress bar
de9fd5
- Resolves: bug#437197
de9fd5
de9fd5
* Fri May  2 2008 James Antill <james@fedoraproject.org> 3.0.0-7
de9fd5
- Fix reget's against servers that don't allow Range requests, also tweaks
de9fd5
- reget == check_timestamp, if anyone/thing uses that.
de9fd5
- Resolves: bug#435156
de9fd5
- Fix minor typo in progress for single instance.
de9fd5
de9fd5
* Mon Apr  7 2008 James Antill <james@fedoraproject.org> 3.0.0-6
de9fd5
- Fix the ftp byterange port problem:
de9fd5
- Resolves: bug#419241
de9fd5
- Fixup the progress UI:
de9fd5
-   add function for total progress
de9fd5
-   add total progress percentagee current download line
de9fd5
-   add rate to current download line
de9fd5
-   use dead space when finished downloading
de9fd5
-   don't confuse download rate on regets.
de9fd5
de9fd5
* Sat Mar 15 2008 Robert Scheck <robert@fedoraproject.org> 3.0.0-5
de9fd5
- Make sure, that *.egg-info is catched up during build
de9fd5
de9fd5
* Mon Dec  3 2007 Jeremy Katz <katzj@redhat.com> - 3.0.0-4
de9fd5
- Ensure fds are closed on exceptions (markmc, #404211)
de9fd5
de9fd5
* Wed Oct 10 2007 Jeremy Katz <katzj@redhat.com> - 3.0.0-3
de9fd5
- fix type checking of strings to also include unicode strings; fixes 
de9fd5
  regets from yum (#235618)
de9fd5
de9fd5
* Mon Aug 27 2007 Jeremy Katz <katzj@redhat.com> - 3.0.0-2
de9fd5
- fixes for package review (#226347)
de9fd5
de9fd5
* Thu May 31 2007 Jeremy Katz <katzj@redhat.com> - 3.0.0-1
de9fd5
- update to 3.0.0
de9fd5
de9fd5
* Wed Dec  6 2006 Jeremy Katz <katzj@redhat.com> - 2.9.9-5
de9fd5
- rebuild for python 2.5
de9fd5
de9fd5
* Wed Dec  6 2006 Jeremy Katz <katzj@redhat.com> - 2.9.9-4
de9fd5
- fix keepalive (#218268) 
de9fd5
de9fd5
* Sat Nov 11 2006 Florian La Roche <laroche@redhat.com>
de9fd5
- add version/release to "Provides: urlgrabber"
de9fd5
de9fd5
* Mon Jul 17 2006 James Bowes <jbowes@redhat.com> - 2.9.9-2
de9fd5
- Add support for byte ranges and keepalive over HTTPS
de9fd5
de9fd5
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.9.9-1.1
de9fd5
- rebuild
de9fd5
de9fd5
* Tue May 16 2006 Jeremy Katz <katzj@redhat.com> - 2.9.9-1
de9fd5
- update to 2.9.9
de9fd5
de9fd5
* Tue Mar 14 2006 Jeremy Katz <katzj@redhat.com> - 2.9.8-2
de9fd5
- catch read errors so they trigger the failure callback.  helps catch bad cds
de9fd5
de9fd5
* Wed Feb 22 2006 Jeremy Katz <katzj@redhat.com> - 2.9.8-1
de9fd5
- update to new version fixing progress bars in yum on regets
de9fd5
de9fd5
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
de9fd5
- rebuilt
de9fd5
de9fd5
* Wed Sep 21 2005 Jeremy Katz <katzj@redhat.com> - 2.9.6-4
de9fd5
- don't use --record and list files by hand so that we don't miss 
de9fd5
  directories (#158480)
de9fd5
de9fd5
* Wed Sep 14 2005 Jeremy Katz <katzj@redhat.com> - 2.9.6-3
de9fd5
- add directory to file list (#168261)
de9fd5
de9fd5
* Fri Jun 03 2005 Phil Knirsch <pknirsch@redhat.com> 2.9.6-2
de9fd5
- Fixed the reget method to actually work correctly (skip completely transfered
de9fd5
  files, etc)
de9fd5
de9fd5
* Tue Mar  8 2005 Jeremy Katz <katzj@redhat.com> - 2.9.6-1
de9fd5
- update to 2.9.6
de9fd5
de9fd5
* Mon Mar  7 2005 Jeremy Katz <katzj@redhat.com> - 2.9.5-1
de9fd5
- import into dist
de9fd5
- make the description less of a book
de9fd5
de9fd5
* Mon Mar  7 2005 Seth Vidal <skvidal@phy.duke.edu> 2.9.5-0
de9fd5
- 2.9.5
de9fd5
de9fd5
* Thu Feb 24 2005 Seth Vidal <skvidal@phy.duke.edu> 2.9.3-0
de9fd5
- first package for fc3
de9fd5
- named python-urlgrabber for naming guideline compliance
de9fd5