Here's my NMU patch of to rebuild aspell-fi for Aspell 0.60. Note that
I changed the aspell-fi Arch: field to any, since compiled Aspell
dictionaries are not arch-independent.
Also, installdeb-myspell uses debhelper, so you should call dh_clean in
your clean target. Otherwise some auto-generated files get left behind.
I didn't change this in the NMU though.
--
Society is never going to make any progress until we all learn to
pretend to like each other.
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,15 @@
+ispell-fi (0.7-14.1) unstable; urgency=low
+
+ * Non-maintainer upload
+ * debian/control: change aspell-fi back to Arch: any. Aspell
+ dictionaries are not arch-independent due to endian order dependence.
+ * Transitioned the aspell-fi package to Aspell 0.60 (Closes: #295010)
+ - debian/control: Build-depend on aspell-bin (>> 0.60)
+ - debian/control: Provide aspell6-dictionary
+ - debian/rules: install aspell-fi files into /usr/lib/aspell-0.60
+
+ -- Brian Nelson <[EMAIL PROTECTED]> Fri, 18 Feb 2005 22:27:48 -0800
+
ispell-fi (0.7-14) unstable; urgency=low
* Added aspell-bin build dependency (closes: #263001).
diff -u ispell-fi-0.7/debian/control ispell-fi-0.7/debian/control
--- ispell-fi-0.7/debian/control
+++ ispell-fi-0.7/debian/control
@@ -3,7 +3,7 @@
Section: text
Priority: optional
Standards-Version: 3.6.1.0
-Build-Depends: ispell (>= 3.1.20.0-1.1), dictionaries-common-dev (>= 0.20),
libmyspell-dev (>= 1:3.1-5), bzip2, aspell-bin
+Build-Depends: ispell (>= 3.1.20.0-1.1), dictionaries-common-dev (>= 0.20),
libmyspell-dev (>= 1:3.1-5), bzip2, aspell-bin (>> 0.60)
Package: ifinnish-large
Architecture: any
@@ -85,9 +85,9 @@
spellchecker. It is based on the ispell dictionary.
Package: aspell-fi
-Architecture: all
+Architecture: any
Depends: libaspell15
-Provides: aspell-dictionary
+Provides: aspell6-dictionary
Description: The Finnish dictionary for aspell
This package contains all the required files to add support for the
Finnish language to the GNU Aspell spell checker.
diff -u ispell-fi-0.7/debian/myspell-fi.postinst.debhelper
ispell-fi-0.7/debian/myspell-fi.postinst.debhelper
--- ispell-fi-0.7/debian/myspell-fi.postinst.debhelper
+++ ispell-fi-0.7/debian/myspell-fi.postinst.debhelper
@@ -145,0 +146,5 @@
+# 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
@@ -8,8 +8,8 @@
ispelldir = $(rootdir)/usr/lib/ispell
wordlistdir = $(rootdir)/usr/share/dict
myspellwordlistdir = $(rootdir)/usr/share/myspell/dicts
-aspellwordlistdir = $(rootdir)/usr/lib/aspell
-aspellsharedir = $(rootdir)/usr/share/aspell
+aspellwordlistdir = $(rootdir)/usr/lib/aspell-0.60
+aspellsharedir = $(rootdir)/usr/lib/aspell-0.60
idictbasename=ifinnish
wordsbasename=wfinnish
@@ -163,13 +163,11 @@
$(install_dir) $(aspellsharedir)
$(install_nonex) fi $(aspellwordlistdir)/fi.rws
$(install_nonex) fi.dat $(aspellwordlistdir)/fi.dat
- $(install_nonex) fi.dat $(aspellsharedir)/fi.dat
$(install_nonex) fi_phonet.dat $(aspellsharedir)/fi_phonet.dat
$(install_nonex) debian/info $(aspellwordlistdir)/info
( cd $(aspellwordlistdir) ; perl $(rootdir)/../../proc create )
cp $(aspellwordlistdir)/finnish.alias $(aspellwordlistdir)/suomi.alias
rm -f fi
- rm -f $(aspellwordlistdir)/fi.dat
rm -f $(aspellwordlistdir)/info
rm -f $(aspellwordlistdir)/Makefile.pre
rm -f $(aspellwordlistdir)/configure
diff -u ispell-fi-0.7/debian/myspell-fi.postrm.debhelper
ispell-fi-0.7/debian/myspell-fi.postrm.debhelper
--- ispell-fi-0.7/debian/myspell-fi.postrm.debhelper
+++ ispell-fi-0.7/debian/myspell-fi.postrm.debhelper
@@ -145,0 +146,5 @@
+# Automatically added by installdeb-myspell
+if [ "$1" = "remove" ]; then
+ update-openoffice-dicts
+fi
+# End automatically added section