From 63d21599d7c154bea564b9c21a5f5d3d38a1cc64 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 29 Nov 2020 15:45:13 +0200 Subject: build: add initial Debian packaging --- debian/cargo-checksum.json | 0 debian/changelog | 6 ++++++ debian/compat | 2 ++ debian/control | 22 ++++++++++++++++++++++ debian/copyright | 23 +++++++++++++++++++++++ debian/rules | 15 +++++++++++++++ debian/source/format | 1 + 7 files changed, 69 insertions(+) create mode 100644 debian/cargo-checksum.json create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100755 debian/rules create mode 100644 debian/source/format diff --git a/debian/cargo-checksum.json b/debian/cargo-checksum.json new file mode 100644 index 0000000..e69de29 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..3690897 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +summain (0.2.0-1) unstable; urgency=low + + * Initial packaging. This is not intended to be uploaded to Debian, so + no closing of an ITP bug. + + -- Lars Wirzenius Sat, 28 Sep 2019 16:45:49 +0300 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..021ea30 --- /dev/null +++ b/debian/compat @@ -0,0 +1,2 @@ +10 + diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..0815b5e --- /dev/null +++ b/debian/control @@ -0,0 +1,22 @@ +Source: summain +Maintainer: Lars Wirzenius +Section: admin +Priority: optional +Standards-Version: 4.2.0 +Build-Depends: + debhelper (>= 10~), + build-essential, + dh-cargo, + python3, + subplot, + texlive-fonts-recommended, + texlive-latex-base, + texlive-latex-recommended +Homepage: https://obnam.org + +Package: summain +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Built-Using: ${cargo:Built-Using} +Description: produce deterministic file manifest + Summain produces a manifest of a set of files. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..d048262 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,23 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: summain +Upstream-Contact: Lars Wirzenius +Source: http://git.liw.fi/summain-rs + +Files: * +Copyright: 2020, Lars Wirzenius +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 . + . + On a Debian system, you can find a copy of GPL version 3 at + /usr/share/common-licenses/GPL-3 . diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..ceff6bc --- /dev/null +++ b/debian/rules @@ -0,0 +1,15 @@ +#!/usr/bin/make -f + +%: + dh $@ --buildsystem cargo + +override_dh_auto_build: + true + +override_dh_auto_install: + cargo install --path=. --root=debian/summain + rm -f debian/summain/.crates.toml + rm -f debian/summain/.crates2.json + +override_dh_auto_test: + ./check 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) -- cgit v1.2.1