@@ -0,0 +1,40 @@
+#!/bin/sh
+
+if [ -z "$1" ]; then echo "Usage: $0 <qemu-version.tar.bz>" && exit 0
+fi
+
+PKGDSC=qemu-svn.dsc
+
+myqemu=$1
+version=`echo $myqemu|sed -e 's/^qemu-//' -e 's/.tar.bz2//'`
+echo "Version: $version"
+
+md5sum=`md5sum $myqemu | cut -d" " -f1`
+echo "MD5SUM: $md5sum"
+
+size=`ls -l $myqemu | cut -d" " -f5`
+echo "Size: $size"
+
+cp $PKGDSC $PKGDSC.old
+
+cat << EOF > $PKGDSC
+Format: 1.0
+Source: qemu
+Binary: qemu, libqemu-dev
+Architecture: amd64 arm armel hppa i386 powerpc sparc kfreebsd-i386 kfreebsd-amd64 ppc64
+Version: $version
+Maintainer: Martin Mohring <martin.mohring@opensuse.org>
+Uploaders: Aurelien Jarno <aurel32@debian.org>, Riku Voipio <riku@debian.org>, Josh Triplett <josh@psas.pdx.edu>
+Homepage: http://www.qemu.org/
+Standards-Version: 3.8.0
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-qemu/
+Vcs-Svn: svn://svn.debian.org/pkg-qemu/trunk/
+Build-Depends: debhelper (>= 5), quilt (>= 0.40), binutils (>= 2.16), nasm, libx11-dev, libsdl1.2-dev (>> 1.2.1), libncurses5-dev, zlib1g-dev, texi2html, sharutils, libgnutls-dev, libesd0-dev, etherboot, libpulse-dev, gcc, g++, libasound2-dev, libgpmg1-dev, svgalibg1, libsvga1, hostname
+Files:
+EOF
+
+
+# 7642dd17e3c403a530989a8b09175768 2816199 qemu_0.9.2svn20080911.5199-patched.tar.bz2
+# md5sum size name
+
+echo " $md5sum $size $myqemu" >> $PKGDSC
|