Initial Debian packaging

This commit is contained in:
Arnaud Ferraris
2020-12-10 15:02:44 +01:00
parent 87ade8dd27
commit 7c04c1998f
8 changed files with 98 additions and 0 deletions

5
debian/changelog vendored Normal file
View File

@@ -0,0 +1,5 @@
eg25-manager (0.0.1-1) unstable; urgency=medium
* Initial Debian packaging
-- Arnaud Ferraris <arnaud.ferraris@gmail.com> Thu, 10 Dec 2020 15:19:15 +0100

25
debian/control vendored Normal file
View File

@@ -0,0 +1,25 @@
Source: eg25-manager
Section: libs
Priority: optional
Maintainer: Arnaud Ferraris <arnaud.ferraris@gmail.com>
Standards-Version: 4.5.1
Rules-Requires-Root: no
Build-Depends: debhelper-compat (= 13),
libglib2.0-dev,
libgpiod-dev,
libmm-glib-dev,
meson,
Homepage: https://gitlab.com/mobian1/devices/eg25-manager
Vcs-Git: https://gitlab.com/mobian1/devices/eg25-manager.git
Vcs-Browser: https://gitlab.com/mobian1/devices/eg25-manager
Package: eg25-manager
Architecture: any
Depends: ${misc:Depends},
${shlibs:Depends},
modemmanager,
Conflicts: pinephone-modem-scripts,
Replaces: pinephone-modem-scripts,
Description: Manager daemon for the Quectel EG25 mobile broadband modem
A set of scripts for the PinePhone modem, allowing to power on/off the modem,
and configure its audio interface to work properly with the A64 audio codec.

35
debian/copyright vendored Normal file
View File

@@ -0,0 +1,35 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: eg25-manager
Upstream-Contact: Arnaud Ferraris <arnaud.ferraris@gmail.com>
Source: https://gitlab.com/mobian1/devices/eg25-manager
Files: *
Copyright: 2020 Arnaud Ferraris <arnaud.ferraris@gmail.com>
License: GPL-3+
Files: src/mm-iface.c
Copyright: 2019 Purism SPC
2020 Arnaud Ferraris <arnaud.ferraris@gmail.com>
License: GPL-3+
Files: src/suspend.c
Copyright: 2012 Red Hat, Inc
2020 Arnaud Ferraris <arnaud.ferraris@gmail.com>
License: GPL-3+
License: GPL-3+
This program 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 3 of the License, or
(at your option) any later version.
.
This program 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 full text of the GNU General Public License
version 3 can be found in the file `/usr/share/common-licenses/GPL-3'.

10
debian/eg25-manager.service vendored Normal file
View File

@@ -0,0 +1,10 @@
[Unit]
Description=Quectel EG25 modem
Before=ModemManager.service
[Service]
Type=simple
ExecStart=/usr/bin/eg25manager
[Install]
WantedBy=multi-user.target

8
debian/gbp.conf vendored Normal file
View File

@@ -0,0 +1,8 @@
[DEFAULT]
debian-branch = debian/latest
upstream-branch = upstream/latest
upstream-tag = %(version)s
pristine-tar = True
[tag]
sign-tags = True

9
debian/rules vendored Executable file
View File

@@ -0,0 +1,9 @@
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@ --builddirectory=_build
override_dh_installsystemd:
dh_installsystemd --name=eg25-manager --no-restart-on-upgrade --no-restart-after-upgrade

1
debian/source/format vendored Normal file
View File

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

5
debian/watch vendored Normal file
View File

@@ -0,0 +1,5 @@
version=4
opts=filenamemangle=s/.*\/archive\/(\d\S+)\/eg25-manager.*\.tar\.gz/eg25-manager-$1\.tar\.gz/g \
https://gitlab.com/mobian1/eg25-manager/tags?sort=updated_desc .*/archive/(\d\S+)/.*\.tar\.gz.*