]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
python-daemon: New package.
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 6 Aug 2012 10:40:32 +0000 (12:40 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 6 Aug 2012 10:40:32 +0000 (12:40 +0200)
python-daemon/python-daemon.nm [new file with mode: 0644]

diff --git a/python-daemon/python-daemon.nm b/python-daemon/python-daemon.nm
new file mode 100644 (file)
index 0000000..5223094
--- /dev/null
@@ -0,0 +1,44 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+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