Here's my NMU patch for the aspell-no rebuild...  Your
aspell-no.postinst script scared and confused me.  Hopefully I didn't
screw it up...  What's wrong with just relying on LANG/LC_MESSAGES
anyway?

-- 
Society is never going to make any progress until we all learn to
pretend to like each other.
diff -u norwegian-2.0/debian/aspell-no.postinst 
norwegian-2.0/debian/aspell-no.postinst
--- norwegian-2.0/debian/aspell-no.postinst
+++ norwegian-2.0/debian/aspell-no.postinst
@@ -8,12 +8,12 @@
 
   db_get aspell-no/whichvariant || true
   if [ "$RET" ]; then
-    cd /usr/share/aspell
+    cd /usr/lib/aspell-0.60
     rm -f no.dat no
     ln -f -s "$RET.dat" no.dat
     ln -f -s "${RET}_phonet.dat" no_phonet.dat
-    cd /usr/lib/aspell
-    rm -f no norsk
+    cd /usr/lib/aspell-0.60
+    rm -f norsk
     if [ "$RET" = bokmaal ]; then
         ln -sf nb.multi no.multi
     elif [ "$RET" = nynorsk ]; then
diff -u norwegian-2.0/debian/aspell-no.dirs norwegian-2.0/debian/aspell-no.dirs
--- norwegian-2.0/debian/aspell-no.dirs
+++ norwegian-2.0/debian/aspell-no.dirs
@@ -2,3 +2 @@
-usr/share/aspell
-usr/lib/aspell
-usr/share/pspell
+usr/lib/aspell-0.60
diff -u norwegian-2.0/debian/changelog norwegian-2.0/debian/changelog
--- norwegian-2.0/debian/changelog
+++ norwegian-2.0/debian/changelog
@@ -1,3 +1,17 @@
+norwegian (2.0-18.1) unstable; urgency=low
+
+  * Non-maintainer upload
+  * Transitioned the aspell-no package to Aspell 0.60 (Closes: #295007)
+    - debian/control: Build-depend on aspell-bin (>> 0.60)
+    - debian/control: Provide aspell6-dictionary
+    - debian/aspell-no.dirs: install /usr/lib/aspell-0.60 instead of
+      /usr/share/aspell and /usr/lib/aspell, removed obsolete
+      /usr/share/pspell
+    - debian/rules: install aspell-no files into /usr/lib/aspell-0.60
+    - debian/aspell-no.postinst: only muck around in /usr/lib/aspell-0.60
+
+ -- Brian Nelson <[EMAIL PROTECTED]>  Fri, 18 Feb 2005 23:36:08 -0800
+
 norwegian (2.0-18) unstable; urgency=low
 
   * Clarify copyright file.  (closes: #290216)
diff -u norwegian-2.0/debian/control norwegian-2.0/debian/control
--- norwegian-2.0/debian/control
+++ norwegian-2.0/debian/control
@@ -2,7 +2,7 @@
 Section: text
 Priority: optional
 Maintainer: Tollef Fog Heen <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 4), ispell, gawk, perl, aspell (>= 0.50), 
dictionaries-common-dev (>=0.20), ssed, po-debconf, gettext (>= 0.11), 
libmyspell-dev (>= 1:3.1-5)
+Build-Depends: debhelper (>= 4), ispell, gawk, perl, aspell (>> 0.60), 
dictionaries-common-dev (>=0.20), ssed, po-debconf, gettext (>= 0.11), 
libmyspell-dev (>= 1:3.1-5)
 Standards-Version: 3.5.6
 
 Package: inorwegian
@@ -24,7 +24,7 @@
 Package: aspell-no
 Architecture: any
 Depends: aspell, debconf
-Provides: aspell-dictionary
+Provides: aspell6-dictionary
 Description: Norwegian dictionary for aspell
  Those are the Norwegian dictionaries, to be used with
  aspell to check and correct spelling in Norwegian texts.
diff -u norwegian-2.0/debian/rules norwegian-2.0/debian/rules
--- norwegian-2.0/debian/rules
+++ norwegian-2.0/debian/rules
@@ -72,15 +72,15 @@
 
 #      install -m0644 bokmål.alias debian/aspell-no/usr/lib/aspell/bokmål.alias
 #      install -m0644 nynorsk.alias 
debian/aspell-no/usr/lib/aspell/nynorsk.alias
-       install -m0644 nb.multi debian/aspell-no/usr/lib/aspell/nb.multi
-       install -m0644 nn.multi debian/aspell-no/usr/lib/aspell/nn.multi
+       install -m0644 nb.multi debian/aspell-no/usr/lib/aspell-0.60/nb.multi
+       install -m0644 nn.multi debian/aspell-no/usr/lib/aspell-0.60/nn.multi
 
-       install -m0644 nb.dat debian/aspell-no/usr/share/aspell/nb.dat
-       install -m0644 nb.rws debian/aspell-no/usr/lib/aspell/nb.rws
+       install -m0644 nb.dat debian/aspell-no/usr/lib/aspell-0.60/nb.dat
+       install -m0644 nb.rws debian/aspell-no/usr/lib/aspell-0.60/nb.rws
 
-       install -m0644 nn.dat debian/aspell-no/usr/share/aspell/nn.dat
-       install -m0644 nn.rws debian/aspell-no/usr/lib/aspell/nn.rws
-       echo "add no.multi" > debian/aspell-no/usr/lib/aspell/norwegian.alias
+       install -m0644 nn.dat debian/aspell-no/usr/lib/aspell-0.60/nn.dat
+       install -m0644 nn.rws debian/aspell-no/usr/lib/aspell-0.60/nn.rws
+       echo "add no.multi" > 
debian/aspell-no/usr/lib/aspell-0.60/norwegian.alias
 
 # myspell
        install -m644 nb_NO.mydict 
debian/myspell-nb/usr/share/myspell/dicts/nb_NO.dic

Reply via email to