]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - python-urlgrabber/python-urlgrabber.nm
grep: Update to version 2.18.
[people/ms/ipfire-3.x.git] / python-urlgrabber / python-urlgrabber.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = python-urlgrabber
7 version = 3.9.1
8 release = 4
9 arch = noarch
10 thisapp = urlgrabber-%{version}
11
12 groups = System/Libraries
13 url = http://urlgrabber.baseurl.org/
14 license = LGPLv2+
15 summary = A high-level cross-protocol url-grabber.
16
17 description
18 A high-level cross-protocol url-grabber for python supporting HTTP,
19 FTP and file locations. Features include keepalive, byte ranges,
20 throttling, authentication, proxies and more.
21 end
22
23 source_dl =
24
25 build
26 requires
27 python-devel
28 python-pycurl
29 end
30
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
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