python3-sdbus: New package
Commit Message
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
python3-sdbus/python3-sdbus.nm | 45 ++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
create mode 100644 python3-sdbus/python3-sdbus.nm
new file mode 100644
@@ -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