--- virt-top-1.0.2.orig/debian/rules +++ virt-top-1.0.2/debian/rules @@ -0,0 +1,27 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/ocaml.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk + +DESTDIR=$(CURDIR)/debian/virt-top + +DEB_MAKE_CLEAN_TARGET := clean +ifeq ($(OCAML_HAVE_OCAMLOPT),yes) +DEB_MAKE_BUILD_TARGET := opt +DEB_MAKE_INSTALL_TARGET := install-opt +else +DEB_MAKE_BUILD_TARGET := all +DEB_MAKE_INSTALL_TARGET := install-byte +endif +DEB_MAKE_INSTALL_TARGET += DESTDIR="$(DESTDIR)" + +clean:: + rm -f Make.rules Makefile config.h config.log config.status \ + po/Makefile virt-top/Makefile virt-top/virt_top_gettext.ml + +redo-patches:: + rm -f debian/patches/* + git format-patch -N -o debian/patches master...patch-queue | \ + sed -e 's%debian/patches/%%' > debian/patches/series --- virt-top-1.0.2.orig/debian/copyright +++ virt-top-1.0.2/debian/copyright @@ -0,0 +1,25 @@ +This package was debianized by Guido Guenther on +Fri, 27 Jun 2008 19:51:55 +0200. + +It was downloaded from http://et.redhat.com/~rjones/virt-top/files/ + +Upstream Author: + + Richard W.M. Jones + +Copyright: + + Copyright (C) 2007 Red Hat Inc., Richard W.M. Jones + +License: + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + On Debian Systems, the full text of the license can be found on + /usr/share/common-licenses/GPL-2 + +The Debian packaging is (C) 2008, Guido Guenther and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- virt-top-1.0.2.orig/debian/control +++ virt-top-1.0.2/debian/control @@ -0,0 +1,29 @@ +Source: virt-top +Section: admin +Priority: extra +Maintainer: Guido Guenther +Build-Depends: cdbs, + debhelper (>= 7), + autotools-dev, + ocaml-nox, + ocaml-findlib, + quilt, + libvirt-ocaml-dev (>= 0.4.4.2), + libcurses-ocaml-dev, + libcsv-ocaml-dev, + libgettext-ocaml-dev, + libxml-light-ocaml-dev, + dh-ocaml (>= 0.4.1) +Standards-Version: 3.7.3 +Homepage: http://et.redhat.com/~rjones/virt-top/ + +Package: virt-top +Architecture: any +Depends: ocaml-base-nox-${F:OCamlABI}, ${shlibs:Depends} +Description: show stats of virtualized domains + virt-top is modelled after the "ordinary" top utility and many keys and + command line options are the same. + . + It uses libvirt so it capable of showing stats across a variety of + different virtualization systems. + --- virt-top-1.0.2.orig/debian/watch +++ virt-top-1.0.2/debian/watch @@ -0,0 +1,9 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# See uscan(1) for format + +# Compulsory line, this is a version 3 file +version=3 + +http://et.redhat.com/~rjones/virt-top/files/virt-top-([\d\.]+)\.tar\.gz --- virt-top-1.0.2.orig/debian/docs +++ virt-top-1.0.2/debian/docs @@ -0,0 +1,2 @@ +README +TODO.virt-top --- virt-top-1.0.2.orig/debian/changelog +++ virt-top-1.0.2/debian/changelog @@ -0,0 +1,36 @@ +virt-top (1.0.2-2+nmu1build1) karmic; urgency=low + + * no change rebuild for Ocaml 3.11.0 -> 3.11.1 transision + + -- Andrea Gasparini Wed, 29 Jul 2009 15:21:32 +0200 + +virt-top (1.0.2-2+nmu1) unstable; urgency=low + + * Non-maintainer upload. + * Add dh-ocaml build-dependency (rules/ocaml.mk) + + -- Sylvain Le Gall Fri, 20 Mar 2009 12:52:49 +0100 + +virt-top (1.0.2-2) unstable; urgency=low + + [ Guido Guenther ] + * [a7cbb9d] fix build dependencies + + -- Guido Guenther Sat, 02 Aug 2008 03:15:55 +0200 + +virt-top (1.0.2-1) unstable; urgency=low + + * [ef74dca] new upstream version 1.0.2 + * [0ea43a3] adjust add-opt-and-byte targets patch to new upstream version + * [7f39818] debian/rules: remove files generated during build + * [86fdc8b] debian/rules: add redo-patches target + * [9088360] add watch file + + -- Guido Guenther Wed, 23 Jul 2008 18:00:03 -0400 + +virt-top (1.0.1-1) unstable; urgency=low + + * Initial release (Closes: #453955) + + -- Guido Guenther Fri, 27 Jun 2008 19:51:55 +0200 + --- virt-top-1.0.2.orig/debian/compat +++ virt-top-1.0.2/debian/compat @@ -0,0 +1 @@ +6 --- virt-top-1.0.2.orig/debian/manpages +++ virt-top-1.0.2/debian/manpages @@ -0,0 +1 @@ +virt-top/virt-top.1 --- virt-top-1.0.2.orig/debian/patches/0001-add-opt-and-byte-compile-targets.patch +++ virt-top-1.0.2/debian/patches/0001-add-opt-and-byte-compile-targets.patch @@ -0,0 +1,48 @@ +From e798f0eee739f2e173a8cb50bb6482a9da03e1ae Mon Sep 17 00:00:00 2001 +From: Guido Guenther +Date: Wed, 23 Jul 2008 17:30:49 -0400 +Subject: [PATCH] add opt and byte compile targets + +--- + Makefile.in | 2 +- + virt-top/Makefile.in | 8 +++++++- + 2 files changed, 8 insertions(+), 2 deletions(-) + +diff --git a/Makefile.in b/Makefile.in +index 1793bfc..4ef167a 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -24,7 +24,7 @@ MAKENSIS = @MAKENSIS@ + + SUBDIRS = virt-top + +-all opt depend install: ++all opt depend install-opt install-byte: + for d in $(SUBDIRS); do \ + $(MAKE) -C $$d $@; \ + if [ $$? -ne 0 ]; then exit 1; fi; \ +diff --git a/virt-top/Makefile.in b/virt-top/Makefile.in +index e471f93..ed6f57c 100755 +--- a/virt-top/Makefile.in ++++ b/virt-top/Makefile.in +@@ -95,10 +95,16 @@ virt-top.txt: virt-top.pod + pod2text $< > $@ + endif + +-install: ++install-opt: + if [ -x virt-top.opt ]; then \ + mkdir -p $(DESTDIR)$(bindir); \ + $(INSTALL) -m 0755 virt-top.opt $(DESTDIR)$(bindir)/virt-top; \ + fi + ++install-byte: ++ if [ -x virt-top ]; then \ ++ mkdir -p $(DESTDIR)$(bindir); \ ++ $(INSTALL) -m 0755 virt-top $(DESTDIR)$(bindir)/virt-top; \ ++ fi ++ + include ../Make.rules +-- +1.5.6.3 + --- virt-top-1.0.2.orig/debian/patches/series +++ virt-top-1.0.2/debian/patches/series @@ -0,0 +1 @@ +0001-add-opt-and-byte-compile-targets.patch --- virt-top-1.0.2.orig/virt-top/.depend +++ virt-top-1.0.2/virt-top/.depend @@ -1,9 +1,13 @@ +virt_top.cmi: +virt_top_utils.cmi: virt_top_calendar1.cmo: virt_top_gettext.cmo virt_top.cmi virt_top_calendar1.cmx: virt_top_gettext.cmx virt_top.cmx virt_top_calendar2.cmo: virt_top_gettext.cmo virt_top.cmi virt_top_calendar2.cmx: virt_top_gettext.cmx virt_top.cmx virt_top_csv.cmo: virt_top_gettext.cmo virt_top.cmi virt_top_csv.cmx: virt_top_gettext.cmx virt_top.cmx +virt_top_gettext.cmo: +virt_top_gettext.cmx: virt_top_main.cmo: virt_top_gettext.cmo virt_top.cmi virt_top_main.cmx: virt_top_gettext.cmx virt_top.cmx virt_top.cmo: virt_top_utils.cmi virt_top_gettext.cmo virt_top.cmi