Accepting request 35476 from Base:System

Copy from Base:System/dicts based on submit request 35476 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/35476
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dicts?expand=0&rev=10
This commit is contained in:
OBS User autobuild 2010-03-22 15:55:12 +00:00 committed by Git OBS Bridge
parent f46c5b8ad3
commit 1c030c82e9
4 changed files with 8 additions and 336 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Mar 16 18:36:59 CET 2010 - werner@suse.de
- Remove igerman98 as we have now an own package (bnc#547549)
-------------------------------------------------------------------
Fri Dec 25 11:00:52 UTC 2009 - coolo@novell.com

View File

@ -24,7 +24,7 @@ License: BSD3c(or similar) ; GPLv2+ ; Public Domain, Freeware
Group: Productivity/Text/Spell
AutoReqProv: on
Version: 1.5
Release: 390
Release: 391
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Ispell Dictionary Files
#
@ -50,7 +50,6 @@ Source13: ellhnika.tar.bz2
Source14: rus-ispell.tar.bz2
Source15: eo-spell.tar.bz2
Source16: slovensko.tar.bz2
Source17: igerman98-20091006.tar.bz2
Source18: br.ispell-2.4.tar.bz2
Source19: finnish.tar.bz2
Source20: estonian.tar.bz2
@ -62,12 +61,6 @@ This package contains sources for 14 ispell dictionaries:
for German (already compiled for ispell in package ispell-german)
for New German (already compiled for ispell in package ispell-ngerman)
for New Swiss (already compiled for ispell in package ispell-nswiss)
for New Austrian (already compiled for ispell in package ispell-naustrian)
for Danish (already compiled for ispell in package ispell-danish)
for Spanish (already compiled for ispell in package
@ -132,54 +125,6 @@ Authors:
--------
Heinz Knutzen <hk@informatik.uni-kiel.d400.de>
%package -n ispell-nswiss
License: GPLv2+
Summary: New Swiss ispell dictionary
Group: Productivity/Text/Spell
Provides: ispell_dictionary inswiss locale(ispell:de_CH)
Obsoletes: inswiss
AutoReqProv: on
%description -n ispell-nswiss
This packages includes a ready swiss dictionary for ispell according
the new spelling rules. The name of the dictonary is swiss to be able
to distinguish it from those of the german packages. A short usage
description is given in /usr/share/doc/packages/ispell/README of the
packages ispell. The sources for this dictionary are included in the
package dicts.
%package -n ispell-naustrian
License: GPLv2+
Summary: New Austrian ispell dictionary
Group: Productivity/Text/Spell
Provides: ispell_dictionary inaustrian locale(ispell:de_AT)
Obsoletes: inswiss
AutoReqProv: on
%description -n ispell-naustrian
This packages includes a ready austrian dictionary for ispell according
the new spelling rules. The name of the dictonary is swiss to be able
to distinguish it from those of the german packages. A short usage
description is given in /usr/share/doc/packages/ispell/README of the
packages ispell. The sources for this dictionary are included in the
package dicts.
%package -n ispell-ngerman
License: BSD3c(or similar) ; GPLv2+
Summary: New German ispell dictionary
Group: Productivity/Text/Spell
Provides: ispell_dictionary ingerman locale(ispell:de;de_DE)
Obsoletes: ingerman
AutoReqProv: on
%description -n ispell-ngerman
This packages includes a ready german dictionary for ispell according
the new spelling rules. The name of the dictonary is german to be able
to distinguish it from those of the package igerman. A short usage
description is given in /usr/share/doc/packages/ispell/README of the
packages ispell. The sources for this dictionary are included in the
package dicts.
%package -n ispell-danish
License: GPLv2+
Summary: Danish ispell dictionary
@ -463,29 +408,6 @@ the package dicts.
/usr/lib/ispell/deutschmed.hash
%doc /usr/share/doc/packages/ispell-german/
%files -n ispell-ngerman
%defattr(-, root, root)
/usr/bin/rmligs
%doc %{_mandir}/man1/rmligs.1.gz
/usr/lib/ispell/emacs/german.el
/usr/lib/ispell/german.aff
/usr/lib/ispell/german.hash
%doc /usr/share/doc/packages/ispell-ngerman/
%files -n ispell-nswiss
%defattr(-, root, root)
/usr/lib/ispell/emacs/swiss.el
/usr/lib/ispell/swiss.aff
/usr/lib/ispell/swiss.hash
%doc /usr/share/doc/packages/ispell-nswiss/
%files -n ispell-naustrian
%defattr(-, root, root)
/usr/lib/ispell/emacs/austrian.el
/usr/lib/ispell/austrian.aff
/usr/lib/ispell/austrian.hash
%doc /usr/share/doc/packages/ispell-naustrian/
%files -n ispell-danish
%defattr(-, root, root)
/usr/lib/ispell/emacs/dansk.el

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:47f6f9c09926fdb0505a1415a3798755ce52e531889417fe38789371c58b1a51
size 466677

View File

@ -1,6 +1,6 @@
--- Makefile.Linux
+++ Makefile.Linux 2006-04-12 17:34:50.000000000 +0200
@@ -0,0 +1,249 @@
@@ -0,0 +1,241 @@
+#
+#
+#
@ -15,7 +15,6 @@
+
+DICTDIR = /usr/src/dicts
+DEUTSCH = hk2-deutsch
+GERMAN = igerman98-20091006
+FRANCAIS = francais-IREQ-1.4
+DANSK = idanish-1.2.1
+ESPANOL = espa~nol-1.5
@ -43,7 +42,6 @@
+# to avoid trouble with a changed MASKBITS size.
+#
+extract: $(DEUTSCH)/.touch \
+ $(GERMAN)/.touch \
+ $(FRANCAIS)/.touch \
+ $(DANSK)/.touch \
+ $(ESPANOL)/.touch \
@ -81,12 +79,6 @@
+ cd $(DEUTSCH)/ && touch Makefile
+ @touch $@
+
+$(GERMAN)/.touch: ../$(GERMAN).tar.bz2
+ tar xjf $< -C ./
+ cd $(GERMAN)/ && mv ispell/de_DE.aff.in ispell/de_DE.aff.in-bj
+ cd $(GERMAN)/ && touch Makefile
+ @touch $@
+
+$(FRANCAIS)/.touch: ../$(FRANCAIS).tar.bz2
+ mkdir -p $(FRANCAIS)
+ tar xjf $< -C ./$(FRANCAIS)/
@ -252,7 +244,7 @@
+dummy:
--- README.dicts
+++ README.dicts 2006-04-12 17:34:50.000000000 +0200
@@ -0,0 +1,58 @@
@@ -0,0 +1,56 @@
+
+ Readme for dicts
+ ================
@ -266,7 +258,6 @@
+ espa~nol-1.5
+ francais-IREQ-1.4
+ hk2-deutsch
+ igerman98-20091006
+ ispell-czech-20020628
+ idanish-1.2.1
+ ispell-norsk-2.0
@ -296,7 +287,6 @@
+ espa~nol-1.5
+ francais-IREQ-1.4
+ hk2-deutsch
+ igerman98-20091006
+ ispell-czech-20020628
+ idanish-1.2.1
+ ispell-norsk-2.0
@ -1478,179 +1468,6 @@
suffixes
--- igerman98-20091006/LC_CTYPE
+++ igerman98-20091006/LC_CTYPE 2006-04-12 17:34:50.000000000 +0200
@@ -0,0 +1 @@
+de_DE.ISO-8859-1
--- igerman98-20091006/Makefile
+++ igerman98-20091006/Makefile 2009-10-19 14:47:53.275429305 +0200
@@ -4,6 +4,22 @@
#
# Copyright: GNU GPLv2 and GPLv3
+##
+## SuSE stuff
+##
+
+MAKE_SORTTMP = -T /var/tmp
+SORT = sort -u -t/ -k 1f,1 -k 1 $(MAKE_SORTTMP)
+FIX8BIT = ../fix8bit
+PACKNAME = ispell-ngerman
+SPACKNAME = ispell-nswiss
+APACKNAME = ispell-naustrian
+DOCDIR = /usr/share/doc/packages/$(PACKNAME)
+SDOCDIR = /usr/share/doc/packages/$(SPACKNAME)
+ADOCDIR = /usr/share/doc/packages/$(APACKNAME)
+MANDIR = /usr/share/man/man1
+LIBDIR = $(shell ispell -vv|grep LIBDIR|sed "s/.*\=//;s/^ //g" |tr -d \")
+
LANGS=de_DE de_AT de_CH
LANGS2=$(LANGS) de_all
DATE=`date +%Y%m%d`
@@ -11,16 +25,8 @@ VERSION=`cat VERSION`
VERSION_EXTRA=$(shell find . -name "VERSION.*" -print | while read i ; do echo -n "+"; head -1 "$$i" | tr -d "\n" ; done)
VERSION_STRING=$(VERSION)$(VERSION_EXTRA) (build $(DATE))
-all:
- @echo "A default make target doesn't exist. You might want to use one of those:"
- @echo " make hunspell/de_DE.dic hunspell/de_DE.aff (or de_AT or de_CH)"
- @echo " make myspell/de_DE.dic myspell/de_DE.aff (or de_AT or de_CH)"
- @echo " make ispell/de_DE.aff ispell/de_DE.hash (or de_AT, de_CH ...)"
- @echo " make aspell/de_DE.rws (or de_AT, de_CH ...)"
- @echo " make ligature/rmligs"
- @echo " make isowordlist-de_DE (or de_AT, de_CH ...)"
- @echo "Did I forget an important one ?-)"
-
+all: ispell/de_DE.aff ispell/de_DE.hash ispell/de_AT.aff ispell/de_AT.hash ispell/de_CH.aff ispell/de_CH.hash ligature/rmligs
+install: german-install swiss-install austrian-install rmligs-install
#MYLANG = $(shell echo -n $@ | sed "s/^.*_\(de_.*$$\)/\1/")
@@ -49,13 +54,52 @@ WORDS_BLACKLISTS_$(1) = $$(shell $$(FIND
endef
$(foreach langcode,$(LANGS2),$(eval $(call WORDS_define_template,$(langcode))))
-ISPELLIBDIR = $$($(ISPELL) -vv |grep "LIBDIR" |$(SED) "s/.*\=//" |tr -d \")
+ISPELLIBDIR = $$($(ISPELL) -vv |grep "LIBDIR" |$(SED) "s/.*\=//;s/^ //g" |tr -d \")
DESTDIR =
+
+german-install: ispell/de_DE.aff ispell/de_DE.hash
+ mkdir -p $(DESTDIR)$(ISPELLIBDIR)
+ cp ispell/de_DE.aff $(DESTDIR)$(ISPELLIBDIR)/german.aff
+ cp ispell/de_DE.hash $(DESTDIR)$(ISPELLIBDIR)/german.hash
+ mkdir -p $(DESTDIR)$(DOCDIR)
+ cp Documentation/README $(DESTDIR)$(DOCDIR)/
+ cp Documentation/Copyright $(DESTDIR)$(DOCDIR)/
+ cp Documentation/GPL2 $(DESTDIR)$(DOCDIR)/
+ cp Documentation/Changes $(DESTDIR)$(DOCDIR)/
+
+swiss-install: ispell/de_CH.aff ispell/de_CH.hash
+ mkdir -p $(DESTDIR)$(ISPELLIBDIR)
+ mkdir -p $(DESTDIR)$(SDOCDIR)
+ cp ispell/de_CH.aff $(DESTDIR)$(ISPELLIBDIR)/swiss.aff
+ cp ispell/de_CH.hash $(DESTDIR)$(ISPELLIBDIR)/swiss.hash
+ cp Documentation/README.swiss $(DESTDIR)$(SDOCDIR)/README
+ cp Documentation/Copyright $(DESTDIR)$(SDOCDIR)/
+ cp Documentation/GPL2 $(DESTDIR)$(SDOCDIR)/
+ cp Documentation/Changes $(DESTDIR)$(SDOCDIR)/
+
+austrian-install: ispell/de_AT.aff ispell/de_AT.hash
+ mkdir -p $(DESTDIR)$(ISPELLIBDIR)
+ cp ispell/de_AT.aff $(DESTDIR)$(ISPELLIBDIR)/austrian.aff
+ cp ispell/de_AT.hash $(DESTDIR)$(ISPELLIBDIR)/austrian.hash
+ mkdir -p $(DESTDIR)$(ADOCDIR)
+ cp Documentation/README $(DESTDIR)$(ADOCDIR)/
+ cp Documentation/Copyright $(DESTDIR)$(ADOCDIR)/
+ cp Documentation/GPL2 $(DESTDIR)$(ADOCDIR)/
+ cp Documentation/Changes $(DESTDIR)$(ADOCDIR)/
+
+rmligs-install: ligature/rmligs
+ mkdir -p $(DESTDIR)/usr/bin
+ install -m 0755 ligature/rmligs $(DESTDIR)/usr/bin/
+ mkdir -p $(DESTDIR)$(DOCDIR)
+ cp Documentation/README.ligatures $(DESTDIR)$(DOCDIR)/
+ mkdir -p $(DESTDIR)$(MANDIR)
+ cp ligature/rmligs.1 $(DESTDIR)$(MANDIR)/
+
# make might have to be GNU make,
# please report problems with other make versions to me.
MAKE = make
FIND = find
-SORT = sort
+#SORT = sort
TAR = tar
SED = sed
NL = nl
@@ -129,6 +165,9 @@ LC_COLLATE=C
## Ispell stuff:
###
+ispell/de_DE.aff.in: ispell/de_DE.aff.in-bj $(FIX8BIT)
+ $(FIX8BIT) -8 < ispell/de_DE.aff.in-bj > ispell/de_DE.aff.in
+
ispell/de_AT.aff ispell/de_DE.aff: ispell/de_DE.aff.in
$(CP) ispell/de_DE.aff.in $@
@@ -142,9 +181,10 @@ ispell/$(1).hash: ispell/$(1).aff all.wo
$(BUILDHASH) all.words.munch.$(1).tmp ./ispell/$(1).aff $$@
all.words.$(1).tmp: $$(WORDS_$(1)) $$(WORDS_de_all) dicts/abkuerzpunkt.txt
+ LC_CTYPE=de_DE.ISO-8859-1 ; export LC_CTYPE ; \
$(SED) "s/qq//g;s/\.//;s/\-.*//" dicts/abkuerzpunkt.txt $$(WORDS_$(1)) $$(WORDS_de_all) \
| (test -e ./bin/conv_dict_$(1) && ./bin/conv_dict_$(1) || cat) \
- | grep -v "\/.*d" | grep -v "##" | $(SED) "s/#.*//" | ./bin/myspellfixprefix.pl | $(SORT) -u > $$@
+ | grep -v "\/.*d" | grep -v "##" | $(SED) "s/#.*//" | ./bin/myspellfixprefix.pl | $(SORT) > $$@
all.words.munch.$(1).tmp: all.words.$(1).tmp ispell/$(1).aff
@# the munched way to overcome "Hash table overflowed by xxxx words" error:
@@ -157,7 +197,8 @@ ispell/$(1)_null.hash: ispell/$(1)_null.
$(BUILDHASH) all.words.placebo.tmp ispell/$(1)_null.aff $$@
isowordlist-$(1): $(AFFIX_EXPAND_PREREQ) all.words.$(MUNCH_PFX)$(1).tmp
- $(AFFIX_EXPAND_COMMAND) < all.words.$(MUNCH_PFX)$(1).tmp |tr ' ' '\n' |$(SED) -f ./bin/dic2iso | $(SORT) -u > $$@
+ LC_CTYPE=de_DE.ISO-8859-1 ; export LC_CTYPE ; \
+ $(AFFIX_EXPAND_COMMAND) < all.words.$(MUNCH_PFX)$(1).tmp |tr ' ' '\n' |$(SED) -f ./bin/dic2iso | $(SORT) > $$@
endef
$(foreach langcode,$(LANGS),$(eval $(call LANG_ispell_dict_template,$(langcode))))
@@ -395,23 +436,25 @@ ispell/liglist_null.hash: ispell/liglist
$(BUILDHASH) all.words.placebo.tmp ispell/$(1)_null.aff $$@
all.words.liglist.tmp: $(foreach langcode,$(LANGS2),$(WORDS_$(langcode)))
+ LC_CTYPE=de_DE.ISO-8859-1 ; export LC_CTYPE ; \
$(SED) "s/\.//" $(foreach langcode,$(LANGS2),$(WORDS_$(langcode))) | \
grep -v "\/.*d" | grep -v "##" | $(SED) "s/#.*//" | \
- $(SORT) -u > $$@
+ $(SORT) > $$@
liglist.tmp: $(AFFIX_EXPAND_PREREQ) all.words.liglist.tmp
+ LC_CTYPE=de_DE.ISO-8859-1 ; export LC_CTYPE ; \
cat ligature/oldspell.liglist all.words.liglist.tmp \
| $(AFFIX_EXPAND_COMMAND) \
| tr \ '\n' \
| grep qq \
- | $(SORT) -u \
+ | $(SORT) \
| $(SED) 's/fqqf/f\|f/g;s/fqql/f\|l/g;s/fqqi/f\|i/g' \
| grep \| \
| $(SED) s/qq//g \
| $(SED) -f ./bin/dic2iso \
| tr A-Z a-z \
- | $(SORT) -u \
+ | $(SORT) \
> $$@
ligature/rmligs: liglist.tmp ligature/rmligs.skel
@@ -442,7 +485,7 @@ clean:
sort:
@if grep [äöüÄÖÜß] dicts/*.txt ;then echo "!!! illegal ISO-8859-1 characters in dictionary files !!!";exit 1;fi
@if LC_ALL=de_DE.UTF-8 grep [`echo -n "äöüÄÖÜß"|iconv -f iso8859-1 -t utf-8`] dicts/*.txt ;then echo "!!! illegal UTF-8 characters in dictionary files !!!";exit 1;fi
- $(FIND) ./dicts/ -name "*.txt" -print -o -name "blacklist*" -print | while read i; do $(SORT) -u -o "$$i" "$$i"; done
+ $(FIND) ./dicts/ -name "*.txt" -print -o -name "blacklist*" -print | while read i; do $(SORT) -o "$$i" "$$i"; done
pack: sort
exit 1
--- ispell-czech/LC_CTYPE
+++ ispell-czech/LC_CTYPE 2006-04-12 17:34:50.000000000 +0200
@@ -0,0 +1 @@
@ -2877,29 +2694,6 @@
# Plain LaTeX files
#
altstringtype "latex" "tex" ".tex" ".bib"
--- suse/emacs/austrian.el
+++ suse/emacs/austrian.el 2007-11-28 13:53:04.789147533 +0100
@@ -0,0 +1,20 @@
+;; Used by ispell-emacs-menu.el
+;; Do *not* byte-compile this file because its loaded by both emacs and xemacs
+
+(append-ispell-dict-alist "austrian.hash"
+ '("austrian-babel"
+ "[a-zA-Z\"]"
+ "[^a-zA-Z\"]" "[']" t ("-C" "-d" "austrian") "~tex" nil))
+
+(append-ispell-dict-alist "austrian.hash"
+ '("austrian"
+ "[a-zA-Z\304\326\334\344\366\337\374]"
+ "[^a-zA-Z\304\326\334\344\366\337\374]"
+ "[']" t ("-C" "-d" "austrian") "~latin1" iso-latin-1))
+
+(append-ispell-dict-alist "austrian.hash"
+ '("austrian-utf8"
+ "[a-zA-Z\303\204\303\226\303\234\303\244\303\266\303\237\303\274]"
+ "[^a-zA-Z\303\204\303\226\303\234\303\244\303\266\303\237\303\274]"
+ "[']" t ("-C" "-d" "austrian") "~utf8" utf-8))
+
--- suse/emacs/brazilian.el
+++ suse/emacs/brazilian.el 2007-11-28 13:54:24.391250588 +0100
@@ -0,0 +1,21 @@
@ -3148,29 +2942,6 @@
+ "[^[:alpha:]]"
+ "[---']" t ("-d" "francais") "~utf8" utf-8))
+
--- suse/emacs/german.el
+++ suse/emacs/german.el 2007-11-28 13:53:04.789147533 +0100
@@ -0,0 +1,20 @@
+;; Used by ispell-emacs-menu.el
+;; Do *not* byte-compile this file because its loaded by both emacs and xemacs
+
+(append-ispell-dict-alist "german.hash"
+ '("german-babel"
+ "[a-zA-Z\"]"
+ "[^a-zA-Z\"]" "[']" t ("-C" "-d" "german") "~tex" nil))
+
+(append-ispell-dict-alist "german.hash"
+ '("german"
+ "[a-zA-Z\304\326\334\344\366\337\374]"
+ "[^a-zA-Z\304\326\334\344\366\337\374]"
+ "[']" t ("-C" "-d" "german") "~latin1" iso-latin-1))
+
+(append-ispell-dict-alist "german.hash"
+ '("german-utf8"
+ "[a-zA-Z\303\204\303\226\303\234\303\244\303\266\303\237\303\274]"
+ "[^a-zA-Z\303\204\303\226\303\234\303\244\303\266\303\237\303\274]"
+ "[']" t ("-C" "-d" "german") "~utf8" utf-8))
+
--- suse/emacs/italian.el
+++ suse/emacs/italian.el 2007-11-28 14:14:57.943847723 +0100
@@ -0,0 +1,21 @@
@ -3362,29 +3133,6 @@
+ "[^[:alpha:]]"
+ "[']" nil ("-C" "-d" "svenska") "~utf8" utf-8))
+
--- suse/emacs/swiss.el
+++ suse/emacs/swiss.el 2007-11-28 14:25:30.772209590 +0100
@@ -0,0 +1,20 @@
+;; Used by ispell-emacs-menu.el
+;; Do *not* byte-compile this file because its loaded by both emacs and xemacs
+
+(append-ispell-dict-alist "swiss.hash"
+ '("swiss-babel"
+ "[a-zA-Z\"]"
+ "[^a-zA-Z\"]" "[']" t ("-C" "-d" "swiss") "~tex" nil))
+
+(append-ispell-dict-alist "swiss.hash"
+ '("swiss"
+ "[a-zA-Z\304\326\334\344\366\337\374]"
+ "[^a-zA-Z\304\326\334\344\366\337\374]"
+ "[']" t ("-C" "-d" "swiss") "~latin1" iso-latin-1))
+
+(append-ispell-dict-alist "swiss.hash"
+ '("swiss-utf8"
+ "[a-zA-Z\303\204\303\226\303\234\303\244\303\266\303\237\303\274]"
+ "[^a-zA-Z\303\204\303\226\303\234\303\244\303\266\303\237\303\274]"
+ "[']" t ("-C" "-d" "swiss") "~utf8" utf-8))
+
--- suse/emacs/template.el
+++ suse/emacs/template.el 2007-11-28 14:47:56.791132993 +0100
@@ -8,8 +8,14 @@