]>
Commit | Line | Data |
---|---|---|
fe87184b MT |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = python-daemon | |
7 | version = 1.6 | |
8 | release = 1 | |
9 | arch = noarch | |
10 | ||
11 | groups = System/Libraries | |
12 | url = http://pypi.python.org/pypi/python-daemon | |
13 | license = Python | |
14 | summary = Library to implement a well-behaved Unix daemon process. | |
15 | ||
16 | description | |
17 | This library implements the well-behaved daemon specification of PEP 3143, | |
18 | "Standard daemon process library". | |
19 | end | |
20 | ||
21 | source_dl = http://pypi.python.org/packages/source/p/python-daemon | |
22 | ||
23 | build | |
24 | requires | |
25 | python-devel | |
26 | python-setuptools | |
27 | end | |
28 | ||
29 | prepare_cmds | |
30 | sed -i -e '/^#!\//, 1d' daemon/version/version_info.py | |
31 | end | |
32 | ||
33 | build | |
34 | python setup.py build | |
35 | end | |
36 | ||
37 | install | |
38 | python setup.py install --root=%{BUILDROOT} | |
39 | end | |
40 | end | |
41 | ||
42 | packages | |
43 | package %{name} | |
44 | end |