]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - python-urlgrabber/python-urlgrabber.nm
ppp: Re-add ifname patch
[people/ms/ipfire-3.x.git] / python-urlgrabber / python-urlgrabber.nm
CommitLineData
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
6name = python-urlgrabber
7version = 3.9.1
4fa42d3f 8release = 4
802ea3af 9arch = noarch
b1ec9178 10thisapp = urlgrabber-%{version}
4f9627bf 11
802ea3af
MT
12groups = System/Libraries
13url = http://urlgrabber.baseurl.org/
14license = LGPLv2+
15summary = A high-level cross-protocol url-grabber.
4f9627bf 16
802ea3af
MT
17description
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
21end
22
23source_dl =
24
25build
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
41end
42
43packages
44 package %{name}
45 requires
46 python-pycurl
47 end
48 end
49end