various packaging fixes, bump version

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler
2019-12-20 09:34:14 +01:00
parent 4aa3763944
commit da0e1e4021
7 changed files with 49 additions and 22 deletions

8
debian/changelog vendored
View File

@ -1,3 +1,11 @@
proxmox-backup (0.1.0) unstable; urgency=medium
* proper packaging of build-dependencies
* cleanup packaging
-- Proxmox Support Team <support@proxmox.com> Fri, 20 Dec 2019 09:30:06 +0100
proxmox-backup (0.1-1) unstable; urgency=medium
[ Proxmox Support Team ]

5
debian/control vendored
View File

@ -75,7 +75,6 @@ Standards-Version: 4.3.0
Homepage: https://www.proxmox.com
Package: proxmox-backup-server
Build-Profiles: <nodoc>
Architecture: any
Depends: fonts-font-awesome,
libjs-extjs (>= 6.0.1),
@ -89,7 +88,6 @@ Description: Proxmox Backup Server daemon with tools and GUI
tools. This includes a web-based graphical user interface.
Package: proxmox-backup-client
Build-Profiles: <nodoc>
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: Proxmox Backup Client tools
@ -99,7 +97,8 @@ Description: Proxmox Backup Client tools
Package: proxmox-backup-docs
Build-Profiles: <!nodoc>
Section: doc
Depends: libjs-extjs
Depends: libjs-extjs,
${misc:Depends},
Architecture: all
Description: Proxmox Backup Documentation
This package contains the Proxmox Backup Documentation files.

2
debian/proxmox-backup-docs.docs vendored Normal file
View File

@ -0,0 +1,2 @@
/usr/share/doc/proxmox-backup/html
/usr/share/doc/proxmox-backup/proxmox-backup.pdf

20
debian/rules vendored
View File

@ -1,13 +1,31 @@
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#DH_VERBOSE = 1
DH_VERBOSE = 1
include /usr/share/dpkg/pkg-info.mk
include /usr/share/rustc/architecture.mk
export BUILD_MODE=release
CARGO=/usr/share/cargo/bin/cargo
export CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
export DEB_HOST_RUST_TYPE DEB_HOST_GNU_TYPE
export CARGO_HOME = $(CURDIR)/debian/cargo_home
export DEB_CARGO_CRATE=proxmox-backup_$(DEB_VERSION_UPSTREAM)
export DEB_CARGO_PACKAGE=proxmox-backup
%:
dh $@ --with=bash-completion
override_dh_auto_configure:
sed -ie 's!proxmox = { git = "ssh://gitolite3@proxdev.maurer-it.com/rust/proxmox",!proxmox = {!' Cargo.toml
sed -ie 's!valgrind.*!!' Cargo.toml
$(CARGO) prepare-debian $(CURDIR)/debian/cargo_registry --link-from-system
dh_auto_configure
override_dh_auto_build:
dh_auto_build -- \
PROXY_USER=backup \