|
|
@ -1,7 +1,7 @@
|
|
|
|
Summary: A high-level cross-protocol url-grabber
|
|
|
|
Summary: A high-level cross-protocol url-grabber
|
|
|
|
Name: python-urlgrabber
|
|
|
|
Name: python-urlgrabber
|
|
|
|
Version: 3.10.1
|
|
|
|
Version: 3.10.1
|
|
|
|
Release: 12%{?dist}
|
|
|
|
Release: 13%{?dist}
|
|
|
|
Source0: http://urlgrabber.baseurl.org/download/urlgrabber-%{version}.tar.gz
|
|
|
|
Source0: http://urlgrabber.baseurl.org/download/urlgrabber-%{version}.tar.gz
|
|
|
|
Patch1: urlgrabber-HEAD.patch
|
|
|
|
Patch1: urlgrabber-HEAD.patch
|
|
|
|
Patch2: BZ-1051554-speed-on-404-mirror.patch
|
|
|
|
Patch2: BZ-1051554-speed-on-404-mirror.patch
|
|
|
@ -11,14 +11,21 @@ Group: Development/Libraries
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: python2-devel, python-pycurl
|
|
|
|
BuildRequires: python2-devel, python-pycurl
|
|
|
|
Url: http://urlgrabber.baseurl.org/
|
|
|
|
Url: http://urlgrabber.baseurl.org/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global _description\
|
|
|
|
|
|
|
|
A high-level cross-protocol url-grabber for python supporting HTTP, FTP\
|
|
|
|
|
|
|
|
and file locations. Features include keepalive, byte ranges, throttling,\
|
|
|
|
|
|
|
|
authentication, proxies and more.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description %_description
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python2-urlgrabber
|
|
|
|
|
|
|
|
Summary: %summary
|
|
|
|
Provides: urlgrabber = %{version}-%{release}
|
|
|
|
Provides: urlgrabber = %{version}-%{release}
|
|
|
|
Provides: python2-urlgrabber = %{version}-%{release}
|
|
|
|
|
|
|
|
Requires: python-pycurl
|
|
|
|
Requires: python-pycurl
|
|
|
|
|
|
|
|
%{?python_provide:%python_provide python2-urlgrabber}
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description -n python2-urlgrabber %_description
|
|
|
|
A high-level cross-protocol url-grabber for python supporting HTTP, FTP
|
|
|
|
|
|
|
|
and file locations. Features include keepalive, byte ranges, throttling,
|
|
|
|
|
|
|
|
authentication, proxies and more.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n urlgrabber-%{version}
|
|
|
|
%setup -q -n urlgrabber-%{version}
|
|
|
@ -32,7 +39,7 @@ authentication, proxies and more.
|
|
|
|
%py2_install
|
|
|
|
%py2_install
|
|
|
|
rm -rf $RPM_BUILD_ROOT/%{_docdir}/urlgrabber-%{version}
|
|
|
|
rm -rf $RPM_BUILD_ROOT/%{_docdir}/urlgrabber-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files -n python2-urlgrabber
|
|
|
|
%license LICENSE
|
|
|
|
%license LICENSE
|
|
|
|
%doc ChangeLog README TODO
|
|
|
|
%doc ChangeLog README TODO
|
|
|
|
%{python2_sitelib}/urlgrabber*
|
|
|
|
%{python2_sitelib}/urlgrabber*
|
|
|
@ -40,6 +47,10 @@ rm -rf $RPM_BUILD_ROOT/%{_docdir}/urlgrabber-%{version}
|
|
|
|
%attr(0755,root,root) %{_libexecdir}/urlgrabber-ext-down
|
|
|
|
%attr(0755,root,root) %{_libexecdir}/urlgrabber-ext-down
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.10.1-13
|
|
|
|
|
|
|
|
- Python 2 binary package renamed to python2-urlgrabber
|
|
|
|
|
|
|
|
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.10.1-12
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.10.1-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|