]>
Commit | Line | Data |
---|---|---|
4f9627bf | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4f9627bf SS |
4 | ############################################################################### |
5 | ||
802ea3af MT |
6 | name = python-urlgrabber |
7 | version = 3.9.1 | |
4fa42d3f | 8 | release = 4 |
802ea3af | 9 | arch = noarch |
b1ec9178 | 10 | thisapp = urlgrabber-%{version} |
4f9627bf | 11 | |
802ea3af MT |
12 | groups = System/Libraries |
13 | url = http://urlgrabber.baseurl.org/ | |
14 | license = LGPLv2+ | |
15 | summary = A high-level cross-protocol url-grabber. | |
4f9627bf | 16 | |
802ea3af MT |
17 | description |
18 | A high-level cross-protocol url-grabber for python supporting HTTP, | |
19 | FTP and file locations. Features include keepalive, byte ranges, | |
4f9627bf | 20 | throttling, authentication, proxies and more. |
802ea3af MT |
21 | end |
22 | ||
23 | source_dl = | |
24 | ||
25 | build | |
26 | requires | |
27 | python-devel | |
28 | python-pycurl | |
29 | end | |
30 | ||
4fa42d3f MT |
31 | prepare_cmds |
32 | # Move everything from /usr/libexec to /usr/lib/urlgrabber. | |
33 | find . -type f | xargs sed -i "s@libexec@lib/urlgrabber@g" | |
34 | end | |
35 | ||
802ea3af MT |
36 | build = # Nothing to do |
37 | ||
38 | install | |
39 | python setup.py install --root=%{BUILDROOT} | |
40 | end | |
41 | end | |
42 | ||
43 | packages | |
44 | package %{name} | |
45 | requires | |
46 | python-pycurl | |
47 | end | |
48 | end | |
49 | end |