--- libhtmlentities-ruby-4.2.0.orig/debian/copyright
+++ libhtmlentities-ruby-4.2.0/debian/copyright
@@ -0,0 +1,33 @@
+This package was debianized by Jeremy Lainé <jeremy.laine@m4x.org>
+Mon,  7 Jan 2008 18:56:39 +0100
+
+It was downloaded from http://rubyforge.org/projects/htmlentities/
+
+Upstream Author: Copyright (c) 2005-2009 Paul Battle <pbattley@gmail.com>
+
+Copyright: Copyright (c) 2005-2009 Paul Battley
+License: The MIT License
+
+Copyright (c) 2005-2009 Paul Battle
+
+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.
+
+
+The Debian packaging is Copyright (C) 2008, Jeremy Lainé <jeremy.laine@m4x.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
--- libhtmlentities-ruby-4.2.0.orig/debian/compat
+++ libhtmlentities-ruby-4.2.0/debian/compat
@@ -0,0 +1 @@
+7
--- libhtmlentities-ruby-4.2.0.orig/debian/rules
+++ libhtmlentities-ruby-4.2.0/debian/rules
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/ruby-pkg-tools/1/class/ruby-setup-rb.mk
+
+install/libhtmlentities-ruby1.9.1::
+	(cd test ; ruby1.9.1 test_all.rb)
+
+install/libhtmlentities-ruby1.8::
+	(cd test ; ruby1.8 test_all.rb)
--- libhtmlentities-ruby-4.2.0.orig/debian/watch
+++ libhtmlentities-ruby-4.2.0/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://rubyforge.org/frs/?group_id=1462 .*/htmlentities-(\d.*)\.tar\.gz
--- libhtmlentities-ruby-4.2.0.orig/debian/control
+++ libhtmlentities-ruby-4.2.0/debian/control
@@ -0,0 +1,43 @@
+Source: libhtmlentities-ruby
+Section: ruby
+Priority: optional
+Maintainer: Jeremy Lainé <jeremy.laine@m4x.org>
+Uploaders: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>, Deepak Tripathi <apenguinlinux@gmail.com> 
+Build-Depends: cdbs, debhelper (>= 7), ruby-pkg-tools (>= 0.17) 
+Build-Depends-Indep: ruby1.8, ruby1.9.1
+Standards-Version: 3.8.4
+Homepage: http://htmlentities.rubyforge.org/
+Vcs-Browser: http://svn.debian.org/viewsvn/pkg-ruby-extras/trunk/libhtmlentities-ruby/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-ruby-extras/trunk/libhtmlentities-ruby/
+
+Package: libhtmlentities-ruby
+Architecture: all
+Depends: ${misc:Depends}, libhtmlentities-ruby1.8
+Description: Ruby library for handling HTML entities
+ HTMLEntities is a simple library to facilitate encoding and decoding of named
+ (&yacute; and so on) or numerical (&#123; or &#x12a;) entities in HTML and
+ XHTML documents.
+ .
+ This is a dummy package depending on the library for the current default
+ version of Ruby.
+
+Package: libhtmlentities-ruby1.8
+Architecture: all
+Depends: ${misc:Depends}, ruby1.8
+Description: Ruby library for handling HTML entities
+ HTMLEntities is a simple library to facilitate encoding and decoding of named
+ (&yacute; and so on) or numerical (&#123; or &#x12a;) entities in HTML and
+ XHTML documents.
+ .
+ This is the package for ruby 1.8.
+
+Package: libhtmlentities-ruby1.9.1
+Architecture: all
+Depends: ${misc:Depends}, ruby1.9.1
+Description: Ruby library for handling HTML entities
+ HTMLEntities is a simple library to facilitate encoding and decoding of named
+ (&yacute; and so on) or numerical (&#123; or &#x12a;) entities in HTML and
+ XHTML documents.
+ .
+ This is the package for ruby 1.9.1.
+
--- libhtmlentities-ruby-4.2.0.orig/debian/changelog
+++ libhtmlentities-ruby-4.2.0/debian/changelog
@@ -0,0 +1,28 @@
+libhtmlentities-ruby (4.2.0-1) unstable; urgency=low
+
+  * New upstream release.
+  * Added debian/source.
+  * Added myself as uploader.
+  * Bumped Standared version to 3.8.4.
+  * Port the package to ruby 1.9.1.
+            + Changes in debian/control
+  * Updated debhelper >=7
+  * Correct old-dh-make-debian-copyright warning.
+            + Changes in debian/changelog
+  * Added test for ruby1.8 and 1.9.1
+            + Changes in debian/rules
+  
+ -- Deepak Tripathi <apenguinlinux@gmail.com>  Sat, 01 May 2010 21:05:42 +0000
+
+libhtmlentities-ruby (4.0.0-2) unstable; urgency=low
+
+  * Changed section to Ruby as per ftp-masters' request.
+  * Update Standards-Version to 3.8.1 (no changes).
+
+ -- Jeremy Lainé <jeremy.laine@m4x.org>  Sun, 03 May 2009 12:23:39 +0200
+
+libhtmlentities-ruby (4.0.0-1) unstable; urgency=low
+
+  * Initial release (Closes: #459633).
+
+ -- Jeremy Lainé <jeremy.laine@m4x.org>  Thu, 10 Jan 2008 17:05:04 +0100
--- libhtmlentities-ruby-4.2.0.orig/debian/source/format
+++ libhtmlentities-ruby-4.2.0/debian/source/format
@@ -0,0 +1 @@
+1.0
