diff options
author | Lars Wirzenius <liw@liw.fi> | 2019-09-28 16:46:41 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2019-09-28 16:46:41 +0300 |
commit | a55becd77e9efd56b83dc36d3cdd5ff9bde703cd (patch) | |
tree | c97cecc17671b3d55e8c925251b5898ea22a5c43 | |
parent | d84bf447f95ff6c31a62d1e87bc16d1d3b61892c (diff) | |
download | rust-deb-sample-a55becd77e9efd56b83dc36d3cdd5ff9bde703cd.tar.gz |
Add: Debian packaging
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | debian/compat | 2 | ||||
-rw-r--r-- | debian/control | 11 | ||||
-rw-r--r-- | debian/copyright | 23 | ||||
-rwxr-xr-x | debian/rules | 4 | ||||
-rw-r--r-- | debian/source/format | 1 |
6 files changed, 47 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..dcf6a1c --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +hi (0.1-1) unstable; urgency=low + + * Initial packaging. This is not intended to be uploaded to Debian, so + no closing of an ITP bug. + + -- Lars Wirzenius <liw@liw.fi> 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..e5a8dc4 --- /dev/null +++ b/debian/control @@ -0,0 +1,11 @@ +Source: hi +Maintainer: Lars Wirzenius <liw@liw.fi> +Section: misc +Priority: optional +Standards-Version: 3.9.2 +Build-Depends: debhelper (>= 7.3.8), dh-cargo + +Package: hi +Architecture: all +Description: greet + Greet the user. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..ef42a1b --- /dev/null +++ b/debian/copyright @@ -0,0 +1,23 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: hi +Upstream-Contact: Lars Wirzenius <liw@liw.fi> +Source: http://git.liw.fi/ + +Files: * +Copyright: 2019, 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..96be711 --- /dev/null +++ b/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ --with=cargo --buildsystem=debcargo 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) |