myspell-sv (1.3.8-6-2.2) debian-dir only changes

Summary

 debian/README.Debian              |   15 ++++++
 debian/changelog                  |   36 ++++++++++++++
 debian/compat                     |    1 
 debian/control                    |   18 +++++++
 debian/copyright                  |   42 ++++++++++++++++
 debian/docs                       |    2 
 debian/myspell-sv-se.dictlistinfo |    1 
 debian/myspell-sv-se.install      |    2 
 debian/myspell-sv-se.links        |    7 ++
 debian/postinst.in                |   11 ++++
 debian/postrm.in                  |   11 ++++
 debian/rules                      |   95 ++++++++++++++++++++++++++++++++++++++
 12 files changed, 241 insertions(+)

    
download this patch

Patch contents

--- myspell-sv-1.3.8-6.orig/debian/README.Debian
+++ myspell-sv-1.3.8-6/debian/README.Debian
@@ -0,0 +1,15 @@
+myspell-sv-se for Debian
+------------------------
+
+This package differs from the upstream package in two ways:
+1. It only contains the dictionary, not the hyphenation table.
+2. The dictionary files are named differently, in the upstream 
+	package they are called:
+	sv_SE.aff and sv_SE.dic
+	Since mozilla doesn't recognize them as the Swedish (SE) 
+	dictionary under these names, the above files are instead 
+	installed as:
+	sv.aff and sv.dic
+	which mozilla recognizes correctly.
+
+ -- Hans Öfverbeck <hans.ofverbeck@home.se>, Tue, 27 Jan 2004 21:43:30+0100
--- myspell-sv-1.3.8-6.orig/debian/myspell-sv-se.links
+++ myspell-sv-1.3.8-6/debian/myspell-sv-se.links
@@ -0,0 +1,7 @@
+usr/share/hunspell/sv.aff usr/share/hunspell/sv_SE.aff
+usr/share/hunspell/sv.dic usr/share/hunspell/sv_SE.dic
+usr/share/hunspell/sv.aff usr/share/myspell/dicts/sv.aff
+usr/share/hunspell/sv.dic usr/share/myspell/dicts/sv.dic
+usr/share/hunspell/sv_SE.aff usr/share/myspell/dicts/sv_SE.aff
+usr/share/hunspell/sv_SE.dic usr/share/myspell/dicts/sv_SE.dic
+
--- myspell-sv-1.3.8-6.orig/debian/myspell-sv-se.dictlistinfo
+++ myspell-sv-1.3.8-6/debian/myspell-sv-se.dictlistinfo
@@ -0,0 +1 @@
+DICT sv SE sv
--- myspell-sv-1.3.8-6.orig/debian/changelog
+++ myspell-sv-1.3.8-6/debian/changelog
@@ -0,0 +1,36 @@
+myspell-sv (1.3.8-6-2.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * move dict to /usr/share/hunspell with compat symlinks from
+    /usr/share/myspell/dicts (closes: #541914) 
+
+ -- Rene Engelhard <rene@debian.org>  Thu, 24 Sep 2009 00:56:36 +0200
+
+myspell-sv (1.3.8-6-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * update for OOo3; add sv_SE.* -> sv.* symlink (closes: #517782)
+  * fix lintian stuff:
+    - move Homepage: from Description to Homepage: field
+    - s/Build-Depends-Indep/Build-Depends/
+    - mention /usr/share/common-licenses/LGPL-2.1
+    - utf8'ize debian/copyright
+
+ -- Rene Engelhard <rene@debian.org>  Thu, 13 Aug 2009 00:06:37 +0200
+
+myspell-sv (1.3.8-6-2) unstable; urgency=low
+
+  * Updated the address to the fsf in the copyright file.
+  * Changed character encoding from iso-8859-1 to utf-8 in 
+    this file and debian/control, closes: bug#338839.
+  * Updated to Standards-Version 3.6.2  (No changes needed).
+  * Added "mozilla" and "mozilla-thunderbird" to "Suggests".
+  * Added URL of upstream homepage in long description. 
+
+ -- Hans Öfverbeck <hans.ofverbeck@home.se>  Sun, 13 Nov 2005 18:43:36 +0100
+
+myspell-sv (1.3.8-6-1) unstable; urgency=low
+
+  * Initial Release, closes: bug#221992.
+
+ -- Hans Öfverbeck <hans.ofverbeck@home.se>  Tue, 14 Jan 2004 17:25:06 +0100 
--- myspell-sv-1.3.8-6.orig/debian/control
+++ myspell-sv-1.3.8-6/debian/control
@@ -0,0 +1,18 @@
+Source: myspell-sv
+Section: text
+Priority: optional
+Maintainer: Hans Öfverbeck <hans.ofverbeck@home.se>
+Build-Depends: debhelper (>> 4.0.0)
+Standards-Version: 3.6.2
+Homepage: http://sv.speling.org/myspell.html
+
+Package: myspell-sv-se
+Architecture: all
+Depends: dictionaries-common (>= 0.10) | openoffice.org-updatedicts 
+Suggests: openoffice.org (>= 1.0.3-3), mozilla, mozilla-thunderbird
+Conflicts: openoffice.org (<= 1.0.3-2)
+Provides: myspell-dictionary, myspell-dictionary-sv
+Description: Swedish (SE) dictionary for myspell
+ This is the Swedish (SE) dictionary for use with the myspell
+ spellchecker which is currently used within OpenOffice.org and
+ the mozilla spellchecker.
--- myspell-sv-1.3.8-6.orig/debian/rules
+++ myspell-sv-1.3.8-6/debian/rules
@@ -0,0 +1,95 @@
+#!/usr/bin/make -f
+
+export DH_VERBOSE=1
+
+export DH_OPTIONS
+
+
+configure: configure-stamp
+configure-stamp: 
+	dh_testdir
+	touch configure-stamp
+
+build: build-arch build-indep
+
+build-arch: build-arch-stamp
+build-arch-stamp: configure-stamp 
+	touch build-arch-stamp	
+
+build-indep: build-indep-stamp
+build-indep-stamp: configure-stamp 
+	touch build-indep-stamp
+
+clean: 
+	dh_testdir
+	dh_testroot
+	rm -f build-arch-stamp build-indep-stamp configure-stamp
+	for pkg in `dh_listpackages`; do \
+		rm -f debian/$$pkg.postinst; rm -f debian/$$pkg.postrm; \
+	done
+
+	dh_clean
+
+install: install-indep install-arch
+install-indep:
+	dh_testdir
+	dh_testroot
+	dh_clean -k -i
+	dh_installdirs -i
+
+	mkdir -p $(CURDIR)/debian/tmp/usr/share/hunspell
+	mkdir -p $(CURDIR)/debian/tmp/usr/share/myspell/dicts
+	mkdir -p $(CURDIR)/debian/tmp/usr/share/myspell/infos/ooo
+
+	for dic in `find . -type f -name "*_SE.dic"`; do \
+		install -m644 $$dic \
+			$(CURDIR)/debian/tmp/usr/share/hunspell/`echo $$dic | sed s/\_SE//g` ; \
+	done
+	for aff in `find . -type f -name "*_SE.aff"`; do \
+		install -m644 $$aff \
+			$(CURDIR)/debian/tmp/usr/share/hunspell/`echo $$aff | sed s/\_SE//g` ; \
+	done
+
+	dh_install --sourcedir=$(CURDIR)/debian/tmp -i
+
+	for pkg in `dh_listpackages`; do \
+		mkdir -p $(CURDIR)/debian/$$pkg/usr/share/myspell/infos/ooo; \
+		install -m644 debian/$$pkg.dictlistinfo \
+		  $(CURDIR)/debian/$$pkg/usr/share/myspell/infos/ooo/$$pkg; \
+	done
+
+install-arch:
+
+# Must not depend on anything. This is to be called by
+# binary-arch/binary-multi
+# in another 'make' thread.
+binary-common:
+	dh_testdir
+	dh_testroot
+	for pkg in `dh_listpackages`; do \
+		cp debian/postrm.in debian/$$pkg.postrm; \
+		cp debian/postinst.in debian/$$pkg.postinst; \
+	done
+	dh_installchangelogs 
+	dh_installdocs
+	for pkg in `dh_listpackages`; do \
+		if [ ! -e debian/$$pkg.copyright ]; then \
+			install -m644 debian/copyright \
+			 $(CURDIR)/debian/$$pkg/usr/share/doc/$$pkg/copyright; \
+		fi; \
+	done
+	dh_link
+	dh_compress 
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary-indep: build-indep install-indep
+	$(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
+
+binary-arch: build-arch install-arch
+
+binary: binary-arch binary-indep
+.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch configure
--- myspell-sv-1.3.8-6.orig/debian/compat
+++ myspell-sv-1.3.8-6/debian/compat
@@ -0,0 +1 @@
+4
--- myspell-sv-1.3.8-6.orig/debian/postinst.in
+++ myspell-sv-1.3.8-6/debian/postinst.in
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = "configure" ]; then
+	update-openoffice-dicts
+fi
+
+#DEBHELPER#
+
+exit 0
--- myspell-sv-1.3.8-6.orig/debian/copyright
+++ myspell-sv-1.3.8-6/debian/copyright
@@ -0,0 +1,42 @@
+This debian package is based on the dictionary in the 
+Swedish myspell package from:
+http://sv.speling.org/files/
+
+Debianization: Hans Öfverbeck <hans.ofverbeck@home.se>.
+
+Conversion from ispell to myspell format: Stefan Ekman <stekman@sedata.org>
+
+Upstream Authors: 
+Anders Carlsson
+Anders Mellqvist <gofforr@hotmail.com>
+Björn <nilsson@nbi.dk>
+Göran Simonsson
+Jacob Sparre Andersen <sparre@nbi.dk>
+Martin <d95mback@dtek.chalmers.se>
+Martin Hellspong
+Martin Norbäck <d95mback@dtek.chalmers.se>
+norpan
+Patrik Bengtsson
+Patrik Bengtsson <patrik@prestanda.com>
+Peter Sjoholm <sjoholm@mail.dk>
+
+sol: The Swedish Dictionary for Spell Checking
+Copyright © 1998, 1999, 2000, 2001, 2002 Skåne Sjælland Linux User Group
+<bestyrelsen@sslug.dk>.
+
+    This dictionary is free software; you can redistribute it and/or modify
+    it under the terms of the GNU Lesser General Public License (version 2.1)
+    as published by the Free Software Foundation.
+
+    This dictionary is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU Lesser General Public License for more details.
+
+    You should have received a copy of the GNU Lesser General Public License
+    along with this dictionary; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+    02110-1301, USA. 
+
+On Debian systems, the full text of  the GNU LGPL 2.1 can be found in
+/usr/share/common-licenses/LGPL-2.1.
--- myspell-sv-1.3.8-6.orig/debian/docs
+++ myspell-sv-1.3.8-6/debian/docs
@@ -0,0 +1,2 @@
+NEWS
+README
--- myspell-sv-1.3.8-6.orig/debian/myspell-sv-se.install
+++ myspell-sv-1.3.8-6/debian/myspell-sv-se.install
@@ -0,0 +1,2 @@
+usr/share/hunspell/sv.dic
+usr/share/hunspell/sv.aff
--- myspell-sv-1.3.8-6.orig/debian/postrm.in
+++ myspell-sv-1.3.8-6/debian/postrm.in
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = "remove" ]; then
+	update-openoffice-dicts
+fi
+
+#DEBHELPER#
+
+exit 0