--- ruby-libvirt-0.0.7.orig/debian/changelog
+++ ruby-libvirt-0.0.7/debian/changelog
@@ -0,0 +1,6 @@
+ruby-libvirt (0.0.7-1) unstable; urgency=low
+
+  * Initial release (Closes: #501999)
+
+ -- Guido Günther <agx@sigxcpu.org>  Sat, 11 Oct 2008 15:50:46 +0200
+
--- ruby-libvirt-0.0.7.orig/debian/compat
+++ ruby-libvirt-0.0.7/debian/compat
@@ -0,0 +1 @@
+7
--- ruby-libvirt-0.0.7.orig/debian/control
+++ ruby-libvirt-0.0.7/debian/control
@@ -0,0 +1,36 @@
+Source: ruby-libvirt
+Section: libs
+Priority: extra
+Maintainer: Debian Libvirt Maintainers <pkg-libvirt-maintainers@lists.alioth.debian.org>
+Uploaders: Guido Günther <agx@sigxcpu.org>
+Build-Depends: cdbs, debhelper (>= 7), ruby-pkg-tools, rake, ruby1.8-dev,
+ rubygems, libvirt-dev, pkg-config
+Standards-Version: 3.8.0
+Homepage: http://libvirt.org/ruby/
+
+Package: libvirt-ruby
+Architecture: all
+Depends: libvirt-ruby1.8
+Description: Ruby bindings for libvirt
+ This library provides Ruby bindings for using libvirt.
+ .
+ Libvirt is a toolkit to interact with the virtualization capabilities
+ of recent versions of Linux (and other OSes). The library aims at providing
+ a long term stable C API for different virtualization mechanisms. It currently
+ supports QEMU, KVM, and XEN.
+ .
+ This is a dependency package which depends on Debian's default Ruby version
+ (currently 1.8).
+
+Package: libvirt-ruby1.8
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: Ruby bindings for libvirt
+ This library provides Ruby bindings for using libvirt.
+ .
+ Libvirt is a toolkit to interact with the virtualization capabilities
+ of recent versions of Linux (and other OSes). The library aims at providing
+ a long term stable C API for different virtualization mechanisms. It currently
+ supports QEMU, KVM, and XEN.
+ .
+ This package is built for Ruby 1.8.
--- ruby-libvirt-0.0.7.orig/debian/rules
+++ ruby-libvirt-0.0.7/debian/rules
@@ -0,0 +1,20 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/ruby-pkg-tools/1/class/ruby-common.mk
+
+cdbs_pkgdir = $(CURDIR)/debian/tmp
+cdbs_ruby_libdir_ver = $(cdbs_pkgdir)$(DEB_RUBY_LIBDIR)
+cdbs_ruby_archdir_ver = $(cdbs_pkgdir)$(DEB_RUBY_ARCHDIR)
+DEB_RUBY_INSTALL_ARGS = DESTDIR=$(cdbs_pkgdir) \
+                        sitelibdir=$(cdbs_ruby_libdir_ver) \
+                        sitearchdir=$(cdbs_ruby_archdir_ver)
+
+DEB_RUBY_SETUP_ARGS = --with-cflags="$(CFLAGS)" --with-ldflags="$(LDFLAGS)"
+
+common-build-arch::
+	rake build
+
+clean::
+	rm -f ext/libvirt/_libvirt.o ext/libvirt/_libvirt.so \
+	      ext/libvirt/Makefile ext/libvirt/mkmf.log
--- ruby-libvirt-0.0.7.orig/debian/copyright
+++ ruby-libvirt-0.0.7/debian/copyright
@@ -0,0 +1,26 @@
+This package was debianized by Guido Günther <agx@sigxcpu.org> on
+Sat, 11 Oct 2008 15:50:46 +0200.
+
+It was downloaded from http://libvirt.org/ruby/
+
+Upstream Author:
+
+    David Lutterkort <dlutter@redhat.com>
+
+Copyright:
+
+    Copyright (C) 2007 Red Hat, Inc.
+
+License:
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+On Debian systems, the complete text of the GNU Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL'.
+
+The Debian packaging is (C) 2008, Guido Günther <agx@sigxcpu.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+
--- ruby-libvirt-0.0.7.orig/debian/libvirt-ruby1.8.install
+++ ruby-libvirt-0.0.7/debian/libvirt-ruby1.8.install
@@ -0,0 +1,2 @@
+ext/libvirt/_libvirt.so /usr/lib/ruby/1.8/
+lib/libvirt.rb	/usr/lib/ruby/1.8/
--- ruby-libvirt-0.0.7.orig/debian/docs
+++ ruby-libvirt-0.0.7/debian/docs
@@ -0,0 +1,3 @@
+NEWS
+README
+README.rdoc
