diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..40a64ef --- /dev/null +++ b/debian/control @@ -0,0 +1,36 @@ +Source: revpi-middleware +Section: python +Priority: optional +Maintainer: KUNBUS GmbH +Rules-Requires-Root: no +Homepage: https://revolutionpi.com/ +Vcs-Browser: https://gitlab.com/revolutionpi/revpi-middleware +Vcs-Git: https://gitlab.com/revolutionpi/revpi-middleware.git -b debian/bookworm +Build-Depends: + debhelper-compat (= 13), + dh-python, + python3-all, + python3-gi (>= 3.42.2), + python3-pydbus (>= 0.6.0), + python3-setuptools, +Standards-Version: 4.6.2 + +Package: revpi-middleware +Architecture: all +Pre-Depends: ${misc:Pre-Depends} +Depends: + ${python3:Depends}, + ${misc:Depends} +Description: Revolution Pi middleware with D-Bus interface + The Revolution Pi middleware provides a robust communication interface for + Revolution Pi industrial computers. It enables seamless integration between + hardware components and applications through a D-Bus interface. The middleware + serves as a bridge for data exchange, device configuration, and system + monitoring. + . + Key features: + * Hardware abstraction layer for Revolution Pi I/O modules + * Real-time data processing and event handling + * Simplified API for accessing Revolution Pi hardware features + * Extensive configuration options for industrial automation tasks + * Built-in monitoring and diagnostic capabilities diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..fa15ad7 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,27 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Source: https://gitlab.com/revolutionpi/opcua-revpi-server + +Files: * +Copyright: 2025 KUNBUS GmbH +License: GPL-2+ + +Files: debian/* +Copyright: 2025 KUNBUS GmbH +License: GPL-2+ + +License: GPL-2+ + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see + . + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..ecc3ee1 --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,7 @@ +[DEFAULT] +upstream-branch = main +upstream-tag = v%(version)s +debian-branch=debian/bookworm +debian-tag = debian/%(version)s +debian-tag-msg = %(pkg)s Debian release %(version)s +pristine-tar = True diff --git a/debian/revpi-middleware.install b/debian/revpi-middleware.install new file mode 100644 index 0000000..a9fe057 --- /dev/null +++ b/debian/revpi-middleware.install @@ -0,0 +1,4 @@ +data/dbus-policy/com.revolutionpi.middleware1.conf /usr/share/dbus-1/system.d +data/etc/default/revpi-middleware /etc/default/ +data/etc/revpi-middleware/revpi-middleware.conf /etc/revpi-middleware/ +data/systemd/before_253/revpi-middleware.service /lib/systemd/system/ diff --git a/debian/revpi-middleware.links b/debian/revpi-middleware.links new file mode 100644 index 0000000..84ceab9 --- /dev/null +++ b/debian/revpi-middleware.links @@ -0,0 +1,2 @@ +/usr/share/revpi-middleware/revpi-middleware /usr/sbin/revpi-middleware +/usr/share/revpi-middleware/revpicli /usr/bin/revpicli diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..cd768b7 --- /dev/null +++ b/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +export PYBUILD_NAME=revpi-middleware +export PYBUILD_INSTALL_ARGS=--install-lib=/usr/share/$(PYBUILD_NAME)/ --install-scripts=/usr/share/$(PYBUILD_NAME)/ + +%: + dh $@ --with python3 --buildsystem=pybuild diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt)