diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..aa1b6f6 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +postgresql-iban (1.0.0~git15.g0e533af-1) bookworm; urgency=medium + + * Add Debian packaging + + -- jordi fita mas Mon, 19 Jun 2023 08:54:47 +0000 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..0dcb4c2 --- /dev/null +++ b/debian/control @@ -0,0 +1,22 @@ +Source: postgresql-iban +Section: database +Priority: optional +Maintainer: jordi fita mas +Build-Depends: + debhelper-compat (= 13), + postgresql-all (>= 217~), +Standards-Version: 4.6.0 +Vcs-Browser: https://github.com/yorickdewid/PostgreSQL-IBAN +Vcs-Git: https://github.com/yorickdewid/PostgreSQL-IBAN.git +Homepage: https://github.com/yorickdewid/PostgreSQL-IBAN +Rules-Requires-Root: no + +Package: postgresql-15-iban +Architecture: any +Depends: + ${shlibs:Depends}, + ${misc:Depends}, + ${postgresql:Depends} +description: IBAN type for PostgreSQL + PostgreSQL IBAN extension that can verify International Bank Account Numbers. + This ensures that only valid bank account numbers are stored. diff --git a/debian/control.in b/debian/control.in new file mode 100644 index 0000000..fc429d1 --- /dev/null +++ b/debian/control.in @@ -0,0 +1,22 @@ +Source: postgresql-iban +Section: database +Priority: optional +Maintainer: jordi fita mas +Build-Depends: + debhelper-compat (= 13), + postgresql-all (>= 217~), +Standards-Version: 4.6.0 +Vcs-Browser: https://github.com/yorickdewid/PostgreSQL-IBAN +Vcs-Git: https://github.com/yorickdewid/PostgreSQL-IBAN.git +Homepage: https://github.com/yorickdewid/PostgreSQL-IBAN +Rules-Requires-Root: no + +Package: postgresql-PGVERSION-iban +Architecture: any +Depends: + ${shlibs:Depends}, + ${misc:Depends}, + ${postgresql:Depends} +description: IBAN type for PostgreSQL + PostgreSQL IBAN extension that can verify International Bank Account Numbers. + This ensures that only valid bank account numbers are stored. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..cd9c588 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,29 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Source: https://github.com/yorickdewid/PostgreSQL-IBAN +Upstream-Name: PostgreSQL-IBAN +Upstream-Contact: yorick17@outlook.com + +Files: * +Copyright: 2016 Yorick de Wid +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 . +Comment: + On Debian systems, the complete text of the GNU General Public + License version 3 can be found in "/usr/share/common-licenses/GPL-3". + +Files: debian/* +Copyright: 2023 jordi fita mas +License: GPL-3+ + This debian package is distributed under the same license as the source + package. diff --git a/debian/pgversions b/debian/pgversions new file mode 100644 index 0000000..db6fbb0 --- /dev/null +++ b/debian/pgversions @@ -0,0 +1 @@ +13+ diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..70cdf51 --- /dev/null +++ b/debian/rules @@ -0,0 +1,6 @@ +#!/usr/bin/make -f + +include /usr/share/postgresql-common/pgxs_debian_control.mk + +%: + dh $@ --with pgxs_loop 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)