From 6d48aa6630459b438f32a32ba5cc8d4e2cbfb545 Mon Sep 17 00:00:00 2001 From: jordi fita mas Date: Mon, 16 Jan 2023 13:22:16 +0100 Subject: [PATCH] Split into three debian packages: dev, binary, and sqitch migration --- debian/control | 31 +++++++++++++++++++++--- debian/golang-tandem-numerus-dev.install | 1 + debian/install | 1 - debian/numerus-sqitch.install | 5 ++++ debian/numerus.install | 2 ++ 5 files changed, 36 insertions(+), 4 deletions(-) create mode 100644 debian/golang-tandem-numerus-dev.install delete mode 100644 debian/install create mode 100644 debian/numerus-sqitch.install create mode 100644 debian/numerus.install diff --git a/debian/control b/debian/control index fbb11dd..48a7171 100644 --- a/debian/control +++ b/debian/control @@ -14,10 +14,35 @@ Vcs-Git: https://dev.tandem.ws/tandem/numerus.git Homepage: https://dev.tandem.ws/tandem/numerus Rules-Requires-Root: no -Package: numerus -Architecture: any +Package: golang-tandem-numerus-dev +Architecture: all +Pre-Depends: ${misc:Pre-Depends} Depends: - ${misc:Depends} + ${misc:Depends}, + golang-github-jackc-pgx-v4-dev Description: Simple invoicing and accounting web application A simple web application to keep invoice and accouting records, intended for contractors working in Spain. + . + This is the dev package. + +Package: numerus +Architecture: any +Depends: + ${shlibs:Depends}, + ${misc:Depends} +Built-Using: ${misc:Built-Using} +Description: Simple invoicing and accounting web application + A simple web application to keep invoice and accouting records, intended for + contractors working in Spain. + +Package: numerus-sqitch +Architecture: all +Depends: + ${misc:Depends}, + sqitch +Description: Simple invoicing and accounting web application + A simple web application to keep invoice and accouting records, intended for + contractors working in Spain. + . + This is the Sqitch migration package. diff --git a/debian/golang-tandem-numerus-dev.install b/debian/golang-tandem-numerus-dev.install new file mode 100644 index 0000000..1237e8d --- /dev/null +++ b/debian/golang-tandem-numerus-dev.install @@ -0,0 +1 @@ +usr/share/gocode/src usr/share/gocode diff --git a/debian/install b/debian/install deleted file mode 100644 index 39ce326..0000000 --- a/debian/install +++ /dev/null @@ -1 +0,0 @@ -web usr/share/numerus diff --git a/debian/numerus-sqitch.install b/debian/numerus-sqitch.install new file mode 100644 index 0000000..c7163dd --- /dev/null +++ b/debian/numerus-sqitch.install @@ -0,0 +1,5 @@ +deploy usr/share/numerus/sqitch +revert usr/share/numerus/sqitch +verify usr/share/numerus/sqitch +sqitch.conf usr/share/numerus/sqitch +sqitch.plan usr/share/numerus/sqitch diff --git a/debian/numerus.install b/debian/numerus.install new file mode 100644 index 0000000..80df8e6 --- /dev/null +++ b/debian/numerus.install @@ -0,0 +1,2 @@ +usr/bin/numerus usr/bin +web usr/share/numerus