proxmox: initial packaging

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler 2019-12-18 10:32:41 +01:00
parent 8840877c80
commit c27369e136
6 changed files with 85 additions and 0 deletions

View File

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

5
proxmox/debian/changelog Normal file
View File

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

1
proxmox/debian/compat Normal file
View File

@ -0,0 +1 @@
12

55
proxmox/debian/control Normal file
View File

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

16
proxmox/debian/copyright Normal file
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/debian/rules Executable file
View File

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