--- imvirt-0.3.1.orig/debian/control
+++ imvirt-0.3.1/debian/control
@@ -0,0 +1,25 @@
+Source: imvirt
+Section: admin
+Priority: optional
+Maintainer: Patrick Matthäi <pmatthaei@debian.org>
+Build-Depends: debhelper (>= 5)
+Standards-Version: 3.8.3
+Homepage: http://micky.ibh.net/~liske/imvirt.html
+
+Package: imvirt
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends}
+Recommends: dmidecode
+Description: detects several virtualizations
+ This perl script tries to detect if it is run in a virtualization container.
+ .
+ In this version it is able to detect the following virtualization
+ technologies:
+  VirtualBox
+  Virtual PC/Server
+  VMware
+  QEMU
+  KVM
+  Xen
+ .
+ And much more.
--- imvirt-0.3.1.orig/debian/manpages
+++ imvirt-0.3.1/debian/manpages
@@ -0,0 +1 @@
+debian/imvirt.1
--- imvirt-0.3.1.orig/debian/watch
+++ imvirt-0.3.1/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/apt-dater/imvirt-(.*)\.tar\.gz
--- imvirt-0.3.1.orig/debian/README.Debian
+++ imvirt-0.3.1/debian/README.Debian
@@ -0,0 +1,3 @@
+imvirt optionaly also uses dmidecode from the dmidecode package to determine
+the used virtualization technology. dmidecode could just be called from the
+user "root", because it also needs access to "/dev/mem".
--- imvirt-0.3.1.orig/debian/rules
+++ imvirt-0.3.1/debian/rules
@@ -0,0 +1,54 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	./configure --prefix=/usr --libexec=/usr/lib/imvirt
+	touch configure-stamp
+
+build: build-stamp
+
+build-stamp: configure-stamp
+	dh_testdir
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+	[ ! -f Makefile ] || $(MAKE) clean
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	$(MAKE) DESTDIR=$(CURDIR)/debian/imvirt install
+
+binary-arch: build install
+	dh_testdir -a
+	dh_testroot -a
+	dh_installchangelogs -a ChangeLog
+	dh_installdocs -a
+	dh_compress -a
+	dh_fixperms -a
+	dh_perl -a
+	dh_strip -a
+	dh_installdeb -a
+	dh_shlibdeps -a
+	dh_gencontrol -a
+	dh_md5sums -a
+	dh_builddeb -a
+
+binary-indep: build install
+
+get-orig-source:
+	@dh_testdir
+	@@[ -d ../tarballs/. ]||mkdir -p ../tarballs
+	@@uscan --force-download --destdir ../tarballs
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
--- imvirt-0.3.1.orig/debian/copyright
+++ imvirt-0.3.1/debian/copyright
@@ -0,0 +1,51 @@
+This package was debianized by Patrick Matthäi <patrick.matthaei@web.de> on
+Wed, 26 Nov 2008 19:52:23 +0200.
+
+It was downloaded from <http://www.sourceforge.net/projects/apt-dater>.
+
+Upstream Author: Thomas Liske <liske@ibh.de>
+
+Copyright: 2008 by IBH IT-Service GmbH
+
+
+License (helper/xen.c, helper/detect.c:):
+    Permission is hereby granted, free of charge, to any person obtaining a copy
+    of this software and associated documentation files (the "Software"), to
+    deal in the Software without restriction, including without limitation the
+    rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+    sell copies of the Software, and to permit persons to whom the Software is
+    furnished to do so, subject to the following conditions:
+
+    The above copyright notice and this permission notice shall be included in
+    all copies or substantial portions of the Software.
+
+    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+    FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+    DEALINGS IN THE SOFTWARE.
+
+
+License (everything else):
+
+	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.
+
+	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 General Public License for more details.
+
+	You should have received a copy of the GNU General Public License
+	along with this program; if not, write to the Free Software
+	Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+On Debian systems, the complete text of the GNU General Public License
+can be found in /usr/share/common-licenses/GPL-2 file.
+
+The Debian packaging is © 2008-2009, Patrick Matthäi <pmatthaei@debian.org> and
+is licensed under the GPL, see above.
--- imvirt-0.3.1.orig/debian/changelog
+++ imvirt-0.3.1/debian/changelog
@@ -0,0 +1,67 @@
+imvirt (0.3.1-1~bpo50+1) lenny-backports; urgency=low
+
+  * Rebuild for lenny-backports.
+
+ -- Patrick Matthäi <pmatthaei@debian.org>  Sun, 27 Sep 2009 15:27:36 +0200
+
+imvirt (0.3.1-1) unstable; urgency=low
+
+  * New upstream release
+    - Package is now arch:any.
+    - Drop manpage, it is in upstreams tarball now.
+    - Adjust debian/copyright informations.
+  * Set homepage location away from sourceforge, so I do not get anymore emails
+    about the pseudo wrong homepage entry.
+  * Bump Standards-Version to 3.8.3 (no changes needed).
+  * Remove useless dirs file.
+
+ -- Patrick Matthäi <pmatthaei@debian.org>  Sat, 12 Sep 2009 21:12:12 +0200
+
+imvirt (0.2.1-3) unstable; urgency=low
+
+  * Fix typo in get-orig-source target.
+  * Merge 0.2-1~bpo50+1 and 0.2.1-1~bpo50+1 changelog.
+  * Bump Standards-Version to 3.8.2 (no changes needed).
+
+ -- Patrick Matthäi <pmatthaei@debian.org>  Thu, 18 Jun 2009 08:58:18 +0200
+
+imvirt (0.2.1-2) unstable; urgency=low
+
+  * Change my email address.
+  * Remove DM-Upload-Allowed control field.
+  * Refer in debian/copyright to the GPL-2 file instead of GPL.
+    This fixes the lintian warning copyright-refers-to-symlink-license.
+  * Install upstreams changelog.
+
+ -- Patrick Matthäi <pmatthaei@debian.org>  Thu, 23 Apr 2009 09:01:41 +0200
+
+imvirt (0.2.1-1~bpo50+1) lenny-backports; urgency=low
+
+  * Rebuild for lenny-backports.
+
+ -- Patrick Matthäi <patrick.matthaei@web.de>  Tue, 24 Mar 2009 21:30:42 +0200
+
+imvirt (0.2.1-1) unstable; urgency=low
+
+  * New upstream release.
+    - Properly detect paravirt Xen.
+      Closes: #519207
+  * Add get-orig-source target.
+  * Bump Standards-Version to 3.8.1 (no changed needed).
+  * Fix copyright-with-old-dh-make-debian-copyright.
+    Thanks lintian.
+
+ -- Patrick Matthäi <patrick.matthaei@web.de>  Thu, 12 Mar 2009 10:36:04 +0200
+
+imvirt (0.2-1~bpo50+1) lenny-backports; urgency=low
+
+  * Rebuild for lenny-backports.
+
+ -- Patrick Matthäi <patrick.matthaei@web.de>  Tue, 17 Feb 2009 18:14:09 +0200
+
+imvirt (0.2-1) unstable; urgency=low
+
+  * Initial release.
+    Closes: #506984
+
+ -- Patrick Matthäi <patrick.matthaei@web.de>  Wed, 26 Nov 2008 19:40:06 +0100
--- imvirt-0.3.1.orig/debian/docs
+++ imvirt-0.3.1/debian/docs
@@ -0,0 +1,2 @@
+README
+debian/README.Debian
--- imvirt-0.3.1.orig/debian/compat
+++ imvirt-0.3.1/debian/compat
@@ -0,0 +1 @@
+5
