[dutch-svn] r82 - trunk/debian

kroeckx at alioth.debian.org kroeckx at alioth.debian.org
Sun Jun 10 09:40:29 UTC 2007


Author: kroeckx
Date: 2007-06-10 09:40:29 +0000 (Sun, 10 Jun 2007)
New Revision: 82

Modified:
   trunk/debian/control
   trunk/debian/idutch.dirs
   trunk/debian/idutch.install
   trunk/debian/rules
Log:
Convert idutch to an arch all package.


Modified: trunk/debian/control
===================================================================
--- trunk/debian/control	2007-06-10 09:34:56 UTC (rev 81)
+++ trunk/debian/control	2007-06-10 09:40:29 UTC (rev 82)
@@ -10,7 +10,7 @@
 XS-Vcs-Browse: http://svn.debian.org/wsvn/pkg-dutch
 
 Package: idutch
-Architecture: any
+Architecture: all
 Depends: dictionaries-common, ispell, ${misc:Depends}
 Provides: ispell-dictionary
 Suggests: wdutch

Modified: trunk/debian/idutch.dirs
===================================================================
--- trunk/debian/idutch.dirs	2007-06-10 09:34:56 UTC (rev 81)
+++ trunk/debian/idutch.dirs	2007-06-10 09:40:29 UTC (rev 82)
@@ -1 +1,3 @@
 usr/lib/ispell
+usr/share/ispell
+var/lib/ispell

Modified: trunk/debian/idutch.install
===================================================================
--- trunk/debian/idutch.install	2007-06-10 09:34:56 UTC (rev 81)
+++ trunk/debian/idutch.install	2007-06-10 09:40:29 UTC (rev 82)
@@ -1,2 +1,2 @@
-ispell/dutch.hash	/usr/lib/ispell/
-ispell/dutch.aff	/usr/lib/ispell/
+ispell/dutch.mwl.gz	/usr/share/ispell/
+ispell/dutch.aff	/usr/lib/

Modified: trunk/debian/rules
===================================================================
--- trunk/debian/rules	2007-06-10 09:34:56 UTC (rev 81)
+++ trunk/debian/rules	2007-06-10 09:40:29 UTC (rev 82)
@@ -6,6 +6,7 @@
 # This has to be exported to make some magic below work.
 export DH_OPTIONS
 
+ITMPDIR:=$(CURDIR)/debian/idutch
 ATMPDIR:=$(CURDIR)/debian/aspell-nl
 
 OOOINFO=$(CURDIR)/debian/myspell-nl/usr/share/myspell/infos/ooo
@@ -45,7 +46,17 @@
 	# ispell / idutch
 	munchlist -l ./ispell/dutch.aff -v -w "&'\`-_" $(LATIN1OUTPUT) \
 		> ispell/dutch.mwl
-	buildhash ispell/dutch.mwl ./ispell/dutch.aff ispell/dutch.hash
+	gzip -9f ispell/dutch.mwl
+	# myspell
+	munch $(LATIN1OUTPUT) myspell/nl.aff > myspell/nl.dic
+	# aspell
+	cp myspell/nl.aff aspell/nl_affix.dat
+	# remove first line and sort.
+	sed -e '1d' myspell/nl.dic | LC_ALL=C sort > aspell/tmp.wl
+	LC_ALL=C comm -3 aspell/tmp.wl aspell/unsupported.list > aspell/nl.wl
+	rm aspell/tmp.wl
+	prezip aspell/nl.wl
+	gzip -9f aspell/nl.cwl
 	touch build-stamp
 
 clean:
@@ -75,16 +86,6 @@
 	dh_installdirs
 	# Those really should be in the "build" target, but we don't
 	# want to bother the buildds with this.
-	# myspell
-	munch $(LATIN1OUTPUT) myspell/nl.aff > myspell/nl.dic
-	# aspell
-	cp myspell/nl.aff aspell/nl_affix.dat
-	# remove first line and sort.
-	sed -e '1d' myspell/nl.dic | LC_ALL=C sort > aspell/tmp.wl
-	LC_ALL=C comm -3 aspell/tmp.wl aspell/unsupported.list > aspell/nl.wl
-	rm aspell/tmp.wl
-	prezip aspell/nl.wl
-	gzip -9f aspell/nl.cwl
 
 	# wdutch wordlist
 	installdeb-wordlist --package=wdutch
@@ -92,6 +93,8 @@
 	-ln -s idutch.info-ispell debian/aspell-nl.info-aspell
 	touch ${ATMPDIR}/var/lib/aspell/nl.compat ${ATMPDIR}/var/lib/aspell/nl.rws
 	installdeb-aspell --package=aspell-nl
+	touch ${ITMPDIR}/var/lib/ispell/dutch.compat ${ITMPDIR}/var/lib/ispell/dutch.hash
+	installdeb-ispell --package=idutch
 	installdeb-myspell --package=myspell-nl
 	# general stuff
 	dh_installdocs -i
@@ -109,22 +112,8 @@
 # Pass -a to all debhelper commands in this target to reduce clutter.
 # binary-arch: DH_OPTIONS=--package=idutch
 binary-arch: build
-	dh_testdir
-	dh_testroot
-	dh_installdirs
-	dh_installdocs -a
-	dh_install -a
-	dh_installchangelogs -a 
-	dh_link -a
-	installdeb-ispell --package=idutch # This calls internally dh_installdebconf
-	dh_compress -a 
-	dh_fixperms -a
-	dh_installdeb -a
-	dh_gencontrol -a
-	dh_md5sums -a
-	dh_builddeb -a
+	# Nothing to do
 
-
 binary: binary-indep binary-arch
 
 .PHONY: clean binary-indep binary-arch binary build




More information about the pkg-dutch-commit mailing list