From d6bf88481458afac047331353c1ed79fb6c19d19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Tue, 17 Dec 2019 16:08:52 +0100 Subject: [PATCH] proxmox-sys: initial packaging MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fabian Grünbichler --- proxmox-sys/debian/cargo-checksum.json | 1 + proxmox-sys/debian/changelog | 5 ++++ proxmox-sys/debian/compat | 1 + proxmox-sys/debian/control | 33 ++++++++++++++++++++++++++ proxmox-sys/debian/copyright | 16 +++++++++++++ proxmox-sys/debian/rules | 7 ++++++ 6 files changed, 63 insertions(+) create mode 100644 proxmox-sys/debian/cargo-checksum.json create mode 100644 proxmox-sys/debian/changelog create mode 100644 proxmox-sys/debian/compat create mode 100644 proxmox-sys/debian/control create mode 100644 proxmox-sys/debian/copyright create mode 100755 proxmox-sys/debian/rules diff --git a/proxmox-sys/debian/cargo-checksum.json b/proxmox-sys/debian/cargo-checksum.json new file mode 100644 index 00000000..e6828ac2 --- /dev/null +++ b/proxmox-sys/debian/cargo-checksum.json @@ -0,0 +1 @@ +{"package":"proxmox-sys","files":{}} diff --git a/proxmox-sys/debian/changelog b/proxmox-sys/debian/changelog new file mode 100644 index 00000000..d21defcc --- /dev/null +++ b/proxmox-sys/debian/changelog @@ -0,0 +1,5 @@ +rust-proxmox-sys (0.1.0) proxmox-rust; urgency=medium + + * Initial packaging. + + -- Proxmox Support Team Tue, 17 Dec 2019 14:47:44 +0100 diff --git a/proxmox-sys/debian/compat b/proxmox-sys/debian/compat new file mode 100644 index 00000000..48082f72 --- /dev/null +++ b/proxmox-sys/debian/compat @@ -0,0 +1 @@ +12 diff --git a/proxmox-sys/debian/control b/proxmox-sys/debian/control new file mode 100644 index 00000000..fedc37cf --- /dev/null +++ b/proxmox-sys/debian/control @@ -0,0 +1,33 @@ +Source: rust-proxmox-sys +Section: rust +Priority: optional +Build-Depends: debhelper (>= 12), + dh-cargo (>= 21~), + cargo:native , + rustc:native , + libstd-rust-dev , + librust-failure-0.1+default-dev , + librust-lazy-static-1.4+default-dev , + librust-libc-0.2+default-dev , + librust-proxmox-tools-0.1.0+default-dev , +Maintainer: Proxmox Support Team +Standards-Version: 4.4.1 + +Package: librust-proxmox-sys-dev +Architecture: any +Depends: + ${misc:Depends}, + librust-failure-0.1+default-dev, + librust-lazy-static-1.4+default-dev, + librust-libc-0.2+default-dev, + librust-proxmox-tools-0.1.0+default-dev, +Provides: + librust-proxmox-sys+default-dev (= ${binary:Version}), + librust-proxmox-sys-0-dev (= ${binary:Version}), + librust-proxmox-sys-0+default-dev (= ${binary:Version}), + librust-proxmox-sys-0.1-dev (= ${binary:Version}), + librust-proxmox-sys-0.1+default-dev (= ${binary:Version}), + librust-proxmox-sys-0.1.0-dev (= ${binary:Version}), + librust-proxmox-sys-0.1.0+default-dev (= ${binary:Version}), +Description: Proxmox system library - Rust source code + This package contains the source for the Rust proxmox-sys crate. diff --git a/proxmox-sys/debian/copyright b/proxmox-sys/debian/copyright new file mode 100644 index 00000000..ae43835f --- /dev/null +++ b/proxmox-sys/debian/copyright @@ -0,0 +1,16 @@ +Copyright (C) 2019 Proxmox Server Solutions GmbH + +This software is written by Proxmox Server Solutions GmbH + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero 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 Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see . diff --git a/proxmox-sys/debian/rules b/proxmox-sys/debian/rules new file mode 100755 index 00000000..e54b0ab1 --- /dev/null +++ b/proxmox-sys/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f +%: + dh $@ --buildsystem cargo + +override_dh_auto_build: + sed -ie 's/proxmox-tools = { path = "\.\.\/proxmox-tools" }/proxmox-tools = "0.1.0"/' Cargo.toml + dh_auto_build