python3-sdbus: New package

Message ID 20230227163147.47483-1-stefan.schantl@ipfire.org
State Accepted
Commit fe9a39f784a19a513a43ba0a026c70b311aece9d
Headers
Series python3-sdbus: New package |

Commit Message

Stefan Schantl Feb. 27, 2023, 4:31 p.m. UTC
  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
  

Patch

diff --git a/python3-sdbus/python3-sdbus.nm b/python3-sdbus/python3-sdbus.nm
new file mode 100644
index 000000000..5411a16ea
--- /dev/null
+++ b/python3-sdbus/python3-sdbus.nm
@@ -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