--- racc-1.4.5.orig/debian/changelog
+++ racc-1.4.5/debian/changelog
@@ -0,0 +1,187 @@
+racc (1.4.5-1) unstable; urgency=low
+
+ * New upstream release.
+ * dropped ruby1.6 support. (Closes: #367906)
+
+ -- akira yamada <akira@debian.org> Mon, 5 Jun 2006 11:13:56 +0900
+
+racc (1.4.4-1) unstable; urgency=low
+
+ * new upstream version. (closes: #301768)
+ * added racc2y.1 and y2racc.1.
+ * modified racc2y and y2racc to use optparse instead of deprecated getopts.
+
+ -- akira yamada <akira@debian.org> Sat, 9 Apr 2005 17:54:44 +0900
+
+racc (1.4.3-2) unstable; urgency=low
+
+ * renamed to libracc-runtime-ruby1.6 from racc-runtime. it is provided for
+ ruby1.6 only. (ruby1.8 provides libracc-runtime-ruby1.8.)
+ * racc depends on ruby1.8.
+
+ -- akira yamada <akira@debian.org> Tue, 9 Sep 2003 15:54:47 +0900
+
+racc (1.4.3-1) unstable; urgency=low
+
+ * new upstream version, closes: #173234.
+ * updated Description, closes: #160939.
+ * updated Standards-Version to 3.5.8.
+
+ -- akira yamada <akira@debian.org> Tue, 7 Jan 2003 13:33:24 +0900
+
+racc (1.4.1-1) unstable; urgency=low
+
+ * new upstream version.
+
+ -- akira yamada <akira@debian.org> Tue, 8 Jan 2002 21:48:51 +0900
+
+racc (1.3.11-2) unstable; urgency=low
+
+ * rebuild with correct version of ruby, closes: #112249.
+
+ -- akira yamada <akira@debian.org> Sat, 15 Sep 2001 11:40:23 +0900
+
+racc (1.3.11-1) unstable; urgency=low
+
+ * upgraded to new upsteram version.
+ (upstream tarball is racc-1.3.11-all.tar.gz)
+
+ -- akira yamada <akira@debian.org> Sun, 9 Sep 2001 10:01:37 +0900
+
+racc (1.3.10-1) unstable; urgency=low
+
+ * upgraded to new upsteram version.
+
+ -- akira yamada <akira@debian.org> Tue, 14 Aug 2001 14:24:13 +0900
+
+racc (1.3.8-1) unstable; urgency=low
+
+ * upgraded to new upsteram version.
+
+ -- akira yamada <akira@debian.org> Tue, 20 Mar 2001 15:48:32 +0900
+
+racc (1.3.7-1) unstable; urgency=low
+
+ * upgraded to new upstream version.
+
+ -- akira yamada <akira@debian.org> Thu, 15 Mar 2001 10:20:03 +0900
+
+racc (1.3.6-1) unstable; urgency=low
+
+ * upgraded to new upstream version.
+
+ -- akira yamada <akira@debian.org> Fri, 26 Jan 2001 11:16:38 +0900
+
+racc (1.3.5-2) unstable; urgency=low
+
+ * rebuild with ruby_1.6.2-5.
+ * changed section of racc-runtime to interpreters.
+
+ -- akira yamada <akira@debian.org> Thu, 25 Jan 2001 16:23:34 +0900
+
+racc (1.3.5-1) unstable; urgency=low
+
+ * Upgraded to new upstream version.
+
+ -- akira yamada <akira@debian.org> Thu, 18 Jan 2001 09:59:45 +0900
+
+racc (1.3.3-1) unstable; urgency=low
+
+ * Upgraded to new upstream version.
+
+ -- akira yamada <akira@debian.org> Mon, 25 Dec 2000 11:04:15 +0900
+
+racc (1.3.2-1) unstable; urgency=low
+
+ * Upgraded to new upstream version.
+
+ -- akira yamada <akira@debian.org> Thu, 21 Dec 2000 23:14:03 +0900
+
+racc (1.3.1-1) unstable; urgency=low
+
+ * Upgraded to new upstream version.
+
+ -- akira yamada <akira@debian.org> Thu, 20 Dec 2000 14:01:18 +0900
+
+racc (1.3.0-1) unstable; urgency=low
+
+ * Upgraded to new upstream version.
+ * racc-runtime is merged with racc.
+
+ -- akira yamada <akira@debian.org> Thu, 14 Dec 2000 16:58:14 +0900
+
+racc (1.2.4-1) unstable; urgency=low
+
+ * Upgraded to new upstream version.
+
+ -- akira yamada <akira@debian.org> Wed, 20 Sep 2000 20:03:01 +0900
+
+racc (1.2.3-2) unstable; urgency=low
+
+ * Rebuid with ruby_1.6.0.
+ * Updated Standards-Version to 3.2.1.
+ * Added Build-Depends field into control file.
+
+ -- akira yamada <akira@debian.org> Fri, 1 Sep 2000 18:30:23 +0900
+
+racc (1.2.3-1) unstable; urgency=low
+
+ * Upgraded to new upstream version.
+
+ -- akira yamada <akira@debian.org> Thu, 17 Aug 2000 06:30:09 +0900
+
+racc (1.1.5-1) unstable; urgency=low
+
+ * Upgraded to new upstream version.
+ * debian/docs: BUGS.en, BUGS.ja and FILES added.
+
+ -- akira yamada <akira@debian.org> Mon, 24 Jul 2000 14:12:13 +0900
+
+racc (1.1.4-1) unstable; urgency=low
+
+ * Upgraded to new upstream vserion.
+
+ -- akira yamada <akira@debian.org> Fri, 14 Jul 2000 14:51:21 +0900
+
+racc (1.1.3-1) unstable; urgency=low
+
+ * Upgraded to new upstream version.
+
+ -- akira yamada <akira@debian.org> Thu, 13 Jul 2000 18:09:56 +0900
+
+racc (1.0.4-1) unstable; urgency=low
+
+ * Upgraded to new upstream version.
+
+ -- akira yamada <akira@debian.org> Wed, 7 Jun 2000 13:59:15 +0900
+
+racc (1.0.2-1) unstable; urgency=low
+
+ * Upgraded to new upstream version.
+
+ -- akira yamada <akira@debian.org> Mon, 29 May 2000 13:21:28 +0900
+
+racc (0.14.4-1) unstable; urgency=low
+
+ * Upgraded to new upstream version.
+
+ -- akira yamada <akira@debian.org> Fri, 28 Apr 2000 12:33:35 +0900
+
+racc (0.14.3-1) unstable; urgency=low
+
+ * Upgraded to new upstream version.
+
+ -- akira yamada <akira@debian.org> Tue, 4 Apr 2000 23:54:30 +0900
+
+racc (0.14.2-1) unstable; urgency=low
+
+ * Upgraded to new upstream version.
+
+ -- akira yamada <akira@debian.org> Tue, 4 Apr 2000 13:34:24 +0900
+
+racc (0.10.9-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- akira yamada <akira@debian.org> Sun, 23 Jan 2000 10:45:11 +0900
+
--- racc-1.4.5.orig/debian/control
+++ racc-1.4.5/debian/control
@@ -0,0 +1,14 @@
+Source: racc
+Section: devel
+Priority: optional
+Maintainer: akira yamada <akira@debian.org>
+Build-Depends-Indep: debhelper (>> 4), ruby1.8, ruby1.8-dev
+Standards-Version: 3.6.2
+
+Package: racc
+Architecture: all
+Depends: libracc-runtime-ruby1.8, ruby1.8
+Description: Ruby LALR parser generator
+ Racc is LALR(1) parser generator for Ruby, written in Ruby. It allows
+ programmers to easily write syntactic parsers from simple rules, like yacc
+ and bison.
--- racc-1.4.5.orig/debian/copyright
+++ racc-1.4.5/debian/copyright
@@ -0,0 +1,13 @@
+This package was debianized by akira yamada <akira@debian.org> on
+Sun, 23 Jan 2000 10:45:11 +0900.
+
+It was downloaded from <URL:http://www.loveruby.net/en/prog/racc.html>
+
+Upstream Author: Minero Aoki <aamine@loveruby.net>
+
+Copyright:
+
+Racc is distributed under the terms of
+the GNU Lesser General Public License version 2.
+But ruby script file generated by Racc is not.
+You can treat those files as you like.
--- racc-1.4.5.orig/debian/rules
+++ racc-1.4.5/debian/rules
@@ -0,0 +1,99 @@
+#!/usr/bin/make -f
+# 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
+
+# This is the debhelper compatability version to use.
+#export DH_COMPAT=3
+
+build-racc:
+ $(RUBY) setup.rb config --with=racc --rb-dir='$$std-ruby'
+ $(RUBY) setup.rb setup
+install-racc:
+ $(RUBY) setup.rb install --prefix=$(CURDIR)/debian/racc
+
+build: build-stamp
+build-stamp:
+ dh_testdir
+
+ $(MAKE) -f debian/rules RUBY=ruby1.8 build-racc
+
+ (echo $(libdir); \
+ echo $(archdir); \
+ ) > debian/dirs
+
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+
+ # Add here commands to clean up after the build process.
+ #-$(MAKE) clean
+ -ruby1.8 setup.rb config --with=racc
+ -ruby1.8 setup.rb clean
+ -rm -f config.save
+ -rm -f debian/dirs
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ $(MAKE) -f debian/rules RUBY=ruby1.8 install-racc
+
+ # install docs
+ install -d $(CURDIR)/debian/racc/usr/share/doc/racc/html.en
+ (cd packages/racc/doc.en && tar cf - .) | \
+ (cd $(CURDIR)/debian/racc/usr/share/doc/racc/html.en && tar xvf -)
+ install -d $(CURDIR)/debian/racc/usr/share/doc/racc/html.ja
+ (cd packages/racc/doc.ja && tar cf - .) | \
+ (cd $(CURDIR)/debian/racc/usr/share/doc/racc/html.ja && tar xvf -)
+
+# 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
+ dh_installdocs
+ dh_installexamples
+# dh_installmenu
+# dh_installdebconf
+# dh_installlogrotate
+# dh_installemacsen
+# dh_installpam
+# dh_installmime
+# dh_installinit
+# dh_installcron
+# dh_installinfo
+ dh_installman
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+# dh_perl
+# dh_python
+ dh_makeshlibs
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+# Build architecture independant packages using the common target.
+binary-indep: build install
+ $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
+
+# Build architecture dependant packages using the common target.
+binary-arch: build install
+# $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- racc-1.4.5.orig/debian/racc.docs
+++ racc-1.4.5/debian/racc.docs
@@ -0,0 +1,5 @@
+packages/racc/NEWS.en
+packages/racc/NEWS.ja
+packages/racc/README.en
+packages/racc/README.ja
+packages/racc/TODO
--- racc-1.4.5.orig/debian/racc.examples
+++ racc-1.4.5/debian/racc.examples
@@ -0,0 +1,10 @@
+packages/racc/sample/array.y
+packages/racc/sample/array2.y
+packages/racc/sample/calc-ja.y
+packages/racc/sample/calc.y
+packages/racc/sample/conflict.y
+packages/racc/sample/hash.y
+packages/racc/sample/lalr.y
+packages/racc/sample/lists.y
+packages/racc/sample/syntax.y
+packages/racc/sample/yyerr.y
--- racc-1.4.5.orig/debian/racc.doc-base.racc
+++ racc-1.4.5/debian/racc.doc-base.racc
@@ -0,0 +1,10 @@
+Document: racc
+Title: Racc Manual
+Author: Minero Aoki
+Abstract: Racc is LALR(1) parser generator coded for Ruby. Written by
+ Ruby and output Ruby source.
+Section: Apps/Programming
+
+Format: HTML
+Index: /usr/share/doc/racc/html.en/index.html
+Files: /usr/share/doc/racc/html.en/*.html
--- racc-1.4.5.orig/debian/racc.doc-base.racc-ja
+++ racc-1.4.5/debian/racc.doc-base.racc-ja
@@ -0,0 +1,10 @@
+Document: racc-ja
+Title: Racc Manual (ja)
+Author: Minero Aoki
+Abstract: Racc is LALR(1) parser generator coded for Ruby. Written by
+ Ruby and output Ruby source. (written in Japanese)
+Section: Apps/Programming
+
+Format: HTML
+Index: /usr/share/doc/racc/html.ja/index.html
+Files: /usr/share/doc/racc/html.ja/*.html
--- racc-1.4.5.orig/debian/racc.1
+++ racc-1.4.5/debian/racc.1
@@ -0,0 +1,100 @@
+.\" DO NOT MODIFY THIS FILE! it was generated by rd2
+.TH racc 1 "April 2005"
+.SH NAME
+.PP
+racc \- Ruby LALR parser generator
+.SH SYNOPSIS
+.PP
+racc [options] file
+.SH DESCRIPTION
+.PP
+Racc is a LALR(1) parser generator.
+It is written in Ruby itself, and generates Ruby program.
+.SH OPTIONS
+.TP
+.fi
+.B
+\-g, \-\-debug
+output parser for user level debugging.
+.TP
+.fi
+.B
+\-o, \-\-output\-file <outfile>
+file name of output. [<fname>.tab.rb]
+.TP
+.fi
+.B
+\-e, \-\-executable <rubypath>
+.nf
+\& insert #! line in output. ('ruby' to default)
+.fi
+.TP
+.fi
+.B
+\-E, \-\-embedded
+output file which don't need runtime.
+.TP
+.fi
+.B
+\-l, \-\-no\-line\-convert
+never convert line numbers. (for ruby<=1.4.3)
+.TP
+.fi
+.B
+\-c, \-\-line\-convert\-all
+convert line numbers also header and footer.
+.TP
+.fi
+.B
+\-a, \-\-no\-omit\-actions
+never omit actions.
+.TP
+.fi
+.B
+\-v, \-\-verbose
+create <filename>.output file.
+.TP
+.fi
+.B
+\-O, \-\-log\-file <fname>
+file name of verbose output. [<fname>.output]
+.TP
+.fi
+.B
+\-C, \-\-check\-only
+syntax check only.
+.TP
+.fi
+.B
+\-S, \-\-output\-status
+output status time to time.
+.TP
+.fi
+.B
+\-\-no\-extentions
+run without any ruby extentions.
+.TP
+.fi
+.B
+\-h, \-\-help
+print this message and quit.
+.TP
+.fi
+.B
+\-\-version
+print version and quit.
+.TP
+.fi
+.B
+\-\-runtime\-version
+print runtime version and quit.
+.TP
+.fi
+.B
+\-\-copyright
+print copyright and quit.
+.SH SEE ALSO
+.PP
+/usr/share/doc/racc/html.en/index.html (English) or
+/usr/share/doc/racc/html.ja/index.html (Japanese).
+
--- racc-1.4.5.orig/debian/racc.manpages
+++ racc-1.4.5/debian/racc.manpages
@@ -0,0 +1,3 @@
+debian/racc.1
+debian/y2racc.1
+debian/racc2y.1
--- racc-1.4.5.orig/debian/racc2y.rd
+++ racc-1.4.5/debian/racc2y.rd
@@ -0,0 +1,47 @@
+=begin
+
+= NAME
+
+racc2y - Racc grammar to yacc grammar
+
+= SYNOPSIS
+
+racc2y [((|options|))] ((|raccfile|))
+
+= DESCRIPTION
+
+Racc2y converts racc grammar to yacc grammar.
+
+= OPTIONS
+
+: -o, --output-file <outfile>
+ output file name. [y.<inputfile>]
+
+: -A
+ did not output actions.
+
+: -H
+ output 'header'.
+
+: -I
+ output 'inner'.
+
+: -F
+ output 'footer'.
+
+: -h, --help
+ print this message and quit.
+
+: --version
+ print version and quit.
+
+: --copyright
+ print copyright and quit.
+
+
+= SEE ALSO
+
+/usr/share/doc/racc/html.en/index.html (English) or
+/usr/share/doc/racc/html.ja/index.html (Japanese).
+
+=end
--- racc-1.4.5.orig/debian/racc.rd
+++ racc-1.4.5/debian/racc.rd
@@ -0,0 +1,72 @@
+=begin
+
+= NAME
+
+racc - Ruby LALR parser generator
+
+= SYNOPSIS
+
+racc [((|options|))] ((|file|))
+
+= DESCRIPTION
+
+Racc is a LALR(1) parser generator.
+It is written in Ruby itself, and generates Ruby program.
+
+= OPTIONS
+
+: -g, --debug
+ output parser for user level debugging.
+
+: -o, --output-file <outfile>
+ file name of output. [<fname>.tab.rb]
+
+: -e, --executable <rubypath>
+ insert #! line in output. ('ruby' to default)
+
+: -E, --embedded
+ output file which don't need runtime.
+
+: -l, --no-line-convert
+ never convert line numbers. (for ruby<=1.4.3)
+
+: -c, --line-convert-all
+ convert line numbers also header and footer.
+
+: -a, --no-omit-actions
+ never omit actions.
+
+: -v, --verbose
+ create <filename>.output file.
+
+: -O, --log-file <fname>
+ file name of verbose output. [<fname>.output]
+
+: -C, --check-only
+ syntax check only.
+
+: -S, --output-status
+ output status time to time.
+
+: --no-extentions
+ run without any ruby extentions.
+
+: -h, --help
+ print this message and quit.
+
+: --version
+ print version and quit.
+
+: --runtime-version
+ print runtime version and quit.
+
+: --copyright
+ print copyright and quit.
+
+
+= SEE ALSO
+
+/usr/share/doc/racc/html.en/index.html (English) or
+/usr/share/doc/racc/html.ja/index.html (Japanese).
+
+=end
--- racc-1.4.5.orig/debian/y2racc.rd
+++ racc-1.4.5/debian/y2racc.rd
@@ -0,0 +1,50 @@
+=begin
+
+= NAME
+
+y2racc - Yacc grammar to racc grammar
+
+= SYNOPSIS
+
+y2racc [((|options|))] ((|raccfile|))
+
+= DESCRIPTION
+
+Y2racc converts yacc grammar to racc grammar.
+
+= OPTIONS
+
+: -o, --output-file <outfile>
+ name of output file. [r.<inputfile>]
+
+: -c <name>
+ name of parser class. [MyParser]
+
+: -u
+ output also user code (%%....)
+
+: -H
+ cut off header (%{....%})
+
+: -A
+ cut off actions.
+
+: -U
+ cut off user code (%%....) (default)
+
+: -h, --help
+ print this message and quit.
+
+: --version
+ print version and quit.
+
+: --copyright
+ print copyright and quit.
+
+
+= SEE ALSO
+
+/usr/share/doc/racc/html.en/index.html (English) or
+/usr/share/doc/racc/html.ja/index.html (Japanese).
+
+=end
--- racc-1.4.5.orig/debian/racc2y.1
+++ racc-1.4.5/debian/racc2y.1
@@ -0,0 +1,57 @@
+.\" DO NOT MODIFY THIS FILE! it was generated by rd2
+.TH racc2y 1 "April 2005"
+.SH NAME
+.PP
+racc2y \- Racc grammar to yacc grammar
+.SH SYNOPSIS
+.PP
+racc2y [options] raccfile
+.SH DESCRIPTION
+.PP
+Racc2y converts racc grammar to yacc grammar.
+.SH OPTIONS
+.TP
+.fi
+.B
+\-o, \-\-output\-file <outfile>
+output file name. [y.<inputfile>]
+.TP
+.fi
+.B
+\-A
+did not output actions.
+.TP
+.fi
+.B
+\-H
+output 'header'.
+.TP
+.fi
+.B
+\-I
+output 'inner'.
+.TP
+.fi
+.B
+\-F
+output 'footer'.
+.TP
+.fi
+.B
+\-h, \-\-help
+print this message and quit.
+.TP
+.fi
+.B
+\-\-version
+print version and quit.
+.TP
+.fi
+.B
+\-\-copyright
+print copyright and quit.
+.SH SEE ALSO
+.PP
+/usr/share/doc/racc/html.en/index.html (English) or
+/usr/share/doc/racc/html.ja/index.html (Japanese).
+
--- racc-1.4.5.orig/debian/y2racc.1
+++ racc-1.4.5/debian/y2racc.1
@@ -0,0 +1,62 @@
+.\" DO NOT MODIFY THIS FILE! it was generated by rd2
+.TH y2racc 1 "April 2005"
+.SH NAME
+.PP
+y2racc \- Yacc grammar to racc grammar
+.SH SYNOPSIS
+.PP
+y2racc [options] raccfile
+.SH DESCRIPTION
+.PP
+Y2racc converts yacc grammar to racc grammar.
+.SH OPTIONS
+.TP
+.fi
+.B
+\-o, \-\-output\-file <outfile>
+name of output file. [r.<inputfile>]
+.TP
+.fi
+.B
+\-c <name>
+name of parser class. [MyParser]
+.TP
+.fi
+.B
+\-u
+output also user code (%%....)
+.TP
+.fi
+.B
+\-H
+cut off header (%{....%})
+.TP
+.fi
+.B
+\-A
+cut off actions.
+.TP
+.fi
+.B
+\-U
+cut off user code (%%....) (default)
+.TP
+.fi
+.B
+\-h, \-\-help
+print this message and quit.
+.TP
+.fi
+.B
+\-\-version
+print version and quit.
+.TP
+.fi
+.B
+\-\-copyright
+print copyright and quit.
+.SH SEE ALSO
+.PP
+/usr/share/doc/racc/html.en/index.html (English) or
+/usr/share/doc/racc/html.ja/index.html (Japanese).
+
--- racc-1.4.5.orig/debian/compat
+++ racc-1.4.5/debian/compat
@@ -0,0 +1 @@
+4