]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - python-urlgrabber/python-urlgrabber.nm
Move all packages to root.
[people/ms/ipfire-3.x.git] / python-urlgrabber / python-urlgrabber.nm
diff --git a/python-urlgrabber/python-urlgrabber.nm b/python-urlgrabber/python-urlgrabber.nm
new file mode 100644 (file)
index 0000000..4c52dee
--- /dev/null
@@ -0,0 +1,44 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = python-urlgrabber
+version    = 3.9.1
+release    = 2
+arch       = noarch
+thisap     = urlgrabber-%{version}
+
+groups     = System/Libraries
+url        = http://urlgrabber.baseurl.org/
+license    = LGPLv2+
+summary    = A high-level cross-protocol url-grabber.
+
+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.
+end
+
+source_dl  =
+
+build
+       requires
+               python-devel
+               python-pycurl
+       end
+
+       build = # Nothing to do
+
+       install
+               python setup.py install --root=%{BUILDROOT}
+       end
+end
+
+packages
+       package %{name}
+               requires
+                       python-pycurl
+               end
+       end
+end