--- ko.tex-0.1.0+20071012.orig/debian/komkindex.1
+++ ko.tex-0.1.0+20071012/debian/komkindex.1
@@ -0,0 +1,5 @@
+.TH KOMKINDEX 1
+.SH NAME
+hbibtex, hmakeindex, komkindex(.pl), euc-bookmark(.pl), hypua2jamo(.pl), jamo2hypua(.pl), ttf2kotexfont(.pl)
+.SH DESCRIPTION
+Utilities for ko.TeX.
--- ko.tex-0.1.0+20071012.orig/debian/rules
+++ ko.tex-0.1.0+20071012/debian/rules
@@ -0,0 +1,70 @@
+#!/usr/bin/make -f
+
+build: build-stamp
+build-stamp:
+ test -d ko.tex || mkdir ko.tex
+ tar -C ko.tex -xzf ko.tex-macro.tar.gz
+ gcc -o ko.tex/util/hbibtex ko.tex/util/hbibtex.c
+ gcc -o ko.tex/util/hmakeindex ko.tex/util/hmakeindex.c
+ touch $@
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -rf build-stamp ko.tex
+ tar -xzf ko.tex-macro.tar.gz ./LICENSE
+ dh_clean
+
+install: build-stamp install-indep install-arch
+install-indep:
+ dh_testdir
+ dh_testroot
+ dh_clean -k -i
+ dh_installdirs -i
+ cp -r ko.tex/doc/* $(CURDIR)/debian/ko.tex/usr/share/doc/texmf/latex/kotex
+ cp -r ko.tex/bibtex/* $(CURDIR)/debian/ko.tex/usr/share/texmf/bibtex/bst/kotex
+ cp -r ko.tex/sfd/* $(CURDIR)/debian/ko.tex/usr/share/texmf/fonts/sfd
+ cp -r ko.tex/makeindex/* $(CURDIR)/debian/ko.tex/usr/share/texmf/makeindex/kotex
+ cp -r ko.tex/latex/* $(CURDIR)/debian/ko.tex/usr/share/texmf/tex/latex/kotex
+ cp -r ko.tex/plain/* $(CURDIR)/debian/ko.tex/usr/share/texmf/tex/plain/kotex
+ rm -r $(CURDIR)/debian/ko.tex/usr/share/texmf/tex/[pl][la][at][ie][nx]/kotex/[ue][tu][fc]/unfonts
+
+install-arch:
+ dh_testdir
+ dh_testroot
+ dh_clean -k -s
+ dh_installdirs -s
+ install -m755 ko.tex/util/hbibtex ko.tex/util/hmakeindex $(CURDIR)/debian/ko.tex-bin/usr/bin
+ cd ko.tex/util; for x in *.pl; do install -m755 $$x $(CURDIR)/debian/ko.tex-bin/usr/bin/$${x%.pl}; done; cd ../..
+
+binary-indep: build-stamp install-indep
+ dh_testdir -i
+ dh_testroot -i
+ dh_installdocs -i lppl.txt ko.tex/manifest.txt ko.tex/news-0.1.0.txt
+ dh_installchangelogs -i ko.tex/ChangLog
+ dh_compress -i -Xtexmf/latex/kotex
+ dh_installtex -i
+ dh_fixperms -i
+ dh_installdeb -i
+ dh_gencontrol -i
+ dh_md5sums -i
+ dh_builddeb -i
+
+binary-arch: build-stamp install-arch
+ dh_testdir -s
+ dh_testroot -s
+ dh_installdocs -s lppl.txt ko.tex/manifest.txt ko.tex/news-0.1.0.txt
+ dh_installchangelogs -s ko.tex/ChangLog
+ dh_installman -s debian/komkindex.1
+ for x in `ls debian/ko.tex-bin/usr/bin`; do dh_link -s usr/share/man/man1/komkindex.1.gz usr/share/man/man1/$$x.1.gz; done
+ dh_strip -s
+ dh_compress -s
+ dh_fixperms -s
+ dh_shlibdeps -s
+ dh_installdeb -s
+ dh_gencontrol -s
+ dh_md5sums -s
+ dh_builddeb -s
+
+binary: binary-arch binary-indep
+.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch
--- ko.tex-0.1.0+20071012.orig/debian/changelog
+++ ko.tex-0.1.0+20071012/debian/changelog
@@ -0,0 +1,30 @@
+ko.tex (0.1.0+20071012-1.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Add ${shlibs:Depends} in debian/control and dh_shlibdeps in debian/rules,
+ in order to get a dependency on libc, as required by Policy
+ (closes: #553222)
+ * Add ${misc:Depends} to both binary packages in debian/control, while we're
+ at it.
+
+ -- gregor herrmann <gregoa@debian.org> Fri, 27 Nov 2009 23:17:44 +0100
+
+ko.tex (0.1.0+20071012-1) unstable; urgency=low
+
+ * New upstream release.
+ * Add Build-depends on tex-common. Closes: #450477.
+
+ -- A Lee <alee@debian.org> Tue, 06 Nov 2007 15:25:38 +0900
+
+ko.tex (0.1.0-2) unstable; urgency=low
+
+ * Remove conflicts with hlatex-fonts-* and latex-hangul-ucs-*.
+
+ -- A Lee <alee@debian.org> Fri, 07 Sep 2007 04:09:49 +0900
+
+ko.tex (0.1.0-1) unstable; urgency=low
+
+ * Initial release.
+
+ -- A Lee <alee@debian.org> Tue, 04 Sep 2007 17:41:25 +0900
+
--- ko.tex-0.1.0+20071012.orig/debian/ko.tex-bin.dirs
+++ ko.tex-0.1.0+20071012/debian/ko.tex-bin.dirs
@@ -0,0 +1,2 @@
+usr/bin
+usr/share/doc
--- ko.tex-0.1.0+20071012.orig/debian/ko.tex.dirs
+++ ko.tex-0.1.0+20071012/debian/ko.tex.dirs
@@ -0,0 +1,6 @@
+usr/share/doc/texmf/latex/kotex
+usr/share/texmf/bibtex/bst/kotex
+usr/share/texmf/fonts/sfd
+usr/share/texmf/makeindex/kotex
+usr/share/texmf/tex/latex/kotex
+usr/share/texmf/tex/plain/kotex
--- ko.tex-0.1.0+20071012.orig/debian/README.Debian
+++ ko.tex-0.1.0+20071012/debian/README.Debian
@@ -0,0 +1,7 @@
+ko.TeX for Debian
+-----------------
+
+ * The .pl extensions are removed from /usr/bin/*.pl files to follow
+ the Policy Manual, section 10.4.
+
+ -- A Lee <alee@debian.org>, Tue Sep 04 17:41:25 2007
--- ko.tex-0.1.0+20071012.orig/debian/control
+++ ko.tex-0.1.0+20071012/debian/control
@@ -0,0 +1,30 @@
+Source: ko.tex
+Section: tex
+Priority: optional
+Maintainer: A Lee <alee@debian.org>
+Build-Depends: debhelper (>= 5), tex-common
+Standards-Version: 3.7.2
+
+Package: ko.tex
+Architecture: all
+Depends: ko.tex-bin, ko.tex-base, ${misc:Depends}
+Suggests: ko.tex-extra
+Replaces: hlatex, latex-hangul-ucs
+Conflicts: hlatex, latex-hangul-ucs
+Description: Korean TeX: Core macros
+ ko.TeX is a collection of LaTeX packages made by Koaunghi Un,
+ Dohyun Kim and Kangsoo Kim to replace HLaTeX and Hangul-ucs.
+ See http://project.ktug.or.kr/ko.TeX/ for more information.
+ .
+ This package contains LaTeX and TeX macros.
+
+Package: ko.tex-bin
+Architecture: any
+Depends: perl, ${shlibs:Depends}, ${misc:Depends}
+Enhances: ko.tex
+Description: Korean TeX: Binaries and scripts
+ ko.TeX is a collection of LaTeX packages made by Koaunghi Un,
+ Dohyun Kim and Kangsoo Kim to replace HLaTeX and Hangul-ucs.
+ See http://project.ktug.or.kr/ko.TeX/ for more information.
+ .
+ This package contains binaries and scripts.
--- ko.tex-0.1.0+20071012.orig/debian/copyright
+++ ko.tex-0.1.0+20071012/debian/copyright
@@ -0,0 +1,31 @@
+This package was debianized by A Lee <alee@debian.org> on
+Tue, 04 Sep 2007 17:41:25 +0900.
+
+It was downloaded from
+ http://ftp.ktug.or.kr/KTUG/ko.TeX/ko.tex-macro.tar.gz
+
+Upstream Authors: Koaunghi Un, Dohyun Kim and Kangsoo Kim
+Project Homepage: http://project.ktug.or.kr/ko.TeX/
+
+Copyright and license
+---------------------
+
+ Copyright (C) 2007 Koaunghi Un <koaunghi@kornet.net>
+ Dohyun Kim <nomos@ktug.or.kr>
+ Kangsoo Kim <karnes@ktug.or.kr>
+
+ This work may be distributed and/or modified under the conditions
+ of the LaTeX Project Public License, either version 1.3c of this
+ license or (at your option) any later version. The latest version
+ of this license is in
+
+ http://www.latex-project.org/lppl.txt
+
+ and version 1.3c or later is part of all distributions of LaTeX
+ version 2006/05/20 or later.
+
+ This work has the LPPL maintenance status `maintained'.
+
+ The Current Maintainers of this work are the AUTHORS.
+
+ This work consists of all files listed in manifest.txt.
--- ko.tex-0.1.0+20071012.orig/debian/compat
+++ ko.tex-0.1.0+20071012/debian/compat
@@ -0,0 +1 @@
+5