--- aspell-tl-0.4-0.orig/debian/compat
+++ aspell-tl-0.4-0/debian/compat
@@ -0,0 +1 @@
+7
--- aspell-tl-0.4-0.orig/debian/README.Debian-source
+++ aspell-tl-0.4-0/debian/README.Debian-source
@@ -0,0 +1,17 @@
+Repacking the upstream source
+
+1. Get the upstream tarball from http://code.google.com/p/tagalog-wordlist/downloads
+2. Unpack the archive
+  
+   $ tar xjf aspell6-tl-0.4.0.tar.bz2
+
+3. Rename the archive to *.orig, removing the '6' from the word aspell.
+
+   $ mv aspell6-tl-0.4.0 aspell-tl-0.4-0.orig
+
+4. Create the orig tarball
+
+   $ tar czf aspell-tl_0.4-0.orig.tar.gz aspell-tl-0.4.0.orig
+
+4. get debian package files
+5. rebuild
--- aspell-tl-0.4-0.orig/debian/aspell-tl.info-aspell
+++ aspell-tl-0.4-0/debian/aspell-tl.info-aspell
@@ -0,0 +1,10 @@
+Language: tagalog (Tagalog Filipino)
+Hash-Name: tagalog
+Emacsen-Name: tagalog
+Casechars: [A-ZÑa-zñ]
+Not-Casechars: [^A-ZÑa-zñ]
+Otherchars: [-']
+Many-Otherchars: no
+AdditionalChars: ñÑ
+Coding-System: iso-8859-1
+Aspell-Locales: tl_PH
--- aspell-tl-0.4-0.orig/debian/aspell-tl.links
+++ aspell-tl-0.4-0/debian/aspell-tl.links
@@ -0,0 +1 @@
+var/lib/aspell/tl.rws   usr/lib/aspell/tl.rws
--- aspell-tl-0.4-0.orig/debian/copyright
+++ aspell-tl-0.4-0/debian/copyright
@@ -0,0 +1,47 @@
+-*- coding: utf-8 -*-
+This package was debianized by Jan Alonzo <jmalonzo@unpluggable.com> on
+Thu,  2 Dec 2004 08:27:55 +1100.
+
+aspell-tl was downloaded from http://code.google.com/p/tagalog-wordlist/downloads
+
+Aspell-tl upstream maintainer:
+        Jan Alonzo <jmalonzo@unpluggable.com>
+
+Word list upstream authors are:
+        Kevin P. Scannell <scannell@slu.edu>
+        Ramil Sagum <ramil@sagum.net>
+
+Copyright (C) 2004 Kevin P. Scannell, Ramil Sagum
+
+   The original word list used for this package was generated
+   using Scannell's web crawling software "An CrÃºbadÃ¡n" and
+   then hand-checked by Sagum. See the file Crawler.txt in doc
+   directory for more information.
+
+License: GNU GPL2+
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 2 of the License, or
+   (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public
+   License along with this package; if not, write to the Free
+   Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+   MA 02110-1301, USA.
+
+GNU General Public License, version 2 is available at
+/usr/share/common-licenses/GPL-2 in your Debian system. Later
+versions can be found in the same directory.
+
+For Debian packaging,
+
+  Copyright (C) 2004-2007 Jan Alonzo <jmalonzo@unpluggable.com>
+  Copyright (C) 2004,2009 Agustin Martin <agmartin@debian.org>
+
+under same license terms as above.
--- aspell-tl-0.4-0.orig/debian/aspell-tl.install
+++ aspell-tl-0.4-0/debian/aspell-tl.install
@@ -0,0 +1,5 @@
+*.multi     usr/lib/aspell
+*.alias     usr/lib/aspell
+*.dat       usr/lib/aspell
+tl.cwl.gz   usr/share/aspell
+debian/aspell-files/*.alias usr/lib/aspell
--- aspell-tl-0.4-0.orig/debian/changelog
+++ aspell-tl-0.4-0/debian/changelog
@@ -0,0 +1,174 @@
+aspell-tl (0.4-0-7) unstable; urgency=low
+
+  * Make sure aspell-tl hash is rebuilt on reconfigure.
+  * Bump Standards-Version to 3.8.4. No changes required.
+  * Add tagalog alias for aspell-tl.
+
+ -- Agustin Martin Domingo <agmartin@debian.org>  Thu, 17 Jun 2010 16:17:14 +0200
+
+aspell-tl (0.4-0-6) unstable; urgency=low
+
+  * Install tagalog dict as 'tl' and use automatic symlink creation
+    from installdeb-myspell 1.3.2.
+  * Make sure we no longer create Mozilla* symlinks in new destdir
+    by using installdeb-myspell (> 1.4).
+  * Fix hash name and Hunspell-Locales in myspell-tl.info-hunspell.
+
+ -- Agustin Martin Domingo <agmartin@debian.org>  Wed, 25 Nov 2009 12:37:55 +0100
+
+aspell-tl (0.4-0-5) unstable; urgency=low
+
+  * Install myspell dicts in new location. Use new
+    installdeb-myspell (at least 1.3) for this and for
+    compatibility symlinks(Closes: #541944).
+  * Bump Standards Version to 3.8.3. No changes required.
+
+ -- Agustin Martin Domingo <agmartin@debian.org>  Tue, 25 Aug 2009 14:17:47 +0200
+
+aspell-tl (0.4-0-4) unstable; urgency=low
+
+  * Build depend on aspell  (Closes: #536950).
+
+ -- Agustin Martin Domingo <agmartin@debian.org>  Mon, 20 Jul 2009 12:06:05 +0200
+
+aspell-tl (0.4-0-3) unstable; urgency=low
+
+  * Create myspell-tl package out of aspell-tl.
+  * Modify to use plain debhelper.
+  * Raise debhelper compat level to 7.
+  * Add aspell-tl prefix to debian/ stuff where appropriate.
+  * Fix copyright notice, package is GPL2+, not a mix of both.
+  * Fine tune docs installation.
+  * Bump Standards version to 3.8.2. No changes needed.
+
+ -- Agustin Martin Domingo <agmartin@debian.org>  Tue, 23 Jun 2009 13:12:31 +0200
+
+aspell-tl (0.4-0-2) unstable; urgency=low
+
+  * New Maintainer (Closes: #524934).
+  * debian/control:
+    - Add Vcs-Git and Vcs-Browser fields. Put Homepage in header.
+    - Bump Standards version to 3.8.1. No changes needed.
+    - Fix debhelper-but-no-misc-depends.
+    - Raise debhelper compat level.
+    - Raise Build-Dep to make sure we use last
+      dictionaries-common debhelper snippets.
+
+ -- Agustin Martin Domingo <agmartin@debian.org>  Mon, 15 Jun 2009 13:28:18 +0200
+
+aspell-tl (0.4-0-1) unstable; urgency=low
+
+  * New upstream release aspell6-tl-0.4-0.
+  * debian/changelog: whitespace removal patch by
+    Agustin Martin <agmartin@debian.org>
+  * README.Debian-source: how to repackage upstream tarball
+
+ -- Jan Alonzo <jmalonzo@unpluggable.com>  Monday, 05 Mar 2007 10:30:00 +1100
+
+aspell-tl (0.3-1) unstable; urgency=low
+
+  * Updated Standards-Version to 3.7.2.
+  * Updated FSF address.
+  * control:
+    + Build-Depends on dictionaries-common-dev >= 0.70,
+    	mainly so we can use cdbs dict-common rules.
+  * rules:
+    + use cdbs's dict-common rules for a clean rules file.
+  * Split from ispell-tl source package:
+    + aspell-tl now is in its own source package.
+    + changelog from previous source has been retained below.
+  * New stable release aspell-tl-0.3.
+
+ -- Jan Alonzo <jmalonzo@unpluggable.com>  Fri, 23 Feb 2007 00:00:00 +1100
+
+ispell-tl (0.02-5.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * aspell transition (closes: #319666, #360450):
+    + Provide aspell6a-dictionnary,
+    + Replace aspell-bin dependencies with aspell (>= 0.60.3-2),
+    + Remove libaspell dependencies,
+    + Make the package arch: all.
+  * Fix debconf depends, add | debconf-2.0 alternative (closes: #331870).
+
+ -- Pierre Habouzit <madcoder@debian.org>  Wed, 31 May 2006 23:41:46 +0200
+
+ispell-tl (0.02-5) unstable; urgency=low
+
+  * Transition to Aspell 0.60 (closes: #295425)
+  * debian/control:
+    + Provide aspell6-dictionary.
+    + Depend on libaspell15 (>= 0.60)
+  * debian/rules:
+    + Removed usr/lib/aspell and usr/share/aspell. The new aspell path is
+      usr/lib/aspell-0.60
+  * debian/tl_affix.dat: New Aspell 0.60 affix format for aspell-tl.
+
+ -- Jan Alonzo <jmalonzo@unpluggable.com>  Fri, 23 Feb 2005 22:16:25 +1100
+
+ispell-tl (0.02-4) unstable; urgency=low
+
+  * First itagalog and aspell-tl upload to Debian (closes: #283336, #283859)
+  * Moved tl.dat in debian/ as suggested by Agustin Martin.
+  * debian/patches/: Removed, no unnecessary Makefile patching.
+  * debian/rules:
+    + Removed simple-patchsys.mk include because we're not patching the
+      makefile anymore.
+    + Removed makefile.mk include. Just buildhash from this (rules) file.
+    + Split common-binary-post-install-arch into
+      binary-post-install/${package} again. I think it's cleaner this way.
+    + Merged {itagalog,aspell-tl}.links file.
+
+ -- Jan Alonzo <jmalonzo@unpluggable.com>  Sat, 11 Dec 2004 00:28:08 +1100
+
+ispell-tl (0.02-3.0.1) unstable; urgency=low
+
+  * My minor changes:
+    - debian/itagalog.info-ispell:
+        Added Ã±Ã‘ to Casechars, Not-Casechars and additional chars
+    - debian/changelog:
+        Added utf-8 coding tag in Local Variables section for emacs benefit.
+
+ -- Agustin Martin Domingo <agmartin@debian.org>  Fri, 10 Dec 2004 12:23:54 +0100
+
+ispell-tl (0.02-3) unstable; urgency=low
+
+  * Merged aspell-tl. Copied tl.dat from aspell-tl.
+  * debian/itagalog.post{inst,rm}: Removed, handled by installdeb-ispell.
+  * debian/info-all.in: Added as template for aspell-tl and itagalog info-{i,a}spell.
+  * debian/itagalog.info-ispell: Removed, generated during build using info-all.in.
+  * debian/docs: Removed, use DEB_INSTALL_DOCS_ALL (cdbs) instead. This will
+    make the docs-files existent in all the packages.
+  * debian/control: Added aspell-tl entry
+  * debian/rules:
+    + Added aspell-tl entry
+    + Added build,install, and cleanbuilddir target for each package.
+    + Merged binary-post-install/package in common-binary-post-install-arch.
+  * {itagalog,aspell-tl}.links: Moved from debian/rules.
+  * debian/copyright:
+    + Added aspell upstream author, Kevin Atkinson
+    + Added aspell-tl download URL
+
+ -- Jan Alonzo <jmalonzo@unpluggable.com>  Fri, 10 Dec 2004 16:37:18 +1100
+
+ispell-tl (0.02-2) unstable; urgency=low
+
+  * Fixed debian/copyright as suggested by Brian Nelson.
+    Reference: http://lists.debian.org/debian-devel-announce/2003/12/msg00007.html
+  * Changed ispell to Ispell in debian/control
+  * Depend on cdbs 0.4.5 (which contains Makefile patching and
+    reverse-patching on clean rules)
+  * Build-Depends on debhelper 4.1.0 as suggested by 'linda' package checker.
+
+
+ -- Jan Alonzo <jmalonzo@unpluggable.com>  Thu,  9 Dec 2004 16:35:10 +1100
+
+ispell-tl (0.02-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Jan Alonzo <jmalonzo@unpluggable.com>  Thu,  2 Dec 2004 08:27:55 +1100
+
+Local Variables:
+ coding: utf-8
+End:
--- aspell-tl-0.4-0.orig/debian/myspell-tl.info-myspell
+++ aspell-tl-0.4-0/debian/myspell-tl.info-myspell
@@ -0,0 +1,2 @@
+# Tagalog
+DICT tl PH tl
--- aspell-tl-0.4-0.orig/debian/myspell-tl.dirs
+++ aspell-tl-0.4-0/debian/myspell-tl.dirs
@@ -0,0 +1 @@
+usr/share/myspell/dicts
--- aspell-tl-0.4-0.orig/debian/myspell-tl.info-hunspell
+++ aspell-tl-0.4-0/debian/myspell-tl.info-hunspell
@@ -0,0 +1,10 @@
+Language: tagalog (Tagalog Filipino)
+Hash-Name: tl
+Emacsen-Name: tagalog
+Casechars: [A-ZÑa-zñ]
+Not-Casechars: [^A-ZÑa-zñ]
+Otherchars: [-']
+Many-Otherchars: no
+AdditionalChars: ñÑ
+Coding-System: iso-8859-1
+Hunspell-Locales: tl, tl_PH
--- aspell-tl-0.4-0.orig/debian/control
+++ aspell-tl-0.4-0/debian/control
@@ -0,0 +1,31 @@
+Source: aspell-tl
+Section: text
+Priority: optional
+Maintainer: Agustin Martin Domingo <agmartin@debian.org>
+Build-Depends: debhelper (>= 7), aspell (>= 0.60)
+Build-Depends-Indep: dictionaries-common-dev (>= 1.4)
+Standards-Version: 3.8.4
+Homepage: http://code.google.com/p/tagalog-wordlist/
+Vcs-Git: git://git.debian.org/users/agmartin/aspell-tl.git
+Vcs-Browser: http://git.debian.org/?p=users/agmartin/aspell-tl.git;a=summary
+
+Package: aspell-tl
+Architecture: all
+Depends: aspell (>= 0.60.3-3), dictionaries-common (>= 0.9.1), ${misc:Depends}
+Provides: aspell-dictionary
+Description: The Tagalog dictionary for GNU Aspell
+ This package contains all the required files to add support
+ for the Tagalog language to the GNU Aspell spell checker.
+
+Package: myspell-tl
+Architecture: all
+Depends: dictionaries-common (>= 1.1), ${misc:Depends}
+Suggests: openoffice.org (>= 1.0.3-3), iceape-browser | iceweasel | icedove
+Conflicts: openoffice.org (<= 1.0.3-2), openoffice.org-spellcheck-tl
+Replaces: openoffice.org-spellcheck-tl
+Provides: openoffice.org-spellcheck-tl,
+ myspell-dictionary, myspell-dictionary-tl
+Description: The Tagalog dictionary for myspell/hunspell
+ This package contains all the required files to add support
+ for the Tagalog language to myspell/hunspell spell checker.
+
--- aspell-tl-0.4-0.orig/debian/aspell-tl.postinst
+++ aspell-tl-0.4-0/debian/aspell-tl.postinst
@@ -0,0 +1,9 @@
+#!/bin/sh -e
+
+COMPAT="tl.compat"
+
+if [ "$1" = "reconfigure" ] || [ "$DEBCONF_RECONFIGURE" ]; then
+    echo "0" > "/var/lib/aspell/$COMPAT"
+fi
+
+#DEBHELPER#
--- aspell-tl-0.4-0.orig/debian/rules
+++ aspell-tl-0.4-0/debian/rules
@@ -0,0 +1,59 @@
+#!/usr/bin/make -f
+
+# export DH_OPTIONS
+
+APKG = aspell-tl
+MPKG = myspell-tl
+MTMP = myspell-tmp
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+	gzip -c --best < tl.cwl > tl.cwl.gz
+	preunzip < tl.cwl > tl.dic.debian0
+	( echo `cat tl.dic.debian0 | wc -l `; cat tl.dic.debian0 ) > tl_PH.dic
+	mkdir -p $(MTMP)
+	cp tl_PH.dic $(MTMP)/tl.dic
+	cp tl_affix.dat $(MTMP)/tl.aff
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	[ ! -f Makefile ] || $(MAKE) distclean
+	rm -f build-stamp tl.cwl.gz tl.dic.debian0 tl_PH.dic
+	rm -rf $(MTMP)
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_prep
+	dh_installdirs
+	touch debian/$(APKG)/var/lib/aspell/tl.compat
+	touch debian/$(APKG)/var/lib/aspell/tl.rws
+	installdeb-aspell   -p$(APKG) # This calls internally dh_installdebconf
+	installdeb-myspell  -p$(MPKG) --srcdir=$(MTMP)
+	installdeb-hunspell -p$(MPKG)
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installdirs
+	dh_installdocs -A doc/Crawler.txt doc/NEWS
+	dh_installchangelogs
+	dh_install
+	dh_installman
+	dh_compress
+	dh_fixperms
+	dh_link
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums -Xvar/lib/aspell
+	dh_builddeb
+
+binary-arch:
+
+binary:	binary-indep
+
+.PHONY: build clean binary-indep binary-arch binary install
--- aspell-tl-0.4-0.orig/debian/aspell-tl.dirs
+++ aspell-tl-0.4-0/debian/aspell-tl.dirs
@@ -0,0 +1,3 @@
+usr/lib/aspell
+usr/share/aspell
+var/lib/aspell
--- aspell-tl-0.4-0.orig/debian/aspell-files/tagalog.alias
+++ aspell-tl-0.4-0/debian/aspell-files/tagalog.alias
@@ -0,0 +1 @@
+add tl.multi
