]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/commitdiff
python3-sdbus: New package
authorStefan Schantl <stefan.schantl@ipfire.org>
Mon, 27 Feb 2023 16:31:47 +0000 (17:31 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 28 Feb 2023 14:22:01 +0000 (14:22 +0000)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
python3-sdbus/python3-sdbus.nm [new file with mode: 0644]

diff --git a/python3-sdbus/python3-sdbus.nm b/python3-sdbus/python3-sdbus.nm
new file mode 100644 (file)
index 0000000..5411a16
--- /dev/null
@@ -0,0 +1,45 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = python3-sdbus
+version    = 0.11.0
+release    = 1
+thisapp    = python-sdbus-%{version}
+
+groups     = System/Libraries
+url        = https://github.com/python-sdbus/python-sdbus
+license    = LGPL2.1 and GPL2
+summary    = Modern Python bindings for D-Bus
+
+description
+       A modern python library for D-Bus, based on the fast sd-bus
+       from systemd.
+end
+
+source_dl  = https://github.com/python-sdbus/python-sdbus/archive/refs/tags/%{version}.tar.gz#/
+
+build
+       requires
+               python3-devel
+               python3-setuptools
+               systemd-devel
+       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