[Pkg-italian-commits] [svn] r62 - aspell-it/trunk/debian

Stefano Melchior stex-guest at costa.debian.org
Thu Oct 12 17:12:45 UTC 2006


Author: stex-guest
Date: Thu Oct 12 17:12:44 2006
New Revision: 62

Modified:
   aspell-it/trunk/debian/changelog
   aspell-it/trunk/debian/control
   aspell-it/trunk/debian/rules
Log:
Fixed dictionary issue #390615 forcing to build hash

Modified: aspell-it/trunk/debian/changelog
==============================================================================
--- aspell-it/trunk/debian/changelog	(original)
+++ aspell-it/trunk/debian/changelog	Thu Oct 12 17:12:44 2006
@@ -1,7 +1,9 @@
 aspell-it (0.60.20060723-2) unstable; urgency=low
 
+  * Fixed issue #390615 by calling the aspell-autobuildhash (Closes: #390615)
   * Added the correct "Suggests:" to switch from aspell-bin to aspell>=0.60.3-3
   * Fixed issue in creating the orig.tar.gz file
+  * Added the info file aspell-it.info-aspell
 
  -- Stefano Melchior <stefano.melchior at openlabs.it>  Thu, 28 Sep 2006 09:30:03 +0200
 

Modified: aspell-it/trunk/debian/control
==============================================================================
--- aspell-it/trunk/debian/control	(original)
+++ aspell-it/trunk/debian/control	Thu Oct 12 17:12:44 2006
@@ -2,13 +2,12 @@
 Section: text
 Priority: optional
 Maintainer: Stefano Melchior <stefano.melchior at openlabs.it>
-Build-Depends: debhelper (>> 4.0.0), aspell (>= 0.60.3-2)
+Build-Depends: debhelper (>> 4.0.0), dictionaries-common-dev (>= 0.9.1)
 Standards-Version: 3.7.2
 
 Package: aspell-it
 Architecture: all
-Depends: aspell (>= 0.60.3-3)
-Suggests: aspell (>= 0.60.3-3)
+Depends: aspell (>= 0.60.3-3), dictionaries-common (>= 0.49.2)
 Provides: aspell-dictionary
 Description: The Italian dictionary for GNU Aspell
  This package contains all the required files to add support

Modified: aspell-it/trunk/debian/rules
==============================================================================
--- aspell-it/trunk/debian/rules	(original)
+++ aspell-it/trunk/debian/rules	Thu Oct 12 17:12:44 2006
@@ -1,21 +1,20 @@
 #!/usr/bin/make -f
 
 #export DH_VERBOSE=1
-export DH_COMPAT=4
 
+DEB_DH_MD5SUMS_ARGS += -Xvar/lib/aspell
+DICT_LANG := it
+DESTDIR := $(CURDIR)/debian/aspell-it
 
 config.status: configure
 	dh_testdir
-
 	./configure
 
 build: build-stamp
 
 build-stamp:  config.status
 	dh_testdir
-
 	$(MAKE)
-
 	touch build-stamp
 
 clean:
@@ -24,19 +23,27 @@
 	rm -f build-stamp 
 	-make clean
 	rm -f Makefile
-
+	rm -f *.rws
 	dh_clean
 
 install: build
 	dh_testdir
 	dh_testroot
 	dh_clean -k
-	dh_installdirs
-	#for f in `ls $(CURDIR)/debian/patches` ; do \
-	#	 patch -p0 < debian/patches/$$f ; \
-        #done
-
+	dh_installdirs 
+	install -d $(DESTDIR)/var/lib/aspell
+	install -d $(DESTDIR)/usr/share/aspell
+	install -d $(DESTDIR)/usr/lib/aspell
 	$(MAKE) install DESTDIR=$(CURDIR)/debian/aspell-it
+	for f in *.cwl; do \
+	    gzip -9 -c $$f > $(DESTDIR)/usr/share/aspell/$$f.gz; \
+	    WL=`echo $$f | sed 's/\.cwl$$//'`; \
+	    touch $(DESTDIR)/var/lib/aspell/$$WL.rws; \
+	    dh_link usr/lib/aspell/$$WL.rws var/lib/aspell/$$WL.rws; \
+	    echo $$WL >> $(DESTDIR)/usr/share/aspell/$(DICT_LANG).contents; \
+	done
+	touch $(DESTDIR)/var/lib/aspell/$(DICT_LANG).compat
+	installdeb-aspell
 
 binary-indep: build install
 
@@ -46,17 +53,17 @@
 	dh_testdir
 	dh_testroot
 	dh_installchangelogs 
-	dh_installdocs
-	dh_installman
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
+	dh_installdocs 
+	dh_installman 
+	dh_link 
+	dh_strip 
+	dh_compress 
+	dh_fixperms 
+	dh_installdeb 
+	dh_shlibdeps 
+	dh_gencontrol 
+	dh_md5sums 
+	dh_builddeb 
 
 binary: binary-indep binary-arch
 .PHONY: build clean binary-indep binary-arch binary install 



More information about the Pkg-italian-commits mailing list