htree (0.7-5) debian-dir only changes

Summary

 debian/changelog                  |   72 +++++++++++++++++++++++++++++++
 debian/compat                     |    1 
 debian/control                    |   19 ++++++++
 debian/copyright                  |   69 ++++++++++++++++++++++++++++++
 debian/libhtree-ruby1.8.dirs      |    1 
 debian/libhtree-ruby1.8.docs      |    1 
 debian/libhtree-ruby1.8.install   |    2 
 debian/libhtree-ruby1.9.1.dirs    |    1 
 debian/libhtree-ruby1.9.1.docs    |    1 
 debian/libhtree-ruby1.9.1.install |    2 
 debian/rules                      |   87 ++++++++++++++++++++++++++++++++++++++
 debian/watch                      |    2 
 12 files changed, 258 insertions(+)

    
download this patch

Patch contents

--- htree-0.7.orig/debian/changelog
+++ htree-0.7/debian/changelog
@@ -0,0 +1,72 @@
+htree (0.7-5) unstable; urgency=low
+
+  * debian/control (Build-Depends, Build-Depends-Indep):
+    Added ruby1.8, removed rdoc (Closes: #581317).
+    Thanks to Lucas Nussbaum <lucas@lucas-nussbaum.net>
+    (Homepage): Added.
+  
+ -- NIIBE Yutaka <gniibe@fsij.org>  Thu, 13 May 2010 10:39:40 +0900
+
+htree (0.7-4) unstable; urgency=low
+
+  Ruby 1.9.1 fixes (Closes: #569878).
+  Thanks to Lucas Nussbaum <lucas@lucas-nussbaum.net>
+  * debian/control (Package): Package name is libhtree-ruby1.9.1 now.
+  (Depends): libruby1.9.1.
+  * debian/rules: libtree-ruby1.9.1.
+  * debian/libhtree-ruby1.9.{dirs,docs,install}: Renamed to 1.9.1.
+  * debian/libhtree-ruby1.9.1.install: Follow the change of pathname.
+  
+ -- NIIBE Yutaka <gniibe@fsij.org>  Wed, 24 Mar 2010 11:52:58 +0900
+
+htree (0.7-3) unstable; urgency=low
+
+  * debian/control (Standards-Version): Updated to 3.8.4.
+  (Section): Changed to ruby (was: interpreters).
+  (Depends): Added ${misc:Depends}.
+  * debian/rules: Use 1.9.1 for load path (Closes: #569878).
+  * debian/libhtree-ruby1.9.{dirs,install}: Ditto.
+
+ -- NIIBE Yutaka <gniibe@fsij.org>  Wed, 24 Feb 2010 14:48:10 +0900
+
+htree (0.7-2) unstable; urgency=low
+
+  * debian/rules: Use 1.9.0 for load path (Closes: #484620).
+  * debian/libhtree-ruby1.9.{dirs,install}: Ditto.
+
+ -- NIIBE Yutaka <gniibe@fsij.org>  Fri, 13 Jun 2008 08:41:01 +0900
+
+htree (0.7-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/watch: New file.
+  * debian/control: Added libhtree-ruby1.9 (Closes: #379017).
+
+ -- NIIBE Yutaka <gniibe@fsij.org>  Mon, 14 Apr 2008 13:16:50 +0900
+
+htree (0.6-1) unstable; urgency=low
+
+  * New maintainer (Closes: #472715).
+  * New upstream release (Closes: #379016).
+
+ -- NIIBE Yutaka <gniibe@fsij.org>  Fri, 28 Mar 2008 12:41:25 +0900
+
+htree (0.0.20040714-1) unstable; urgency=low
+
+  * New upstream release
+  * cvs checkout on 20040714
+
+ -- Takuo KITAME <kitame@debian.org>  Wed, 14 Jul 2004 16:17:40 +0900
+
+htree (0.0.20040617-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Takuo KITAME <kitame@debian.org>  Fri, 18 Jun 2004 12:30:00 +0900
+
+htree (0.0.20040611-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Takuo KITAME <kitame@debian.org>  Fri, 11 Jun 2004 11:08:55 +0900
+
--- htree-0.7.orig/debian/compat
+++ htree-0.7/debian/compat
@@ -0,0 +1 @@
+5
--- htree-0.7.orig/debian/copyright
+++ htree-0.7/debian/copyright
@@ -0,0 +1,69 @@
+This package was debianized by Takuo KITAME <kitame@debian.org> on
+Thu, 10 Jun 2004 12:01:19 +0900.
+
+It was downloaded from http://cvs.m17n.org/~akr/htree/
+
+Upstream Author: Tanaka Akira <akr@m17n.org>
+
+Copyright:
+
+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
+(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.
+
+-- 
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
--- htree-0.7.orig/debian/control
+++ htree-0.7/debian/control
@@ -0,0 +1,19 @@
+Source: htree
+Section: ruby
+Priority: optional
+Maintainer: NIIBE Yutaka <gniibe@fsij.org>
+Build-Depends: debhelper (>= 5), ruby1.8
+Standards-Version: 3.8.4
+Homepage: http://www.a-k-r.org/htree/
+
+Package: libhtree-ruby1.8
+Architecture: all
+Depends: libruby1.8, ${misc:Depends}
+Description: HTML/XML tree library for Ruby 1.8
+ htree provides a tree data structure which represent HTML and XML data.
+
+Package: libhtree-ruby1.9.1
+Architecture: all
+Depends: libruby1.9.1, ${misc:Depends}
+Description: HTML/XML tree library for Ruby 1.9.1
+ htree provides a tree data structure which represent HTML and XML data.
--- htree-0.7.orig/debian/rules
+++ htree-0.7/debian/rules
@@ -0,0 +1,87 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+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
+	# Add here commands to configure the package.
+
+	touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp: configure-stamp 
+	dh_testdir
+
+	# Add here commands to compile the package.
+	#$(MAKE)
+	#/usr/bin/docbook-to-man debian/htree.sgml > htree.1
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+	# Add here commands to clean up after the build process.
+	#$(MAKE) clean
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/htree.
+	mkdir -p $(CURDIR)/debian/tmp/usr/lib/ruby/1.8/
+	cp -a htree htree.rb $(CURDIR)/debian/tmp/usr/lib/ruby/1.8/
+	mkdir -p $(CURDIR)/debian/tmp/usr/share/doc/libhtree-ruby1.8/html
+	mkdir -p $(CURDIR)/debian/tmp/usr/lib/ruby/1.9.1/
+	cp -a htree htree.rb $(CURDIR)/debian/tmp/usr/lib/ruby/1.9.1/
+	mkdir -p $(CURDIR)/debian/tmp/usr/share/doc/libhtree-ruby1.9.1
+
+# Build architecture-independent files here.
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs 
+	dh_installdocs rdoc
+	cp -pa $(CURDIR)/debian/libhtree-ruby1.8/usr/share/doc/libhtree-ruby1.8/rdoc/* \
+	$(CURDIR)/debian/tmp/usr/share/doc/libhtree-ruby1.8/html
+	mv $(CURDIR)/debian/libhtree-ruby1.8/usr/share/doc/libhtree-ruby1.8/rdoc \
+	$(CURDIR)/debian/tmp/usr/share/doc/libhtree-ruby1.9.1/html
+	dh_installexamples
+	dh_install
+	dh_installman
+	dh_link
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+# Build architecture-dependent files here.
+binary-arch: build install
+# We have nothing to do.
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
--- htree-0.7.orig/debian/watch
+++ htree-0.7/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://a-k-r.org/htree/htree-(.*)\.tar\.gz
--- htree-0.7.orig/debian/libhtree-ruby1.8.install
+++ htree-0.7/debian/libhtree-ruby1.8.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/ruby/1.8/*
+debian/tmp/usr/share/doc/libhtree-ruby1.8/*
--- htree-0.7.orig/debian/libhtree-ruby1.9.1.docs
+++ htree-0.7/debian/libhtree-ruby1.9.1.docs
@@ -0,0 +1 @@
+README
--- htree-0.7.orig/debian/libhtree-ruby1.8.dirs
+++ htree-0.7/debian/libhtree-ruby1.8.dirs
@@ -0,0 +1 @@
+/usr/lib/ruby/1.8
--- htree-0.7.orig/debian/libhtree-ruby1.8.docs
+++ htree-0.7/debian/libhtree-ruby1.8.docs
@@ -0,0 +1 @@
+README
--- htree-0.7.orig/debian/libhtree-ruby1.9.1.dirs
+++ htree-0.7/debian/libhtree-ruby1.9.1.dirs
@@ -0,0 +1 @@
+/usr/lib/ruby/1.9.1
--- htree-0.7.orig/debian/libhtree-ruby1.9.1.install
+++ htree-0.7/debian/libhtree-ruby1.9.1.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/ruby/1.9.1/*
+debian/tmp/usr/share/doc/libhtree-ruby1.9.1/*