]>
Commit | Line | Data |
---|---|---|
ff0c16c0 PZ |
1 | Summary: A high-level cross-protocol url-grabber |
2 | Name: python-urlgrabber | |
3 | Version: 2.9.6 | |
4 | Release: 1 | |
5 | License: LGPL | |
6 | Group: Development/Libraries | |
7 | Source0: urlgrabber-%{version}.tar.gz | |
8 | # Source0-md5: e4afa725cf63b2684019f92cd8255671 | |
9 | URL: http://linux.duke.edu/projects/urlgrabber/ | |
10 | BuildArch: noarch | |
11 | Provides: urlgrabber | |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
13 | ||
14 | %description | |
15 | A high-level cross-protocol url-grabber for python supporting HTTP, FTP | |
16 | and file locations. Features include keepalive, byte ranges, throttling, | |
17 | authentication, proxies and more. | |
18 | ||
19 | %prep | |
20 | %setup -n urlgrabber-%{version} | |
21 | ||
22 | %build | |
23 | python setup.py build | |
24 | ||
25 | %install | |
26 | python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES | |
27 | ||
28 | %clean | |
29 | rm -rf $RPM_BUILD_ROOT | |
30 | ||
31 | %files -f INSTALLED_FILES | |
32 | %defattr(644,root,root,755) |