From: Michael Tremer Date: Mon, 6 Aug 2012 10:40:32 +0000 (+0200) Subject: python-daemon: New package. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe87184bfc8b0d4d3bd75e6dd1f5fe83da6364e4;p=ipfire-3.x.git python-daemon: New package. --- diff --git a/python-daemon/python-daemon.nm b/python-daemon/python-daemon.nm new file mode 100644 index 000000000..5223094ac --- /dev/null +++ b/python-daemon/python-daemon.nm @@ -0,0 +1,44 @@ +############################################################################### +# IPFire.org - An Open Source Firewall Solution # +# Copyright (C) - IPFire Development Team # +############################################################################### + +name = python-daemon +version = 1.6 +release = 1 +arch = noarch + +groups = System/Libraries +url = http://pypi.python.org/pypi/python-daemon +license = Python +summary = Library to implement a well-behaved Unix daemon process. + +description + This library implements the well-behaved daemon specification of PEP 3143, + "Standard daemon process library". +end + +source_dl = http://pypi.python.org/packages/source/p/python-daemon + +build + requires + python-devel + python-setuptools + end + + prepare_cmds + sed -i -e '/^#!\//, 1d' daemon/version/version_info.py + end + + build + python setup.py build + end + + install + python setup.py install --root=%{BUILDROOT} + end +end + +packages + package %{name} +end