diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-04-17 14:11:52 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-04-17 15:53:21 +0300 |
commit | 09222b55e69b409b3408c325b47b7936ca0ac08d (patch) | |
tree | 18b13ecda055a8b05d3c9895b667dded2263eaf5 /debian | |
parent | f236aef565c1f9c99dcf24979830b232ab6749bc (diff) | |
download | clab-09222b55e69b409b3408c325b47b7936ca0ac08d.tar.gz |
build: Debian packaging
Diffstat (limited to 'debian')
-rw-r--r-- | debian/cargo-checksum.json | 0 | ||||
-rw-r--r-- | debian/changelog | 5 | ||||
-rw-r--r-- | debian/compat | 2 | ||||
-rw-r--r-- | debian/control | 29 | ||||
-rw-r--r-- | debian/copyright | 23 | ||||
-rwxr-xr-x | debian/rules | 14 | ||||
-rw-r--r-- | debian/source/format | 1 |
7 files changed, 74 insertions, 0 deletions
diff --git a/debian/cargo-checksum.json b/debian/cargo-checksum.json new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/debian/cargo-checksum.json diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..f5f82b9 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +clab (0.5-1) unstable; urgency=medium + + * Rewrite in Rust. + + -- Lars Wirzenius <liw@liw.fi> Sat, 17 Apr 2021 14:07:42 +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..3895db0 --- /dev/null +++ b/debian/control @@ -0,0 +1,29 @@ +Source: clab +Maintainer: Lars Wirzenius <liw@liw.fi> +Section: misc +Priority: optional +Standards-Version: 4.2.0 +Build-Depends: + debhelper (>= 10~), + build-essential, + dh-cargo, + git, + moreutils, + python3, + python3-yaml, + subplot, + texlive-fonts-recommended, + texlive-latex-base, + texlive-latex-recommended +Homepage: https://clab.liw.fi + +Package: clab +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Built-Using: ${cargo:Built-Using} +Description: command line address book application + A very basic address book application, with a command line interface + only. + . + Address book data is stored in YAML files, which can easily be + kept in a version control system by the user. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..9028a7e --- /dev/null +++ b/debian/copyright @@ -0,0 +1,23 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: clab +Upstream-Contact: Lars Wirzenius <liw@liw.fi> +Source: http://git.liw.fi/clab + +Files: * +Copyright: 2021, 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 <http://www.gnu.org/licenses/>. + . + 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..3bdd3ab --- /dev/null +++ b/debian/rules @@ -0,0 +1,14 @@ +#!/usr/bin/make -f + +%: + dh $@ --buildsystem cargo + +override_dh_auto_build: + true + +override_dh_auto_install: + cargo install --path=. --root=debian/clab + find debian/clab -name '.crates*' -delete + +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) |