--- myspell-lv-0.7.3.orig/debian/aspell-lv.docs
+++ myspell-lv-0.7.3/debian/aspell-lv.docs
@@ -0,0 +1,3 @@
+version.txt
+README_hyph_lv_LV.txt
+README_lv_LV.txt
--- myspell-lv-0.7.3.orig/debian/aspell-lv.postrm
+++ myspell-lv-0.7.3/debian/aspell-lv.postrm
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+#DEBHELPER#
--- myspell-lv-0.7.3.orig/debian/myspell-lv.info-myspell
+++ myspell-lv-0.7.3/debian/myspell-lv.info-myspell
@@ -0,0 +1,4 @@
+# Latvian (Latvieshu)
+
+DICT lv LV lv_LV
+HYPH lv LV hyph_lv_LV
--- myspell-lv-0.7.3.orig/debian/aspell-lv.links
+++ myspell-lv-0.7.3/debian/aspell-lv.links
@@ -0,0 +1,2 @@
+var/lib/aspell/lv.rws usr/lib/aspell/lv.rws
+var/lib/aspell/lv.compat usr/lib/aspell/lv.compat
--- myspell-lv-0.7.3.orig/debian/changelog
+++ myspell-lv-0.7.3/debian/changelog
@@ -0,0 +1,112 @@
+myspell-lv (0.7.3-3.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * move dict to /usr/share/hunspell and add compat symlinks from
+ /usr/share/myspell/dicts (closes: #541943)
+ * move hyphenation pattern to /usr/share/hyphen and add compat symlink
+ from /usr/share/myspell/dicts (closes: #541900)
+
+ -- Rene Engelhard <rene@debian.org> Thu, 01 Oct 2009 23:44:52 +0200
+
+myspell-lv (0.7.3-3) unstable; urgency=low
+
+ * Fixed Lintian errors:
+ W: command-with-path-in-maintainer-script
+ W: maintainer-script-ignores-errors
+ I: unused-override
+ * Upgraded Standards-Version to 3.8.0 (no change required).
+
+ -- Martin-Ãric Racine <q-funk@iki.fi> Mon, 04 May 2009 06:47:37 +0300
+
+myspell-lv (0.7.3-2) unstable; urgency=low
+
+ * Removed the Linda override, now that she is gone.
+
+ -- Martin-Ãric Racine <q-funk@iki.fi> Tue, 01 Jul 2008 11:51:06 +0300
+
+myspell-lv (0.7.3-1) unstable; urgency=low
+
+ * New upstream release.
+ * Cleaned up the upstream MySpell affix file with dos2unix, then
+ merged Aigars' previous patch. Submitted the result to upstream.
+ * Fixed the Lintian warning about incomplete copyright notice.
+ * Upgraded Standards-Version to 3.7.3; no change required.
+ * Added the hyphenation file to myspell-lv.install.
+
+ -- Martin-Ãric Racine <q-funk@iki.fi> Fri, 29 Feb 2008 12:16:22 +0200
+
+myspell-lv (0.7.2-4) unstable; urgency=low
+
+ * Corrected aspell-lv.info-aspell to specify valid characters and
+ make spelling work under Emacs again.
+
+ -- Martin-Ãric Racine <q-funk@iki.fi> Sun, 26 Aug 2007 12:40:21 +0300
+
+myspell-lv (0.7.2-3) unstable; urgency=low
+
+ * Added debian/watch file.
+ FIXME: it actually monitors for a larger tarball that includes the
+ Latvian localisation for OpenOffice and the MySpell wordlist.
+
+ -- Martin-Ãric Racine <q-funk@iki.fi> Fri, 3 Aug 2007 18:43:51 +0300
+
+myspell-lv (0.7.2-2) unstable; urgency=low
+
+ * Adding myself to Uploaders as agreed with Aigars.
+ * Added Lintian override against usr-lib-in-arch-all to aspell-lv.
+ (all Aspell dictionaries are packaged this way by design)
+ * Patch to generate Aspell was merged in 0.7.2-1 (Closes: #405152).
+ * Acknowledging previous NMU (Closes: #432450).
+
+ -- Martin-Ãric Racine <q-funk@iki.fi> Fri, 3 Aug 2007 17:18:49 +0300
+
+myspell-lv (0.7.2-1.1) unstable; urgency=low
+
+ * Non-Maintainer Upload.
+ - FTBFS: unmet build dep libmyspell-dev (Closes: #432450)
+ Removing an unnecessary Build-Depends on MySpell tools fixes it.
+
+ -- Martin-Ãric Racine <q-funk@iki.fi> Fri, 20 Jul 2007 23:10:13 +0300
+
+myspell-lv (0.7.2-1) unstable; urgency=low
+
+ * New upstream version
+
+ -- Aigars Mahinovs <aigarius@debian.org> Tue, 14 Jun 2007 11:52:40 +0100
+
+myspell-lv (0.6.5.1-1.1) unstable; urgency=low
+
+ * Non-Maintainer Upload:
+ - Added aspell-lv target and corresponding package generation rules.
+ - Upgraded to Standards-Version 3.7.2 (no change required).
+ - Upgraded to CDBS.
+
+ -- Martin-Ãric Racine <q-funk@iki.fi> Sun, 24 Dec 2006 05:50:50 +0200
+
+myspell-lv (0.6.5.1-1) unstable; urgency=low
+
+ * New upstream release
+ * Description fixups (Closes: #213455)
+ * Make the infoe file naming inline with others (Closes: #208752)
+ * Add lv.{aff|dic} symlinks for Thunderbird (Closes: #373750)
+
+ -- Aigars Mahinovs <aigarius@debian.org> Tue, 11 Jul 2006 23:52:40 +0100
+
+myspell-lv (0.6.4-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Aigars Mahinovs <aigarius@debian.org> Sat, 12 Apr 2005 07:03:40 +0300
+
+myspell-lv (0.6.3-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Aigars Mahinovs <aigarius@debian.org> Sat, 26 Feb 2005 01:44:40 +0300
+
+myspell-lv (0.5.5-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Aigars Mahinovs <aigarius@debian.org> Sun, 24 Aug 2003 01:44:40 +0300
+
--- myspell-lv-0.7.3.orig/debian/info.lv_LV
+++ myspell-lv-0.7.3/debian/info.lv_LV
@@ -0,0 +1,5 @@
+
+# Latvian (Latvieshu)
+
+DICT lv LV lv_LV
+HYPH lv LV hyph_lv_LV
--- myspell-lv-0.7.3.orig/debian/myspell-lv.postinst
+++ myspell-lv-0.7.3/debian/myspell-lv.postinst
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+#DEBHELPER#
--- myspell-lv-0.7.3.orig/debian/myspell-lv.docs
+++ myspell-lv-0.7.3/debian/myspell-lv.docs
@@ -0,0 +1,3 @@
+version.txt
+README_hyph_lv_LV.txt
+README_lv_LV.txt
--- myspell-lv-0.7.3.orig/debian/myspell-lv.postrm
+++ myspell-lv-0.7.3/debian/myspell-lv.postrm
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+#DEBHELPER#
--- myspell-lv-0.7.3.orig/debian/control
+++ myspell-lv-0.7.3/debian/control
@@ -0,0 +1,35 @@
+Source: myspell-lv
+Section: text
+Priority: optional
+Maintainer: Aigars Mahinovs <aigarius@debian.org>
+Uploaders: Martin-Ãric Racine <q-funk@iki.fi>
+Build-Depends: aspell (>= 0.60.4), dictionaries-common-dev (>= 0.49.2), cdbs (>= 0.4.28), debhelper (>= 5)
+Standards-Version: 3.8.0
+
+Package: myspell-lv
+Architecture: all
+Depends: dictionaries-common (>= 0.49.2), ${misc:Depends}
+Suggests: openoffice.org
+Provides: myspell-dictionary, myspell-dictionary-lv, openoffice.org-spellcheck-lv, openoffice.org-hyphenation-lv
+Conflicts: openoffice.org-hyphenation-lv, openoffice.org (<= 1.0.3-2)
+Replaces: openoffice.org-hyphenation-lv
+Description: Latvian dictionary for Myspell
+ This dictionary contains Latvian wordlists for the MySpell
+ spellchecker currently supported by Mozilla and OpenOffice,
+ plus a Latvian hyphenation pattern for OpenOffice.
+ .
+ This dictionary is not complete yet, but it is the best
+ free solution at this moment.
+
+Package: aspell-lv
+Architecture: all
+Depends: aspell (>=0.60.4), dictionaries-common (>= 0.49.2), ${misc:Depends}
+Provides: aspell-dictionary
+Description: Latvian dictionary for Aspell
+ This dictionary contains Latvian wordlists for the Aspell
+ spellchecker currently supported by GNOME applications.
+ .
+ The dictionary is generated from the MySpell wordlist.
+ .
+ This dictionary is not complete yet, but it is the best
+ free solution at this moment.
--- myspell-lv-0.7.3.orig/debian/aspell-lv.info-aspell
+++ myspell-lv-0.7.3/debian/aspell-lv.info-aspell
@@ -0,0 +1,8 @@
+Language: Latvian (Latvieshu)
+Hash-Name: lv
+Emacsen-Name: latvian
+Casechars: [AÂBCÈDEÇFGÌHIÎJKÍLÏMNÒOPRSÐTUÛVZÞaâbcèdeçfgìhiîjkílïmnòoprsðtuûvzþ]
+Not-Casechars: [^AÂBCÈDEÇFGÌHIÎJKÍLÏMNÒOPRSÐTUÛVZÞaâbcèdeçfgìhiîjkílïmnòoprsðtuûvzþ]
+Additionalchars: [AÂBCÈDEÇFGÌHIÎJKÍLÏMNÒOPRSÐTUÛVZÞaâbcèdeçfgìhiîjkílïmnòoprsðtuûvzþ]
+Otherchars: [-]
+Coding-System: iso-8859-13
--- myspell-lv-0.7.3.orig/debian/myspell-lv.dirs
+++ myspell-lv-0.7.3/debian/myspell-lv.dirs
@@ -0,0 +1,2 @@
+usr/share/myspell/dicts
+usr/share/myspell/infos/ooo
--- myspell-lv-0.7.3.orig/debian/rules
+++ myspell-lv-0.7.3/debian/rules
@@ -0,0 +1,40 @@
+#!/usr/bin/make -f
+#
+# CDBS debian/rules for myspell-lv
+# Martin-Eric Racine <q-funk@iki.fi>
+#
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/utils.mk
+#include /usr/share/cdbs/1/rules/simple-patchsys.mk
+DEB_INSTALL_CHANGELOGS_ALL := changelog.txt
+
+ILANGUAGE=latvian
+LANG_COUNTRY=lv_LV
+DICT_LANG=lv
+
+build:
+ ## Keep upstream myspell dictionary as-is.
+ ## Generate aspell dictionary.
+ # build-depends on aspell because of prezip.
+ cp $(LANG_COUNTRY).aff $(DICT_LANG)_affix.dat
+ cat $(LANG_COUNTRY).dic | sed 1d | prezip > $(DICT_LANG).cwl
+ gzip $(DICT_LANG).cwl
+ touch $(DICT_LANG).rws
+ touch $(DICT_LANG).compat
+ echo "add $(DICT_LANG).rws" > ./$(DICT_LANG).multi
+ echo "add $(DICT_LANG).multi" > ./$(ILANGUAGE).alias
+
+clean::
+ # Clean myspell files (nothing to clean).
+ # Clean aspell files.
+ rm -f *.alias *_affix.dat *.compat *.multi *.rws *.*wl*
+
+install/myspell-$(DICT_LANG)::
+ installdeb-myspell --package=myspell-$(DICT_LANG)
+ # Override: source: build-depends-without-arch-dep (needed by clean target)
+
+install/aspell-$(DICT_LANG)::
+ installdeb-aspell --package=aspell-$(DICT_LANG)
+
+common-binary-post-install-arch common-binary-post-install-indep:: list-missing
+#EOF
--- myspell-lv-0.7.3.orig/debian/myspell-lv.links
+++ myspell-lv-0.7.3/debian/myspell-lv.links
@@ -0,0 +1,8 @@
+/usr/share/hyphen/hyph_lv_LV.dic /usr/share/myspell/dicts/hyph_lv_LV.dic
+/usr/share/hunspell/lv_LV.aff /usr/share/myspell/dicts/lv_LV.aff
+/usr/share/hunspell/lv_LV.dic /usr/share/myspell/dicts/lv_LV.dic
+/usr/share/hunspell/lv_LV.aff /usr/share/hunspell/lv-LV.aff
+/usr/share/hunspell/lv_LV.dic /usr/share/hunspell/lv-LV.dic
+/usr/share/hunspell/lv-LV.aff /usr/share/myspell/dicts/lv-LV.aff
+/usr/share/hunspell/lv-LV.dic /usr/share/myspell/dicts/lv-LV.dic
+
--- myspell-lv-0.7.3.orig/debian/watch
+++ myspell-lv-0.7.3/debian/watch
@@ -0,0 +1,4 @@
+# format version number, currently 3; this line is compulsory!
+version=3
+http://sf.net/openoffice-lv/lv_LV-(.*)\.zip \
+ debian uupdate
--- myspell-lv-0.7.3.orig/debian/aspell-lv.postinst
+++ myspell-lv-0.7.3/debian/aspell-lv.postinst
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+#DEBHELPER#
--- myspell-lv-0.7.3.orig/debian/compat
+++ myspell-lv-0.7.3/debian/compat
@@ -0,0 +1 @@
+5
--- myspell-lv-0.7.3.orig/debian/aspell-lv.install
+++ myspell-lv-0.7.3/debian/aspell-lv.install
@@ -0,0 +1,7 @@
+*.multi usr/lib/aspell
+*.alias usr/lib/aspell
+*.dat usr/lib/aspell
+debian/*.dat usr/lib/aspell
+*.cwl.gz usr/share/aspell
+*.compat var/lib/aspell
+*.rws var/lib/aspell
--- myspell-lv-0.7.3.orig/debian/myspell-lv.install
+++ myspell-lv-0.7.3/debian/myspell-lv.install
@@ -0,0 +1,3 @@
+lv_LV.aff usr/share/hunspell
+lv_LV.dic usr/share/hunspell
+hyph_lv_LV.dic usr/share/hyphen
--- myspell-lv-0.7.3.orig/debian/source.lintian-overrides
+++ myspell-lv-0.7.3/debian/source.lintian-overrides
@@ -0,0 +1,3 @@
+# reason: needed by clean target.
+myspell-lv source: build-depends-without-arch-dep
+
--- myspell-lv-0.7.3.orig/debian/copyright
+++ myspell-lv-0.7.3/debian/copyright
@@ -0,0 +1,18 @@
+This package was debianized by Aigars Mahinovs <aigarius@aigarius.koyanet.lv> on
+Sun, 24 Aug 2003 01:44:40 +0300.
+
+It was downloaded from <http://sourceforge.net>
+
+Copyright:
+
+ Copyright (C) 2002-2008, Janis Eisaks <jancs@dv.lv>
+
+License:
+
+ This package is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as published by
+ the Free Software Foundation; either version 2.1 of the License, or (at
+ your option) any later version.
+
+ On Debian systems, the complete text of the GNU Lesser General Public
+ License can be found in </usr/share/common-licenses/LGPL>.
--- myspell-lv-0.7.3.orig/debian/lv.dat
+++ myspell-lv-0.7.3/debian/lv.dat
@@ -0,0 +1,6 @@
+name lv
+charset iso-8859-13
+soundslike generic
+affix lv
+affix-compress true
+special ' -*- . -*- - -*-
--- myspell-lv-0.7.3.orig/debian/aspell-lv.dirs
+++ myspell-lv-0.7.3/debian/aspell-lv.dirs
@@ -0,0 +1,4 @@
+usr/lib/aspell
+usr/share/aspell
+var/lib/aspell
+