]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
python3-dbus: Update to 1.3.2
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 16 Dec 2022 15:04:40 +0000 (15:04 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 16 Dec 2022 15:04:40 +0000 (15:04 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
python-dbus/python-dbus.nm [deleted file]
python3-dbus/python3-dbus.nm [new file with mode: 0644]

diff --git a/python-dbus/python-dbus.nm b/python-dbus/python-dbus.nm
deleted file mode 100644 (file)
index ba57719..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-###############################################################################
-# IPFire.org    - An Open Source Firewall Solution                            #
-# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
-###############################################################################
-
-name       = python-dbus
-version    = 1.1.1
-release    = 2
-
-groups     = System/Libraries
-url        = http://www.freedesktop.org/software/dbus/
-license    = MIT
-summary    = Dbus Python Bindings.
-
-description
-       D-Bus python bindings for use with python programs.
-end
-
-thisapp = dbus-python-%{version}
-
-source_dl  = http://dbus.freedesktop.org/releases/dbus-python/
-
-build
-       requires
-               dbus-devel
-               dbus-glib-devel
-               pkg-config
-               python-devel
-               python3-devel >= 3.4
-       end
-
-       configure_options += \
-               --mandir=/usr/share/man
-
-       DIR_APP3 = %{DIR_APP}-python3
-
-       prepare_cmds
-               cp -av %{DIR_APP} %{DIR_APP3}
-
-               pushd %{DIR_APP3}
-               find -name '*.py' | xargs sed -i '1s|^#!python|#!%{python3}|'
-               popd
-
-               find -name '*.py' | xargs sed -i '1s|^#!python|#!%{python}|'
-       end
-
-       build
-               pushd %{DIR_APP3}
-               export PYTHON=%{python3}
-               ./configure  %{configure_options}
-               make %{PARALLELISMFLAGS}
-               popd
-
-               export PYTHON=%{python}
-               ./configure  %{configure_options}
-               make %{PARALELLISMFLAGS}
-       end
-
-       install
-               pushd %{DIR_APP3}
-               export PYTHON=%{python3}
-               make install DESTDIR=%{BUILDROOT}
-               popd
-
-               export PYTHON=%{python}
-               make install DESTDIR=%{BUILDROOT}
-       end
-end
-
-packages
-       package %{name}
-
-       package python3-dbus
-               template PYTHON3
-       end
-
-       package %{name}-devel
-               template DEVEL
-       end
-
-       package %{name}-debuginfo
-               template DEBUGINFO
-       end
-end
diff --git a/python3-dbus/python3-dbus.nm b/python3-dbus/python3-dbus.nm
new file mode 100644 (file)
index 0000000..5823738
--- /dev/null
@@ -0,0 +1,40 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = python3-dbus
+version    = 1.3.2
+release    = 1
+thisapp    = dbus-python-%{version}
+
+groups     = System/Libraries
+url        = https://www.freedesktop.org/software/dbus/
+license    = MIT
+summary    = DBUS Python Bindings
+
+description
+       D-Bus python bindings for use with python programs.
+end
+
+source_dl  = https://dbus.freedesktop.org/releases/dbus-python/
+
+build
+       requires
+               dbus-devel
+               dbus-glib-devel
+               python3-devel >= 3.4
+       end
+end
+
+packages
+       package %{name}
+
+       package %{name}-devel
+               template DEVEL
+       end
+
+       package %{name}-debuginfo
+               template DEBUGINFO
+       end
+end