--- libbz2-ruby-0.2.2.orig/debian/control
+++ libbz2-ruby-0.2.2/debian/control
@@ -0,0 +1,12 @@
+Source: libbz2-ruby
+Section: interpreters
+Priority: optional
+Maintainer: Adam Majer <adamm@zombino.com>
+Build-Depends: debhelper (>= 4.0.0), ruby1.8-dev, ruby1.8, libbz2-dev
+Standards-Version: 3.7.2
+
+Package: libbz2-ruby1.8
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: libbz2 bindings for Ruby 1.8
+ libbz2 binding library for Ruby 1.8
--- libbz2-ruby-0.2.2.orig/debian/compat
+++ libbz2-ruby-0.2.2/debian/compat
@@ -0,0 +1 @@
+4
--- libbz2-ruby-0.2.2.orig/debian/changelog
+++ libbz2-ruby-0.2.2/debian/changelog
@@ -0,0 +1,21 @@
+libbz2-ruby (0.2.2-2) unstable; urgency=low
+
+ * Stopped building libbz2-ruby for Ruby 1.6 as it is being removed
+ for Etch. Thanks goes to Stefan Huehner for the reminder and the
+ patch (closes: #366566)
+ * Updated to standards 3.7.2. No changes.
+
+ -- Adam Majer <adamm@zombino.com> Tue, 9 May 2006 16:50:40 -0500
+
+libbz2-ruby (0.2.2-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Adam Majer <adamm@zombino.com> Mon, 17 Jan 2005 23:59:21 -0600
+
+libbz2-ruby (0.2.1-1) unstable; urgency=low
+
+ * Initial Release. (closes: #268741)
+
+ -- Adam Majer <adamm@zombino.com> Tue, 31 Aug 2004 19:36:00 -0500
+
--- libbz2-ruby-0.2.2.orig/debian/copyright
+++ libbz2-ruby-0.2.2/debian/copyright
@@ -0,0 +1,67 @@
+This package was debianized by Adam Majer <adamm@zombino.com> on
+Sat, 28 Aug 2004 16:46:34 -0500.
+
+It was downloaded from ftp://moulon.inra.fr/pub/ruby
+
+Upstream Author: Guy Decoux <ts@moulon.inra.fr>
+
+Copyright: You can redistribute it and/or modify it under the same term as Ruby.
+
+
+Ruby is copyrighted free software by Yukihiro Matsumoto <matz@netlab.co.jp>.
+You can redistribute it and/or modify it under either the terms of the
+GPL (please see /usr/share/common-licenses/GPL or http://www.gnu.org for the
+license text) or the conditions below:
+
+ 1. You may make and give away verbatim copies of the source form of the
+ software without restriction, provided that you duplicate all of the
+ original copyright notices and associated disclaimers.
+
+ 2. You may modify your copy of the software in any way, provided that
+ you do at least ONE of the following:
+
+ a) place your modifications in the Public Domain or otherwise
+ make them Freely Available, such as by posting said
+ modifications to Usenet or an equivalent medium, or by allowing
+ the author to include your modifications in the software.
+
+ b) use the modified software only within your corporation or
+ organization.
+
+ c) rename any non-standard executables so the names do not conflict
+ with standard executables, which must also be provided.
+
+ d) make other distribution arrangements with the author.
+
+ 3. You may distribute the software in object code or executable
+ form, provided that you do at least ONE of the following:
+
+ a) distribute the executables and library files of the software,
+ together with instructions (in the manual page or equivalent)
+ on where to get the original distribution.
+
+ b) accompany the distribution with the machine-readable source of
+ the software.
+
+ c) give non-standard executables non-standard names, with
+ instructions on where to get the original software distribution.
+
+ d) make other distribution arrangements with the author.
+
+ 4. You may modify and include the part of the software into any other
+ software (possibly commercial). But some files in the distribution
+ are not written by the author, so that they are not under this terms.
+ They are gc.c(partly), utils.c(partly), regex.[ch], fnmatch.[ch],
+ glob.c, st.[ch] and some files under the ./missing directory. See
+ each file for the copying condition.
+
+ 5. The scripts and library files supplied as input to or produced as
+ output from the software do not automatically fall under the
+ copyright of the software, but belong to whomever generated them,
+ and may be sold commercially, and may be aggregated with this
+ software.
+
+ 6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
+ IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ PURPOSE.
--- libbz2-ruby-0.2.2.orig/debian/rules
+++ libbz2-ruby-0.2.2/debian/rules
@@ -0,0 +1,98 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+#
+# Modified to make a template file for a multi-binary package with separated
+# build-arch and build-indep targets by Bill Allombert 2001
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This has to be exported to make some magic below work.
+export DH_OPTIONS
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+ INSTALL_PROGRAM += -s
+endif
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ mkdir build
+ mkdir build/1.8
+ cd build/1.8; ln -s ../../tests tests
+
+ cd build/1.8; ruby1.8 ../../extconf.rb
+ touch configure-stamp
+
+
+#Architecture
+build: build-arch
+
+build-arch: build-arch-stamp
+build-arch-stamp: configure-stamp
+
+ # Add here commands to compile the arch part of the package.
+ cd build/1.8; $(MAKE)
+ touch build-arch-stamp
+
+build-indep:
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-arch-stamp configure-stamp
+
+ # Add here commands to clean up after the build process.
+ rm -rf build
+ dh_clean
+
+install: install-arch
+
+install-arch:
+ dh_testdir
+ dh_testroot
+ dh_clean -k -s
+ dh_installdirs -s
+
+ cd build/1.8; $(MAKE) install DESTDIR=$(CURDIR)/debian/libbz2-ruby1.8
+ mv debian/libbz2-ruby1.8/usr/local/lib/site_ruby/1.8/* debian/libbz2-ruby1.8/usr/lib/ruby/1.8/
+ rm -rf debian/libbz2-ruby1.8/usr/local
+
+ dh_install -s
+# Must not depend on anything. This is to be called by
+# binary-arch/binary-indep
+# in another 'make' thread.
+binary-common:
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs Changes
+ dh_installdocs -A bz2.html
+# dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+# dh_makeshlibs
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+# Build architecture independant packages using the common target.
+binary-indep:
+
+# Build architecture dependant packages using the common target.
+binary-arch: build-arch install-arch
+ $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
+
+binary: binary-arch binary-indep
+.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch configure
--- libbz2-ruby-0.2.2.orig/debian/libbz2-ruby1.8.dirs
+++ libbz2-ruby-0.2.2/debian/libbz2-ruby1.8.dirs
@@ -0,0 +1 @@
+usr/lib/ruby/1.8/
--- libbz2-ruby-0.2.2.orig/debian/watch
+++ libbz2-ruby-0.2.2/debian/watch
@@ -0,0 +1,6 @@
+# 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.
+# Site Directory Pattern Version Script
+version=2
+opts=pasv ftp://moulon.inra.fr/pub/ruby/bz2-(.*)\.tar\.gz debian uupdate