tags 541930 + patch
thanks

Dear maintainer,

I've prepared an NMU for ispell-fi (versioned as 0.7-17.2) and
uploaded it.

Grüße/Regards,

Rene
diff -u ispell-fi-0.7/debian/changelog ispell-fi-0.7/debian/changelog
--- ispell-fi-0.7/debian/changelog
+++ ispell-fi-0.7/debian/changelog
@@ -1,3 +1,12 @@
+ispell-fi (0.7-17.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * move dict to /usr/share/hunspell and add compat symlinks
+    from /usr/share/myspell/dicts (closes: #541930)
+  * fix clean-build: target
+
+ -- Rene Engelhard <[email protected]>  Thu, 01 Oct 2009 23:17:28 +0200
+
 ispell-fi (0.7-17.1) unstable; urgency=medium
 
   * Non-maintainer upload.
@@ -255 +263,0 @@
-.
reverted:
--- ispell-fi-0.7/debian/myspell-fi.postinst.debhelper
+++ ispell-fi-0.7.orig/debian/myspell-fi.postinst.debhelper
@@ -1,185 +0,0 @@
-# Automatically added by installdeb-myspell
-if [ "$1" = "configure" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "configure" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "configure" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "configure" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "configure" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "configure" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "configure" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "configure" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "configure" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "configure" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "configure" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "configure" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "configure" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "configure" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "configure" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "configure" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "configure" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "configure" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "configure" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "configure" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "configure" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "configure" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "configure" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "configure" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "configure" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "configure" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "configure" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "configure" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "configure" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "configure" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "configure" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "configure" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "configure" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "configure" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "configure" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "configure" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "configure" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
diff -u ispell-fi-0.7/debian/rules ispell-fi-0.7/debian/rules
--- ispell-fi-0.7/debian/rules
+++ ispell-fi-0.7/debian/rules
@@ -7,7 +7,8 @@
 
 ispelldir = $(rootdir)/usr/lib/ispell
 wordlistdir = $(rootdir)/usr/share/dict
-myspellwordlistdir = $(rootdir)/usr/share/myspell/dicts
+myspellwordlistdir = $(rootdir)/usr/share/hunspell
+oldmyspellwordlistdir = $(rootdir)/usr/share/myspell/dicts
 aspellwordlistdir = $(rootdir)/usr/lib/aspell
 aspellsharedir = $(rootdir)/usr/lib/aspell
 
@@ -147,8 +148,16 @@
 	( echo `cat finnish.dict | wc -l`; cat finnish.dict ) > fi_FI.mydict
 	ispellaff2myspell --charset=latin1 --split=200 --myheader=debian/fi_FI.myheader finnish.large.aff > fi_FI.myaff
 	$(install_dir) $(myspellwordlistdir)
+	$(install_dir) $(oldmyspellwordlistdir)
 	$(install_nonex) fi_FI.mydict $(myspellwordlistdir)/fi_FI.dic
 	$(install_nonex) fi_FI.myaff  $(myspellwordlistdir)/fi_FI.aff
+	$(install_symlink) fi_FI.dic $(myspellwordlistdir)/fi-FI.dic
+	$(install_symlink) fi_FI.aff $(myspellwordlistdir)/fi-FI.aff
+	$(install_symlink) ../../hunspell/dicts/fi_FI.dic $(oldmyspellwordlistdir)/fi_FI.dic
+	$(install_symlink) ../../hunspell/dicts/fi_FI.aff $(oldmyspellwordlistdir)/fi_FI.aff
+	$(install_symlink) ../../hunspell/dicts/fi-FI.dic $(oldmyspellwordlistdir)/fi-FI.dic
+	$(install_symlink) ../../hunspell/dicts/fi-FI.aff $(oldmyspellwordlistdir)/fi-FI.aff
+ 
 	installdeb-myspell -pmyspell-fi -Pdebian/tmp/myspell-fi
 
 	$(postbinary)
@@ -175,7 +184,7 @@
 	touch $@
 
 clean-build:
-	rm -f debian/myspell-fi/usr/share/myspell/dicts/fi-FI*
+	rm -rf debian/myspell-fi/usr/share/myspell/dicts
 	rm -f finnish.*.hash finnish.data finnish.dict *.aff *.cnt *.stat
 	rm -f debian/*~
 	rm -f fi_FI.myaff fi_FI.mydict
@@ -183,6 +192,9 @@
 		debian/ifinnish-large.info debian/wfinnish.info
 	rm -f   debian/ifinnish.templates debian/ifinnish-small.templates \
 		debian/ifinnish-large.templates debian/wfinnish.templates
+	rm -f debian/myspell-fi.debhelper.log \
+		debian/myspell-fi.postinst.debhelper \
+		debian/myspell-fi.postrm.debhelper
 
 finnish.data : finnish.small.hash
 	set -e ; cat finnish.dict debian/extrawords | ispell -d ./finnish.small -e | \
reverted:
--- ispell-fi-0.7/debian/myspell-fi.postrm.debhelper
+++ ispell-fi-0.7.orig/debian/myspell-fi.postrm.debhelper
@@ -1,185 +0,0 @@
-# Automatically added by installdeb-myspell
-if [ "$1" = "remove" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "remove" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "remove" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "remove" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "remove" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "remove" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "remove" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "remove" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "remove" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "remove" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "remove" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "remove" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "remove" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "remove" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "remove" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "remove" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "remove" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "remove" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "remove" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "remove" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "remove" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "remove" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "remove" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "remove" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "remove" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "remove" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "remove" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "remove" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "remove" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "remove" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "remove" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "remove" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "remove" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "remove" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "remove" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "remove" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
-# Automatically added by installdeb-myspell
-if [ "$1" = "remove" ]; then
-    update-openoffice-dicts
-fi
-# End automatically added section
diff -u ispell-fi-0.7/debian/myspell-fi.dirs ispell-fi-0.7/debian/myspell-fi.dirs
--- ispell-fi-0.7/debian/myspell-fi.dirs
+++ ispell-fi-0.7/debian/myspell-fi.dirs
@@ -1,2 +1,3 @@
+usr/share/hunspell
 usr/share/myspell/dicts
 usr/share/myspell/infos/ooo

Reply via email to