proxmox-sys: initial packaging

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler 2019-12-17 16:08:52 +01:00
parent f4d9e8157c
commit d6bf884814
6 changed files with 63 additions and 0 deletions

View File

@ -0,0 +1 @@
{"package":"proxmox-sys","files":{}}

View File

@ -0,0 +1,5 @@
rust-proxmox-sys (0.1.0) proxmox-rust; urgency=medium
* Initial packaging.
-- Proxmox Support Team <support@proxmox.com> Tue, 17 Dec 2019 14:47:44 +0100

View File

@ -0,0 +1 @@
12

View File

@ -0,0 +1,33 @@
Source: rust-proxmox-sys
Section: rust
Priority: optional
Build-Depends: debhelper (>= 12),
dh-cargo (>= 21~),
cargo:native <!nocheck>,
rustc:native <!nocheck>,
libstd-rust-dev <!nocheck>,
librust-failure-0.1+default-dev <!nocheck>,
librust-lazy-static-1.4+default-dev <!nocheck>,
librust-libc-0.2+default-dev <!nocheck>,
librust-proxmox-tools-0.1.0+default-dev <!nocheck>,
Maintainer: Proxmox Support Team <support@proxmox.com>
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.

View File

@ -0,0 +1,16 @@
Copyright (C) 2019 Proxmox Server Solutions GmbH
This software is written by Proxmox Server Solutions GmbH <support@proxmox.com>
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 <http://www.gnu.org/licenses/>.

7
proxmox-sys/debian/rules Executable file
View File

@ -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