diff --git a/proxmox/debian/cargo-checksum.json b/proxmox/debian/cargo-checksum.json new file mode 100644 index 00000000..d8041065 --- /dev/null +++ b/proxmox/debian/cargo-checksum.json @@ -0,0 +1 @@ +{"package":"proxmox","files":{}} diff --git a/proxmox/debian/changelog b/proxmox/debian/changelog new file mode 100644 index 00000000..a582ac13 --- /dev/null +++ b/proxmox/debian/changelog @@ -0,0 +1,5 @@ +rust-proxmox (0.1.0) proxmox-rust; urgency=medium + + * Initial packaging. + + -- Proxmox Support Team Tue, 17 Dec 2019 13:50:53 +0100 diff --git a/proxmox/debian/compat b/proxmox/debian/compat new file mode 100644 index 00000000..48082f72 --- /dev/null +++ b/proxmox/debian/compat @@ -0,0 +1 @@ +12 diff --git a/proxmox/debian/control b/proxmox/debian/control new file mode 100644 index 00000000..3eb7760e --- /dev/null +++ b/proxmox/debian/control @@ -0,0 +1,55 @@ +Source: rust-proxmox +Section: rust +Priority: optional +Build-Depends: debhelper (>= 12), + dh-cargo (>= 21~), + cargo:native , + rustc:native , + libstd-rust-dev , + librust-proxmox-api-0.1.0-dev , + librust-proxmox-api-macro-0.1.0+default-dev , + librust-proxmox-sys-0.1.0+default-dev , + librust-proxmox-tools-0.1.0+default-dev , + librust-proxmox-sortable-macro-0.1.0+default-dev , +Maintainer: Proxmox Support Team +Standards-Version: 4.4.1 + +# note: could be split up feature-wise if desired +Package: librust-proxmox-dev +Architecture: any +Depends: + ${misc:Depends}, + librust-proxmox-api-0.1.0+cli-dev, + librust-proxmox-api-0.1.0+router-dev, + librust-proxmox-api-macro-0.1.0+default-dev, + librust-proxmox-sys-0.1.0+default-dev, + librust-proxmox-tools-0.1.0+default-dev, + librust-proxmox-sortable-macro-0.1.0+default-dev, +Provides: + librust-proxmox+default-dev (= ${binary:Version}), + librust-proxmox-0-dev (= ${binary:Version}), + librust-proxmox-0+default-dev (= ${binary:Version}), + librust-proxmox-0.1-dev (= ${binary:Version}), + librust-proxmox-0.1+default-dev (= ${binary:Version}), + librust-proxmox-0.1.0-dev (= ${binary:Version}), + librust-proxmox-0.1.0+default-dev (= ${binary:Version}), + librust-proxmox+api-macro-dev (= ${binary:Version}), + librust-proxmox-0+api-macro-dev (= ${binary:Version}), + librust-proxmox-0.1+api-macro-dev (= ${binary:Version}), + librust-proxmox-0.1.0+api-macro-dev (= ${binary:Version}), + librust-proxmox+cli-dev (= ${binary:Version}), + librust-proxmox-0+cli-dev (= ${binary:Version}), + librust-proxmox-0.1+cli-dev (= ${binary:Version}), + librust-proxmox-0.1.0+cli-dev (= ${binary:Version}), + librust-proxmox+router-dev (= ${binary:Version}), + librust-proxmox-0+router-dev (= ${binary:Version}), + librust-proxmox-0.1+router-dev (= ${binary:Version}), + librust-proxmox-0.1.0+router-dev (= ${binary:Version}), + librust-proxmox+sortable-macro-dev (= ${binary:Version}), + librust-proxmox-0+sortable-macro-dev (= ${binary:Version}), + librust-proxmox-0.1+sortable-macro-dev (= ${binary:Version}), + librust-proxmox-0.1.0+sortable-macro-dev (= ${binary:Version}), +Description: Proxmox library - Rust source code + This package contains the source for the Rust proxmox crate. + +# valgrind feature ignored - see proxmox-tools diff --git a/proxmox/debian/copyright b/proxmox/debian/copyright new file mode 100644 index 00000000..ae43835f --- /dev/null +++ b/proxmox/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/debian/rules b/proxmox/debian/rules new file mode 100755 index 00000000..d322cf45 --- /dev/null +++ b/proxmox/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f +%: + dh $@ --buildsystem cargo + +override_dh_auto_build: + sed -ie 's/path = "\.\.\/proxmox-.*"/version = "0.1.0"/' Cargo.toml + dh_auto_build