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