Package: ayaspell-dic
Version: 0.0.0+20080110-1
Severity: normal
Tags: patch

Dear maintainer,

I've prepared an NMU for ayaspell-dic (versioned as 0.0.0+20080110-1.1) and
uploaded it. I didn't hardocde the links but generate them on the fly
so the maintainance efforts should be minimal for supporting all the countries
speaking arabic,

Grüße/Regards,

Rene
diff -u ayaspell-dic-0.0.0+20080110/debian/install ayaspell-dic-0.0.0+20080110/debian/install
--- ayaspell-dic-0.0.0+20080110/debian/install
+++ ayaspell-dic-0.0.0+20080110/debian/install
@@ -1,2 +1,2 @@
-ar.aff usr/share/myspell/dicts/
-ar.dic usr/share/myspell/dicts/
+ar.aff usr/share/hunspell
+ar.dic usr/share/hunspell
diff -u ayaspell-dic-0.0.0+20080110/debian/rules ayaspell-dic-0.0.0+20080110/debian/rules
--- ayaspell-dic-0.0.0+20080110/debian/rules
+++ ayaspell-dic-0.0.0+20080110/debian/rules
@@ -17,6 +17,7 @@
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp configure-stamp
+	rm -f debian/links
 	dh_clean
 
 install: build
@@ -24,6 +25,15 @@
 	dh_testroot
 	dh_clean -k
 	dh_installdirs
+	for l in `cat debian/info-myspell | awk '{ print $$3 }'`; do \
+		echo "/usr/share/hunspell/ar.aff /usr/share/hunspell/ar_$$l.aff" >> debian/links; \
+		echo "/usr/share/hunspell/ar.dic /usr/share/hunspell/ar_$$l.dic" >> debian/links; \
+		echo "/usr/share/hunspell/ar.aff /usr/share/myspell/dicts/ar_$$l.aff" >> debian/links; \
+		echo "/usr/share/hunspell/ar.dic /usr/share/myspell/dicts/ar_$$l.aff" >> debian/links; \
+	done
+	echo "/usr/share/hunspell/ar.aff /usr/share/myspell/dicts/ar.aff" >> debian/links
+	echo "/usr/share/hunspell/ar.dic /usr/share/myspell/dicts/ar.dic" >> debian/links
+
 	dh_install
 
 # Build architecture-independent files here.
diff -u ayaspell-dic-0.0.0+20080110/debian/changelog ayaspell-dic-0.0.0+20080110/debian/changelog
--- ayaspell-dic-0.0.0+20080110/debian/changelog
+++ ayaspell-dic-0.0.0+20080110/debian/changelog
@@ -1,3 +1,12 @@
+ayaspell-dic (0.0.0+20080110-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * add ar_*.{dic,aff} -> ar.{dic,aff} symlinks for OOo3 (closes: #517781)
+  * move dict to /usr/share/hunspell with compat symlink from
+    /usr/share/myspell/dicts (closes: #541912) 
+
+ -- Rene Engelhard <[email protected]>  Sun, 20 Sep 2009 01:58:25 +0200
+
 ayaspell-dic (0.0.0+20080110-1) unstable; urgency=low
 
   * New upstream release

Reply via email to