--- hunspell-se-1.0~beta6.20081222.orig/Makefile +++ hunspell-se-1.0~beta6.20081222/Makefile @@ -1,5 +1,6 @@ DESTDIR = -DICTDIR = /usr/share/myspell/dicts +DICTDIR = /usr/share/hunspell +OLDDICTDIR = /usr/share/myspell/dicts DICTIONARYLIST = $(DICTDIR)/dictionary.lst INSTALL = install -m755 @@ -9,6 +10,7 @@ install: $(INSTALL) -d $(DESTDIR)$(DICTDIR) + $(INSTALL) -d $(DESTDIR)$(OLDDICTDIR) $(INSTALL_DATA) se.aff se.dic $(DESTDIR)$(DICTDIR)/. cat hunspell-se >> $(DESTDIR)$(DICTIONARYLIST) cd $(DESTDIR)$(DICTDIR) && \ @@ -18,5 +20,14 @@ ln -s se.aff se_NO.aff && \ ln -s se.dic se_SE.dic && \ ln -s se.aff se_SE.aff + cd $(DESTDIR)/$(OLDDICTDIR) && \ + ln -s ../../hunspell/se.dic se.dic && \ + ln -s ../../hunspell/se.aff se.aff && \ + ln -s ../../hunspell/se_FI.dic se_FI.dic && \ + ln -s ../../hunspell/se_FI.aff se_FI.aff && \ + ln -s ../../hunspell/se_NO.dic se_NO.dic && \ + ln -s ../../hunspell/se_NO.aff se_NO.aff && \ + ln -s ../../hunspell/se_SE.dic se_SE.dic && \ + ln -s ../../hunspell/se_SE.aff se_SE.aff clean: --- hunspell-se-1.0~beta6.20081222.orig/debian/changelog +++ hunspell-se-1.0~beta6.20081222/debian/changelog @@ -0,0 +1,24 @@ +hunspell-se (1.0~beta6.20081222-1.1) unstable; urgency=low + + * Non-maintainer upload. + * move dict to /usr/share/hunspell with compat symlinks from + /usr/share/myspell/dicts (closes: #541908) + + -- Rene Engelhard Thu, 24 Sep 2009 00:16:31 +0200 + +hunspell-se (1.0~beta6.20081222-1) unstable; urgency=low + + * New upstream version. + - Updated AFF files and word list. + + -- Petter Reinholdtsen Fri, 23 Jan 2009 16:46:17 +0100 + +hunspell-se (1.0~beta1.20080601-1) unstable; urgency=low + + * Initial upload (Closes: #483793). + * This package only work with OpenOffice.org version 2.4 or newer, + as the required language code was added to OOo in that version. + Not conflicting with openoffice.org-core (<< 1:2.4) to enforce + this, to avoid upgrade problems. + + -- Petter Reinholdtsen Sun, 1 Jun 2008 13:11:00 +0200 --- hunspell-se-1.0~beta6.20081222.orig/debian/control +++ hunspell-se-1.0~beta6.20081222/debian/control @@ -0,0 +1,21 @@ +Source: hunspell-se +Priority: optional +Section: text +Maintainer: Petter Reinholdtsen +Standards-Version: 3.7.3 +Homepage: http://www.divvun.no/ +Build-Depends: debhelper (>= 5), cdbs + +Package: hunspell-se +Architecture: all +Depends: ${misc:Depends}, dictionaries-common (>= 0.10) | openoffice.org-updatedicts +Suggests: hunspell, openoffice.org-hunspell | openoffice.org-core (>= 1:2.4) +Conflicts: openoffice.org-core (<< 1:2.4) +Provides: hunspell-dictionary, hunspell-dictionary-se +Description: North Sámi Hunspell dictionary + This package contains all the required files to add support for + the language North Sámi to the hunspell spell checker which is + currently used in OpenOffice.org2 and as an ispell clone. + . + This hunspell dictionary is part of the Divvun project to create Sámi + proofing tools. --- hunspell-se-1.0~beta6.20081222.orig/debian/rules +++ hunspell-se-1.0~beta6.20081222/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/class/makefile.mk +include /usr/share/cdbs/1/rules/debhelper.mk + +install/hunspell-se:: + mkdir -p $(DEB_DESTDIR)/usr/share/myspell/infos/ooo + $(MAKE) install DESTDIR=$(DEB_DESTDIR) DICTIONARYLIST=/usr/share/myspell/infos/ooo/hunspell-se --- hunspell-se-1.0~beta6.20081222.orig/debian/hunspell-se.postinst +++ hunspell-se-1.0~beta6.20081222/debian/hunspell-se.postinst @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +if [ "$1" = "configure" ]; then + update-openoffice-dicts +fi + +#DEBHELPER# --- hunspell-se-1.0~beta6.20081222.orig/debian/compat +++ hunspell-se-1.0~beta6.20081222/debian/compat @@ -0,0 +1 @@ +5 --- hunspell-se-1.0~beta6.20081222.orig/debian/hunspell-se.postrm +++ hunspell-se-1.0~beta6.20081222/debian/hunspell-se.postrm @@ -0,0 +1,7 @@ +#!/bin/sh + +if [ "$1" = "remove" ]; then + update-openoffice-dicts +fi + +#DEBHELPER# --- hunspell-se-1.0~beta6.20081222.orig/debian/copyright +++ hunspell-se-1.0~beta6.20081222/debian/copyright @@ -0,0 +1,34 @@ +This package was debianized by the author Petter Reinholdtsen + on Sat May 31 11:53:00 CEST 2008. + +The package is Copyright (C) 2008 The Norwegian Sami Parliament, +divvun@samediggi.no + +It was downloaded from + + +It is dual licensed using GPL version 3 and OASIS distribution +license v0.1. + +This is the text of the OASIS distribution license: + + OASIS distribution license agreement 0.1 from 2005-11-10 + + Without any modifications this dictionary may be distributed with + programs that support the OASIS Open Document Format for Office + Applications and whose PRIMARY format for saving documents is the + Open Document Format. + + This requires that all licenses and copyright files are also + distributed together with the package the dictionary is shipped + with. + + Any modifications of the dictionary files are not allowed for this + agreement, modifications require the use of the GNU GENERAL PUBLIC + LICENSE. + + If you have questions or don't get along with this, send me your + comments/questions/ideas to divvun@samediggi.no + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-3'.