]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
python3-setproctitle: New package
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 2 Dec 2022 08:39:10 +0000 (08:39 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 2 Dec 2022 08:39:10 +0000 (08:39 +0000)
Required by pakfire.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
python3-setproctitle/python3-setproctitle.nm [new file with mode: 0644]

diff --git a/python3-setproctitle/python3-setproctitle.nm b/python3-setproctitle/python3-setproctitle.nm
new file mode 100644 (file)
index 0000000..924e6cd
--- /dev/null
@@ -0,0 +1,44 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = python3-setproctitle
+version    = 1.3.1
+release    = 1
+thisapp    = py-setproctitle-version-%{version}
+
+groups     = System/Libraries
+url        = https://github.com/dvarrazzo/py-setproctitle/
+license    = BSD
+summary    = A Python module to customize the process title
+
+description
+       The setproctitle module allows a process to change its title
+       (as displayed by system tools such as ps or top).
+end
+
+source_dl  = https://github.com/dvarrazzo/py-setproctitle/archive/refs/tags/version-%{version}.tar.gz#/
+
+build
+       requires
+               python3-devel
+               python3-setuptools
+       end
+
+       build
+               %{python3} setup.py build
+       end
+
+       install
+               %{python3} setup.py install --root=%{BUILDROOT}
+       end
+end
+
+packages
+       package %{name}
+
+       package %{name}-debuginfo
+               template DEBUGINFO
+       end
+end