--- ruby-amrita2-2.0.2+dfsg.1.orig/debian/README.Debian
+++ ruby-amrita2-2.0.2+dfsg.1/debian/README.Debian
@@ -0,0 +1,3 @@
+Two examples (sample/depot and sample/login_engine) are removed from source
+package.  Because these examples' lincense are not DFSG clean. If you need 
+these examples, please read 'README' to know how to get.
--- ruby-amrita2-2.0.2+dfsg.1.orig/debian/libamrita2-ruby1.9.examples
+++ ruby-amrita2-2.0.2+dfsg.1/debian/libamrita2-ruby1.9.examples
@@ -0,0 +1 @@
+sample/*
--- ruby-amrita2-2.0.2+dfsg.1.orig/debian/rules
+++ ruby-amrita2-2.0.2+dfsg.1/debian/rules
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+%:
+	dh $@ --buildsystem ruby --with ruby
--- ruby-amrita2-2.0.2+dfsg.1.orig/debian/compat
+++ ruby-amrita2-2.0.2+dfsg.1/debian/compat
@@ -0,0 +1 @@
+7
--- ruby-amrita2-2.0.2+dfsg.1.orig/debian/copyright
+++ ruby-amrita2-2.0.2+dfsg.1/debian/copyright
@@ -0,0 +1,82 @@
+This work was packaged for Debian by:
+
+    TANIGUCHI Takaki <takaki@debian.org> on Mon, 26 Oct 2009 10:35:46 +0900
+
+It was downloaded from http://rubyforge.org/projects/amrita2/.
+
+Upstream Author:
+
+    Taku Nakajima <tnakajima@brain-tokyo.jp>
+
+Copyright:
+
+     Copyright (c) 2008 Taku Nakajima <tnakajima@brain-tokyo.jp>
+
+License:
+
+It is free software, and may be redistributed under the terms specified in
+the README file of the Ruby distribution.
+
+You can redistribute it and/or modify it under either the terms of the GPL
+(see COPYING file), 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.
+
+--
+The Debian packaging is:
+
+    Copyright (C) 2009 TANIGUCHI Takaki <takaki@debian.org>
+
+and is licensed under the GPL version 2 or later, 
+see `/usr/share/common-licenses/GPL-2'.
--- ruby-amrita2-2.0.2+dfsg.1.orig/debian/docs
+++ ruby-amrita2-2.0.2+dfsg.1/debian/docs
@@ -0,0 +1 @@
+README
--- ruby-amrita2-2.0.2+dfsg.1.orig/debian/changelog
+++ ruby-amrita2-2.0.2+dfsg.1/debian/changelog
@@ -0,0 +1,27 @@
+ruby-amrita2 (2.0.2+dfsg.1-3) unstable; urgency=low
+
+  * Switch to gem2deb
+    + Rename source and binary packages name.
+  * Bump Standards-Version to 3.9.2 (with no changes).
+
+ -- TANIGUCHI Takaki <takaki@debian.org>  Tue, 17 May 2011 15:57:48 +0900
+
+amrita2 (2.0.2+dfsg.1-2) unstable; urgency=low
+
+  * support ruby 1.9.1, and drop support 1.9.
+  * Standards-Version: 3.8.4
+
+ -- TANIGUCHI Takaki <takaki@debian.org>  Mon, 15 Feb 2010 20:21:18 +0900
+
+amrita2 (2.0.2+dfsg.1-1) unstable; urgency=low
+
+  * New DFSG-clean upstream.
+  * install sample/*.
+
+ -- TANIGUCHI Takaki <takaki@debian.org>  Sun, 22 Nov 2009 23:53:33 +0900
+
+amrita2 (2.0.2+dfsg-1) unstable; urgency=low
+
+  * Initial release (Closes: #552411)
+
+ -- TANIGUCHI Takaki <takaki@debian.org>  Thu, 19 Nov 2009 23:47:12 +0900
--- ruby-amrita2-2.0.2+dfsg.1.orig/debian/libamrita2-ruby1.8.examples
+++ ruby-amrita2-2.0.2+dfsg.1/debian/libamrita2-ruby1.8.examples
@@ -0,0 +1 @@
+sample/*
--- ruby-amrita2-2.0.2+dfsg.1.orig/debian/watch
+++ ruby-amrita2-2.0.2+dfsg.1/debian/watch
@@ -0,0 +1,25 @@
+# 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.
+# See uscan(1) for format
+
+# Compulsory line, this is a version 3 file
+version=3
+
+# Uncomment to examine a Webpage
+# <Webpage URL> <string match>
+#http://www.example.com/downloads.php amrita2-(.*)\.tar\.gz
+opts=dversionmangle=s/\+dfsg$// \
+ http://rubyforge.org/frs/?group_id=557&release_id=19856 /frs/download.php/.*/amrita2-(.*)\.tar\.gz
+
+# Uncomment to examine a Webserver directory
+#http://www.example.com/pub/amrita2-(.*)\.tar\.gz
+
+# Uncommment to examine a FTP server
+#ftp://ftp.example.com/pub/amrita2-(.*)\.tar\.gz debian uupdate
+
+# Uncomment to find new files on sourceforge, for devscripts >= 2.9
+# http://sf.net/amrita2/amrita2-(.*)\.tar\.gz
+
+# Uncomment to find new files on GooglePages
+# http://example.googlepages.com/foo.html amrita2-(.*)\.tar\.gz
--- ruby-amrita2-2.0.2+dfsg.1.orig/debian/control
+++ ruby-amrita2-2.0.2+dfsg.1/debian/control
@@ -0,0 +1,54 @@
+Source: ruby-amrita2
+Section: ruby
+Priority: optional
+Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
+Uploaders: TANIGUCHI Takaki <takaki@debian.org>
+Build-Depends: debhelper (>= 7), gem2deb
+Standards-Version: 3.9.2
+Homepage: http://rubyforge.org/projects/amrita2/
+XS-Ruby-Versions: all
+
+Package: ruby-amrita2
+Architecture: all
+Depends: ${misc:Depends}, 
+	ruby-interpreter | ruby
+Replaces: libamrita-ruby (<< 2.0.2+dfsg.1-3~), libamrita-ruby1.8 (<< 2.0.2+dfsg.1-3~), libamrita-ruby1.9.1 (<< 2.0.2+dfsg.1-3~)
+Conflicts: libamrita-ruby (<< 2.0.2+dfsg.1-3~), libamrita-ruby1.8 (<< 2.0.2+dfsg.1-3~), libamrita-ruby1.9.1 (<< 2.0.2+dfsg.1-3~)
+Provides: libamrita-ruby, libamrita-ruby1.8, libamrita-ruby1.9.1
+Description: XML/XHTML template library for Ruby
+ Amrita produces html documents from XML template and Ruby model data.
+ .
+  * The template for amrita2 is a pure html/xhtml document without any
+    special tag like <?...?> or <% .. %>
+ .
+  * The template can be written by designers using almost any xhtml/xml
+    Editor.
+ .
+  * Need no change on Ruby code to change the view of _dynamic_ part
+    (not only static part) of the template
+ .
+  * The model data may be standard Ruby data, Hash, Array, String... or
+    an instance of classes you made.
+ .
+  * The output is controlled by _data_ not by logic. So It's easy to
+    write, test, debug code. (Good for eXtreamPrograming)
+ .
+ Amrita2 mixes a template and model data up to a html document naturally
+ matching the +id+ attribute of XML element to model data.
+
+Package: libamrita2-ruby1.8
+Section: oldlibs
+Architecture: all
+Depends: ${misc:Depends}, ruby-amrita2
+Description: Transitional package for ruby-amrita2
+ This is a transitional package to ease upgrades to the ruby-amrita2
+ package. It can safely be removed.
+
+
+Package: libamrita2-ruby1.9.1
+Section: oldlibs
+Architecture: all
+Depends: ${misc:Depends}, ruby-amrita2
+Description: Transitional package for ruby-amrita2
+ This is a transitional package to ease upgrades to the ruby-amrita2
+ package. It can safely be removed.
