From: Alexander Chernyakhovsky Date: Sun, 2 Jun 2013 00:50:38 +0000 (-0400) Subject: Update packaging to dh7 X-Git-Tag: 0.0.13~3 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-vnc-client.git/commitdiff_plain/2d341b8e1d2ca659d0d59b49d33d043eb479270d Update packaging to dh7 --- diff --git a/debian/changelog b/debian/changelog index cc1204c..b308a48 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +invirt-vnc-client (0.0.11~dvorak42achernya1) precise; urgency=low + + * Switch to dh7 + + -- Alexander Chernyakhovsky Sat, 01 Jun 2013 21:00:58 -0400 + invirt-vnc-client (0.0.11~dvorak42) precise; urgency=low * Updated to openjdk diff --git a/debian/compat b/debian/compat index b8626c4..7f8f011 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -4 +7 diff --git a/debian/control b/debian/control index 8f6640a..fd6a327 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: invirt-vnc-client Section: base Priority: extra Maintainer: Invirt project -Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 4.1.0), quilt, openjdk-7-jdk | java-compiler +Build-Depends: debhelper (>= 7.0.50~), quilt, openjdk-7-jdk | java-compiler Standards-Version: 3.9.3 Package: invirt-vnc-client diff --git a/debian/rules b/debian/rules index 87093b1..acd059a 100755 --- a/debian/rules +++ b/debian/rules @@ -1,11 +1,14 @@ #!/usr/bin/make -f +%: + dh $@ -include /usr/share/cdbs/1/rules/debhelper.mk -include /usr/share/cdbs/1/rules/patchsys-quilt.mk -include /usr/share/cdbs/1/class/makefile.mk +override_dh_auto_build: + dh_auto_build -- JCFLAGS="-target 1.5" -INVIRT_VNC_CLIENT_PREFIX = $(DEB_DESTDIR)/usr/share/invirt-vnc-client -DEB_MAKE_INSTALL_TARGET = install INSTALL_DIR=$(INVIRT_VNC_CLIENT_PREFIX) +override_dh_auto_install: + dh_auto_install -- INSTALL_DIR=debian/invirt-vnc-client/usr/share/invirt-vnc-client/ -install/invirt-vnc-client:: - cp $(INVIRT_VNC_CLIENT_PREFIX)/VncViewer.jar $(INVIRT_VNC_CLIENT_PREFIX)/VncViewer.src.jar +override_dh_install: + dh_install + mv debian/invirt-vnc-client/usr/share/invirt-vnc-client/VncViewer.jar \ + debian/invirt-vnc-client//usr/share/invirt-vnc-client/VncViewer.src.jar