Author: glen                         Date: Mon Mar  5 19:39:35 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- install en_US in dictionary.lst for ooo

---- Files affected:
SPECS:
   myspell-dictionaries.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/myspell-dictionaries.spec
diff -u SPECS/myspell-dictionaries.spec:1.5 SPECS/myspell-dictionaries.spec:1.6
--- SPECS/myspell-dictionaries.spec:1.5 Sun Mar  4 22:10:27 2007
+++ SPECS/myspell-dictionaries.spec     Mon Mar  5 20:39:30 2007
@@ -1,6 +1,6 @@
 # $Revision$, $Date$
 %define                _ver    1.0.2
-%define                _rel    0.5
+%define                _rel    0.6
 Summary:       MySpell Spelling and Hyphenation dictionaries
 Name:          myspell-dictionaries
 Version:       %{_ver}
@@ -1620,6 +1620,17 @@
        perl -ni -e "/^DICT\s*el\s*GR\s*el_GR$/ or print" 
%{dictdir}/dictionary.lst
 fi
 
+%post -n myspell-en_US
+umask 002
+if [ ! -f "%{dictdir}/dictionary.lst" ] || ! grep -q "^DICT[ \t]*en[ \t]*US[ 
\t]*en_US" %{dictdir}/dictionary.lst; then
+       echo "DICT en US en_US" >> %{dictdir}/dictionary.lst
+fi
+
+%preun -n myspell-en_US
+if [ "$1" = "0" ]; then
+       perl -ni -e "/^DICT\s*en\s*US\s*en_US$/ or print" 
%{dictdir}/dictionary.lst
+fi
+
 %post -n myspell-en_NZ
 umask 002
 if [ ! -f "%{dictdir}/dictionary.lst" ] || ! grep -q "^DICT[ \t]*en[ \t]*NZ[ 
\t]*en_NZ" %{dictdir}/dictionary.lst; then
@@ -2933,6 +2944,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2007/03/05 19:39:30  glen
+- install en_US in dictionary.lst for ooo
+
 Revision 1.5  2007/03/04 21:10:27  glen
 - add mozilla_words.patch
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/myspell-dictionaries.spec?r1=1.5&r2=1.6&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to