|
Florian La Roche |
8aa336b |
%{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
797fce5 |
|
|
|
797fce5 |
Summary: A high-level cross-protocol url-grabber
|
|
|
797fce5 |
Name: python-urlgrabber
|
|
Seth Vidal |
21a8790 |
Version: 3.9.1
|
|
Seth Vidal |
5d5c6c6 |
Release: 4.2%{?dist}
|
|
|
dce0191 |
Source0: urlgrabber-%{version}.tar.gz
|
|
Seth Vidal |
69dd5be |
Patch1: urlgrabber-HEAD.patch
|
|
|
c3b123b |
|
|
|
86ba13c |
License: LGPLv2+
|
|
|
797fce5 |
Group: Development/Libraries
|
|
|
86ba13c |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
797fce5 |
BuildArch: noarch
|
|
Seth Vidal |
9e3b390 |
BuildRequires: python-devel, python-pycurl
|
|
Seth Vidal |
9e3b390 |
Url: http://urlgrabber.baseurl.org/
|
|
Florian La Roche |
4f2e9c9 |
Provides: urlgrabber = %{version}-%{release}
|
|
Seth Vidal |
9e3b390 |
Requires: python-pycurl
|
|
|
797fce5 |
|
|
|
797fce5 |
%description
|
|
|
edc9755 |
A high-level cross-protocol url-grabber for python supporting HTTP, FTP
|
|
|
edc9755 |
and file locations. Features include keepalive, byte ranges, throttling,
|
|
|
edc9755 |
authentication, proxies and more.
|
|
|
797fce5 |
|
|
|
797fce5 |
%prep
|
|
|
86ba13c |
%setup -q -n urlgrabber-%{version}
|
|
Seth Vidal |
69dd5be |
%patch1 -p1
|
|
Seth Vidal |
7f95ae7 |
|
|
|
797fce5 |
%build
|
|
|
797fce5 |
python setup.py build
|
|
|
797fce5 |
|
|
|
797fce5 |
%install
|
|
|
86ba13c |
rm -rf $RPM_BUILD_ROOT
|
|
|
30da103 |
python setup.py install -O1 --root=$RPM_BUILD_ROOT
|
|
|
30da103 |
rm -rf $RPM_BUILD_ROOT/%{_docdir}/urlgrabber-%{version}
|
|
|
797fce5 |
|
|
|
797fce5 |
%clean
|
|
|
797fce5 |
rm -rf $RPM_BUILD_ROOT
|
|
|
797fce5 |
|
|
|
30da103 |
%files
|
|
|
86ba13c |
%defattr(-,root,root,-)
|
|
|
30da103 |
%doc ChangeLog LICENSE README TODO
|
|
|
83cb0bb |
%{python_sitelib}/urlgrabber*
|
|
|
30da103 |
%{_bindir}/urlgrabber
|
|
|
797fce5 |
|
|
|
797fce5 |
%changelog
|
|
Seth Vidal |
5d5c6c6 |
* Tue May 11 2010 Seth Vidal <skvidal at fedoraproject.org> - 3.9.1-4.2
|
|
Seth Vidal |
5d5c6c6 |
- set a low speed limit before swapping mirrors
|
|
Seth Vidal |
5d5c6c6 |
- backport latest head patch from urlgrabber upstreamer
|
|
Seth Vidal |
5d5c6c6 |
|
|
Seth Vidal |
4a0992c |
* Thu Apr 29 2010 Seth Vidal <skvidal at fedoraproject.org> - 3.9.1-4.1
|
|
Seth Vidal |
4a0992c |
- make sure we actually return hdrs
|
|
Seth Vidal |
4a0992c |
|
|
Seth Vidal |
b777006 |
* Thu Nov 12 2009 Seth Vidal <skvidal at fedoraproject.org> - 3.9.1-4
|
|
Seth Vidal |
b777006 |
- reset header values when we redirect and make sure debug output will work
|
|
Seth Vidal |
b777006 |
|
|
Seth Vidal |
b777006 |
* Wed Nov 11 2009 Seth Vidal <skvidal at fedoraproject.org> - 3.9.1-3
|
|
Seth Vidal |
b777006 |
- fixing a bunch of redirect and max size bugs
|
|
Seth Vidal |
b777006 |
|
|
Seth Vidal |
69dd5be |
* Fri Sep 25 2009 Seth Vidal <skvidal at fedoraproject.org> - 3.9.1-2
|
|
Seth Vidal |
69dd5be |
- stupid patch
|
|
Seth Vidal |
69dd5be |
|
|
Seth Vidal |
21a8790 |
* Fri Sep 25 2009 Seth Vidal <skvidal at fedoraproject.org> - 3.9.1-1
|
|
Seth Vidal |
21a8790 |
- 3.9.1
|
|
Seth Vidal |
21a8790 |
|
|
Seth Vidal |
09166db |
* Tue Aug 18 2009 Seth Vidal <skvidal at fedoraproject.org> - 3.9.0-8
|
|
Seth Vidal |
09166db |
- ssl options, http POST string type fixes
|
|
Seth Vidal |
09166db |
|
|
Seth Vidal |
b78a177 |
* Mon Aug 10 2009 Seth Vidal <skvidal at fedoraproject.org> - 3.9.0-6
|
|
Seth Vidal |
b78a177 |
- reget fixes, tmpfiles no longer made for urlopen() calls.
|
|
Seth Vidal |
b78a177 |
|
|
Seth Vidal |
7eafa78 |
* Wed Aug 5 2009 Seth Vidal <skvidal at fedoraproject.org> - 3.9.0-5
|
|
Seth Vidal |
7eafa78 |
- apply complete patch to head fixes: timeouts, regets, improves exception raising
|
|
Seth Vidal |
7eafa78 |
|
|
Seth Vidal |
3463f9d |
* Tue Aug 4 2009 Seth Vidal <skvidal at fedoraproject.org> - 3.9.0-4
|
|
Seth Vidal |
3463f9d |
- timeout patch for https://bugzilla.redhat.com/show_bug.cgi?id=515497
|
|
Seth Vidal |
3463f9d |
|
|
Seth Vidal |
3463f9d |
|
|
Seth Vidal |
9e3b390 |
* Thu Jul 30 2009 Seth Vidal <skvidal at fedoraproject.org> - 3.9.0-1
|
|
Seth Vidal |
9e3b390 |
- new version - curl-based
|
|
|
5ab73f4 |
|
|
|
c3b123b |
* Wed Apr 8 2009 James Antill <james@fedoraproject.org> 3.0.0-15
|
|
|
c3b123b |
- Fix progress bars for serial consoles.
|
|
|
c3b123b |
- Make C-c behaviour a little nicer.
|
|
|
c3b123b |
|
|
Seth Vidal |
7f95ae7 |
* Fri Mar 13 2009 Seth Vidal <skvidal at fedoraproject.org>
|
|
Seth Vidal |
7f95ae7 |
- kill deprecation warning from importing md5 if anyone uses keepalive
|
|
Seth Vidal |
7f95ae7 |
|
|
Seth Vidal |
5589527 |
* Mon Mar 9 2009 Seth Vidal <skvidal at fedoraproject.org>
|
|
Seth Vidal |
5589527 |
- apply patch for urlgrabber to properly check file:// urls with the checkfunc
|
|
Seth Vidal |
5589527 |
|
|
|
d443f77 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.0-12
|
|
|
d443f77 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
d443f77 |
|
|
|
92daa3c |
* Fri Nov 28 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 3.0.0-11
|
|
|
92daa3c |
- Rebuild for Python 2.6
|
|
|
92daa3c |
|
|
|
2a216e5 |
* Wed Oct 14 2008 James Antill <james@fedoraproject.org> 3.0.0-10
|
|
|
2a216e5 |
- Have the progress bar have a small bar, for a virtual size doubling.
|
|
|
2a216e5 |
|
|
|
2ea7418 |
* Thu Jul 10 2008 James Antill <james@fedoraproject.org> 3.0.0-9
|
|
|
2ea7418 |
- Make urlgrabber usable if openssl is broken
|
|
|
2ea7418 |
- Relates: bug#454179
|
|
|
2ea7418 |
|
|
|
2ea7418 |
* Sun Jun 15 2008 James Antill <james@fedoraproject.org> 3.0.0-9
|
|
|
2ea7418 |
- Don't count partial downloads toward the total
|
|
|
2ea7418 |
|
|
|
314b291 |
* Sat May 18 2008 James Antill <james@fedoraproject.org> 3.0.0-8
|
|
|
314b291 |
- Tweak progress output so it's hopefully less confusing
|
|
|
314b291 |
- Add dynamic resizing ability to progress bar
|
|
|
314b291 |
- Resolves: bug#437197
|
|
|
314b291 |
|
|
|
7dae824 |
* Fri May 2 2008 James Antill <james@fedoraproject.org> 3.0.0-7
|
|
|
7dae824 |
- Fix reget's against servers that don't allow Range requests, also tweaks
|
|
|
7dae824 |
- reget == check_timestamp, if anyone/thing uses that.
|
|
|
7dae824 |
- Resolves: bug#435156
|
|
|
7dae824 |
- Fix minor typo in progress for single instance.
|
|
|
7dae824 |
|
|
|
850f513 |
* Mon Apr 7 2008 James Antill <james@fedoraproject.org> 3.0.0-6
|
|
|
850f513 |
- Fix the ftp byterange port problem:
|
|
|
850f513 |
- Resolves: bug#419241
|
|
|
850f513 |
- Fixup the progress UI:
|
|
|
850f513 |
- add function for total progress
|
|
|
850f513 |
- add total progress percentagee current download line
|
|
|
850f513 |
- add rate to current download line
|
|
|
850f513 |
- use dead space when finished downloading
|
|
|
850f513 |
- don't confuse download rate on regets.
|
|
|
850f513 |
|
|
|
83cb0bb |
* Sat Mar 15 2008 Robert Scheck <robert@fedoraproject.org> 3.0.0-5
|
|
|
83cb0bb |
- Make sure, that *.egg-info is catched up during build
|
|
|
83cb0bb |
|
|
|
aae8f4a |
* Mon Dec 3 2007 Jeremy Katz <katzj@redhat.com> - 3.0.0-4
|
|
|
aae8f4a |
- Ensure fds are closed on exceptions (markmc, #404211)
|
|
|
aae8f4a |
|
|
|
e237ddf |
* Wed Oct 10 2007 Jeremy Katz <katzj@redhat.com> - 3.0.0-3
|
|
|
e237ddf |
- fix type checking of strings to also include unicode strings; fixes
|
|
|
e237ddf |
regets from yum (#235618)
|
|
|
e237ddf |
|
|
|
86ba13c |
* Mon Aug 27 2007 Jeremy Katz <katzj@redhat.com> - 3.0.0-2
|
|
|
86ba13c |
- fixes for package review (#226347)
|
|
|
86ba13c |
|
|
|
c7b47be |
* Thu May 31 2007 Jeremy Katz <katzj@redhat.com> - 3.0.0-1
|
|
|
c7b47be |
- update to 3.0.0
|
|
|
c7b47be |
|
|
|
79aaf5e |
* Wed Dec 6 2006 Jeremy Katz <katzj@redhat.com> - 2.9.9-5
|
|
|
79aaf5e |
- rebuild for python 2.5
|
|
|
79aaf5e |
|
|
|
2c17ada |
* Wed Dec 6 2006 Jeremy Katz <katzj@redhat.com> - 2.9.9-4
|
|
|
2c17ada |
- fix keepalive (#218268)
|
|
|
2c17ada |
|
|
Florian La Roche |
4f2e9c9 |
* Sat Nov 11 2006 Florian La Roche <laroche@redhat.com>
|
|
Florian La Roche |
4f2e9c9 |
- add version/release to "Provides: urlgrabber"
|
|
Florian La Roche |
4f2e9c9 |
|
|
|
c354ed1 |
* Mon Jul 17 2006 James Bowes <jbowes@redhat.com> - 2.9.9-2
|
|
|
c354ed1 |
- Add support for byte ranges and keepalive over HTTPS
|
|
|
c354ed1 |
|
|
|
49adcbb |
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.9.9-1.1
|
|
|
49adcbb |
- rebuild
|
|
|
49adcbb |
|
|
|
f95b2cc |
* Tue May 16 2006 Jeremy Katz <katzj@redhat.com> - 2.9.9-1
|
|
|
f95b2cc |
- update to 2.9.9
|
|
|
f95b2cc |
|
|
|
e1012e4 |
* Tue Mar 14 2006 Jeremy Katz <katzj@redhat.com> - 2.9.8-2
|
|
|
e1012e4 |
- catch read errors so they trigger the failure callback. helps catch bad cds
|
|
|
e1012e4 |
|
|
|
48d1d4e |
* Wed Feb 22 2006 Jeremy Katz <katzj@redhat.com> - 2.9.8-1
|
|
|
48d1d4e |
- update to new version fixing progress bars in yum on regets
|
|
|
48d1d4e |
|
|
|
9f78dd1 |
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
9f78dd1 |
- rebuilt
|
|
|
9f78dd1 |
|
|
|
30da103 |
* Wed Sep 21 2005 Jeremy Katz <katzj@redhat.com> - 2.9.6-4
|
|
|
30da103 |
- don't use --record and list files by hand so that we don't miss
|
|
|
30da103 |
directories (#158480)
|
|
|
30da103 |
|
|
|
dce0191 |
* Wed Sep 14 2005 Jeremy Katz <katzj@redhat.com> - 2.9.6-3
|
|
|
dce0191 |
- add directory to file list (#168261)
|
|
|
dce0191 |
|
|
|
bddafa8 |
* Fri Jun 03 2005 Phil Knirsch <pknirsch@redhat.com> 2.9.6-2
|
|
|
bddafa8 |
- Fixed the reget method to actually work correctly (skip completely transfered
|
|
|
bddafa8 |
files, etc)
|
|
|
bddafa8 |
|
|
|
00f7094 |
* Tue Mar 8 2005 Jeremy Katz <katzj@redhat.com> - 2.9.6-1
|
|
|
00f7094 |
- update to 2.9.6
|
|
|
00f7094 |
|
|
|
edc9755 |
* Mon Mar 7 2005 Jeremy Katz <katzj@redhat.com> - 2.9.5-1
|
|
|
edc9755 |
- import into dist
|
|
|
edc9755 |
- make the description less of a book
|
|
|
edc9755 |
|
|
|
797fce5 |
* Mon Mar 7 2005 Seth Vidal <skvidal@phy.duke.edu> 2.9.5-0
|
|
|
797fce5 |
- 2.9.5
|
|
|
797fce5 |
|
|
|
797fce5 |
* Thu Feb 24 2005 Seth Vidal <skvidal@phy.duke.edu> 2.9.3-0
|
|
|
797fce5 |
- first package for fc3
|
|
|
797fce5 |
- named python-urlgrabber for naming guideline compliance
|
|
|
797fce5 |
|