[Debian-hebrew-package] [svn] r210 - pkg/aspell-he/trunk/debian

Baruch Even baruch at costa.debian.org
Sun Sep 18 22:49:10 UTC 2005


Author: baruch
Date: Sun Sep 18 22:49:09 2005
New Revision: 210

Modified:
   pkg/aspell-he/trunk/debian/changelog
   pkg/aspell-he/trunk/debian/control
   pkg/aspell-he/trunk/debian/dirs
   pkg/aspell-he/trunk/debian/rules
Log:
Switch to new aspell dictionary format (Closes: #322007)


Modified: pkg/aspell-he/trunk/debian/changelog
==============================================================================
--- pkg/aspell-he/trunk/debian/changelog	(original)
+++ pkg/aspell-he/trunk/debian/changelog	Sun Sep 18 22:49:09 2005
@@ -1,8 +1,12 @@
 aspell-he (0.9+0-3) UNRELEASED; urgency=low
 
   * NOT RELEASED YET
+  * Switch to new aspell package (Closes: #322007)
+    - Make package for all arches
+    - Provide new data files for aspell
+    - Remove relationship to aspell-bin
 
- -- Baruch Even <baruch at debian.org>  Sun, 18 Sep 2005 23:22:48 +0100
+ -- Baruch Even <baruch at debian.org>  Sun, 18 Sep 2005 23:24:31 +0100
 
 aspell-he (0.9+0-2) unstable; urgency=low
 

Modified: pkg/aspell-he/trunk/debian/control
==============================================================================
--- pkg/aspell-he/trunk/debian/control	(original)
+++ pkg/aspell-he/trunk/debian/control	Sun Sep 18 22:49:09 2005
@@ -7,10 +7,9 @@
 Build-Depends: debhelper (>> 4.0.0), aspell (>= 0.60.3-2), dictionaries-common-dev (>= 0.49.2)
 
 Package: aspell-he
-Architecture: any
+Architecture: all
 Provides: aspell6a-dictionary
 Depends: aspell (>= 0.60.3-2), dictionaries-common (>= 0.49.2)
-Suggests: aspell-bin
 Description: Hebrew dictionary for aspell
  This package contains all the required files to add support
  for Hebrew language to aspell spell checker.

Modified: pkg/aspell-he/trunk/debian/dirs
==============================================================================
--- pkg/aspell-he/trunk/debian/dirs	(original)
+++ pkg/aspell-he/trunk/debian/dirs	Sun Sep 18 22:49:09 2005
@@ -1 +1,3 @@
-/var/lib/dictionaries-common/aspell/
+var/lib/aspell
+usr/lib/aspell
+usr/share/aspell/he

Modified: pkg/aspell-he/trunk/debian/rules
==============================================================================
--- pkg/aspell-he/trunk/debian/rules	(original)
+++ pkg/aspell-he/trunk/debian/rules	Sun Sep 18 22:49:09 2005
@@ -5,6 +5,7 @@
 
 # This has to be exported to make some magic below work.
 export DH_OPTIONS
+BASEDIR=`pwd`/debian/aspell-he
 
 configure: configure-stamp
 configure-stamp:
@@ -31,7 +32,12 @@
 	dh_testroot
 	dh_clean -k
 	dh_installdirs
-	$(MAKE) DESTDIR=`pwd`/debian/aspell-he install
+	$(MAKE) DESTDIR=$(BASEDIR) install
+	gzip -9c he.cwl > $(BASEDIR)/usr/share/aspell/he.cwl.gz
+	touch $(BASEDIR)/var/lib/aspell/he.compat
+	touch $(BASEDIR)/var/lib/aspell/he.rws
+	ln -sf /var/lib/aspell/he.rws $(BASEDIR)/usr/lib/aspell/he.rws
+	echo he >> $(BASEDIR)/usr/share/aspell/he/.contents
 	installdeb-aspell
 #	dh_movefiles
 
@@ -39,39 +45,24 @@
 # Pass -i to all debhelper commands in this target to reduce clutter.
 binary-indep: DH_OPTIONS=-i
 binary-indep: build install
-#	dh_testdir
-#	dh_testroot
-#	dh_installdocs
-#	dh_installexamples
-#	dh_installman
-#	dh_installinfo
-#	dh_installchangelogs 
-#	dh_link
-#	dh_compress
-#	dh_fixperms
-#	dh_installdeb
-#	dh_gencontrol
-#	dh_md5sums
-#	dh_builddeb
-
-# Build architecture-dependent files here.
-# Pass -a to all debhelper commands in this target to reduce clutter.
-binary-arch: DH_OPTIONS=-a
-binary-arch: build install
 	dh_testdir
 	dh_testroot
 	dh_installdocs
 	dh_installinfo
 	dh_installchangelogs
-	dh_strip
 	dh_link
 	dh_compress
 	dh_fixperms
 	dh_installdeb
-	dh_shlibdeps
 	dh_gencontrol
 	dh_md5sums
 	dh_builddeb
 
+# Build architecture-dependent files here.
+# Pass -a to all debhelper commands in this target to reduce clutter.
+binary-arch: DH_OPTIONS=-a
+binary-arch: 
+# Nothing to do here
+
 binary: binary-indep binary-arch
 .PHONY: build clean binary-indep binary-arch binary install configure



More information about the Debian-hebrew-package mailing list