packaging(deb): Start packaging branch

Signed-off-by: Sven Sager <akira@narux.de>
This commit is contained in:
2023-09-01 07:24:58 +02:00
parent b51c2b617a
commit c94b712faf
8 changed files with 77 additions and 0 deletions

31
debian/control vendored Normal file
View File

@@ -0,0 +1,31 @@
Source: revpipyload
Section: python
Priority: optional
Maintainer: Sven Sager <akira@narux.de>
Rules-Requires-Root: no
Homepage: https://revpimodio.org/revpipyplc/
Vcs-Browser: https://github.com/naruxde/revpimodio2
Vcs-Git: https://github.com/naruxde/revpimodio2.git
Build-Depends:
debhelper-compat (= 12),
dh-python,
python3-all,
python3-revpimodio2 (>= 2.6.0),
python3-setuptools
Standards-Version: 4.5.1
Package: revpipyload
Architecture: all
Pre-Depends: ${misc:Pre-Depends}
Depends:
${python3:Depends},
${misc:Depends},
lsb-base,
python3-paho-mqtt,
python3-revpimodio2 (>= 2.6.0)
Description: PLC Loader for Python projects on the RevolutionPi
This program start a given Python PLC program on system boot. It monitors the
program and reistartes it if an error occures. On a crash the complete
/dev/piControl0 can be set to 0x00. It also provides a XML-RPX server. Software
can be transferred to the RevPi with this server. A tool can monitor the
process image on runtime.

29
debian/copyright vendored Normal file
View File

@@ -0,0 +1,29 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Source: https://github.com/naruxde/revpipyload
Upstream-Name: revpipyload
Upstream-Contact: Sven Sager <akira@narux.de>
Files: *
Copyright: 2017-2023 Sven Sager
License: GPL-2+
Files: debian/*
Copyright: 2021-2023 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 <https://www.gnu.org/licenses/>
.
On Debian systems, the complete text of the GNU General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".

4
debian/gbp.conf vendored Normal file
View File

@@ -0,0 +1,4 @@
[DEFAULT]
upstream-branch = main
upstream-tag = %(version)s
debian-branch=pkg/debian

1
debian/revpipyload.dirs vendored Normal file
View File

@@ -0,0 +1 @@
/var/lib/revpipyload

2
debian/revpipyload.install vendored Normal file
View File

@@ -0,0 +1,2 @@
data/etc /
data/lib/systemd/revpipyload.service /lib/systemd/system/

2
debian/revpipyload.links vendored Normal file
View File

@@ -0,0 +1,2 @@
/usr/share/revpipyload/revpipyloadd /usr/bin/revpipyload
/usr/share/revpipyload/revpipyload_secure_installation /usr/bin/revpipyload_secure_installation

7
debian/rules vendored Executable file
View File

@@ -0,0 +1,7 @@
#!/usr/bin/make -f
export PYBUILD_NAME=revpipyload
export PYBUILD_INSTALL_ARGS=--install-lib=/usr/share/revpipyload/ --install-scripts=/usr/share/revpipyload/
%:
dh $@ --with python3 --buildsystem=pybuild

1
debian/source/format vendored Normal file
View File

@@ -0,0 +1 @@
3.0 (quilt)