blob: 58e875594ca10e6480defc703e6cfff2c9178d3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
Name: python-urlgrabber
Summary: A high-level cross-protocol url-grabber
Version: 4.1.0
Release: 0
Group: Development/Libraries
License: LGPL-2.1+
BuildArch: noarch
URL: http://urlgrabber.baseurl.org/
Source0: urlgrabber-%{version}.tar.gz
Source1001: python-urlgrabber.manifest
BuildRequires: python3-pycurl
BuildRequires: python3-six
BuildRequires: python3-setuptools
Requires: python-pycurl
Requires: python-six
Provides: urlgrabber = %{version}-%{release}
%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
%setup -q -n urlgrabber-%{version}
%build
cp %{SOURCE1001} .
python setup.py build
%install
python setup.py install --root=%{buildroot} -O1 --prefix=%{_prefix}
%remove_docs
%files
%manifest %{name}.manifest
%{_bindir}/urlgrabber
%{python_sitelib}/urlgrabber*
|