r695 - in /trunk/packages/vim-spellfiles: debian/ patches/
zack at users.alioth.debian.org
zack at users.alioth.debian.org
Mon May 22 03:33:45 UTC 2006
Author: zack
Date: Mon May 22 03:33:43 2006
New Revision: 695
URL: http://svn.debian.org/wsvn/pkg-vim/?sc=1&rev=695
Log:
snapshot
second round of patches
better handling of sources creation
Added:
trunk/packages/vim-spellfiles/patches/pt.patch
trunk/packages/vim-spellfiles/patches/ro.patch
trunk/packages/vim-spellfiles/patches/ru.patch
trunk/packages/vim-spellfiles/patches/rw.patch
trunk/packages/vim-spellfiles/patches/sk.patch
trunk/packages/vim-spellfiles/patches/sl.patch
trunk/packages/vim-spellfiles/patches/sv.patch
trunk/packages/vim-spellfiles/patches/sw.patch
trunk/packages/vim-spellfiles/patches/th.patch
trunk/packages/vim-spellfiles/patches/tl.patch
trunk/packages/vim-spellfiles/patches/tn.patch
trunk/packages/vim-spellfiles/patches/uk.patch
trunk/packages/vim-spellfiles/patches/yi.patch
trunk/packages/vim-spellfiles/patches/zu.patch
Modified:
trunk/packages/vim-spellfiles/debian/rules
trunk/packages/vim-spellfiles/patches/de.patch
trunk/packages/vim-spellfiles/patches/main.patch
trunk/packages/vim-spellfiles/patches/series
Modified: trunk/packages/vim-spellfiles/debian/rules
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-spellfiles/debian/rules?rev=695&op=diff
==============================================================================
--- trunk/packages/vim-spellfiles/debian/rules (original)
+++ trunk/packages/vim-spellfiles/debian/rules Mon May 22 03:33:43 2006
@@ -18,30 +18,32 @@
init:
perl debian/mk-deb-control.pl < debian/control.in > debian/control
-extract: upstream/vim-runtime-spell.tar.gz
- cd upstream && tar xvzf vim-runtime-spell.tar.gz
- quilt push -a
-
-# TODO missing target 'sources-dictionaries'
-sources: sources-recipes sources-dictionaries
-sources-recipes:
+download: download-recipes download-dictionaries
+download-recipes:
if [ -d upstream/spell-svn/.svn/ ]; then \
svn update upstream/spell-svn/; \
else \
svn co https://svn.sourceforge.net/svnroot/vim/vim7/runtime/spell/ \
upstream/spell-svn/; \
fi
+download-dictionaries:
+ cd upstream && aap download
+
+# TODO missing target 'sources-dictionaries'
+sources: sources-recipes sources-dictionaries
+sources-recipes:
+ -quilt pop -a
rm -rf upstream/vim-runtime-spell/
svn export upstream/spell-svn/ upstream/vim-runtime-spell/
+ quilt push -a
cd upstream && \
tar cvzf vim-runtime-spell.tar.gz vim-runtime-spell/
- rm -rf upstream/vim-runtime-spell/
sources-dictionaries:
cd upstream && tar cvzf dictionaries.tar.gz `aap show`
clean-sources:
- quilt pop -a
+ -quilt pop -a
rm -rf upstream/vim-runtime-spell
clean: clean-sources
Modified: trunk/packages/vim-spellfiles/patches/de.patch
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-spellfiles/patches/de.patch?rev=695&op=diff
==============================================================================
--- trunk/packages/vim-spellfiles/patches/de.patch (original)
+++ trunk/packages/vim-spellfiles/patches/de.patch Mon May 22 03:33:43 2006
@@ -17,7 +17,7 @@
+ :fetch $ZIPFILES
+ :touch {force} download
+ at if _no.has_key('CHILDDIR'):
-+ _top.Dicts += $CHILDDIR/$ZIPFILES
++ _top.Dicts += $CHILDDIR/$*ZIPFILES
# The files don't depend on the .zip file so that we can delete it.
# Only download the zip file if the targets don't exist.
Modified: trunk/packages/vim-spellfiles/patches/main.patch
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-spellfiles/patches/main.patch?rev=695&op=diff
==============================================================================
--- trunk/packages/vim-spellfiles/patches/main.patch (original)
+++ trunk/packages/vim-spellfiles/patches/main.patch Mon May 22 03:33:43 2006
@@ -2,16 +2,17 @@
===================================================================
--- upstream/vim-runtime-spell/main.aap.orig
+++ upstream/vim-runtime-spell/main.aap
-@@ -7,7 +7,7 @@
+@@ -7,7 +7,8 @@
# "hu" is at the end, because it takes a very long time.
LANG = af am bg ca cs cy da de el en eo es fr fo ga gd gl he hr id it ku
la lt lv mg mi ms nb nl nn ny pl pt ro ru rw sk sl sv sw
- tet th tl tn uk yi zu hu
+ th tl tn uk yi zu hu
++_top.Langs = $LANG
# TODO:
# Finnish doesn't work, the dictionary fi_FI.zip file contains hyphenation...
-@@ -18,9 +18,8 @@
+@@ -18,9 +19,8 @@
@for l in string.split(_no.LANG):
:child $l/main.aap
@@ -30,13 +31,20 @@
===================================================================
--- /dev/null
+++ upstream/main.aap
-@@ -0,0 +1,9 @@
+@@ -0,0 +1,16 @@
+
+:child vim-runtime-spell/main.aap
+
+show:
-+ @for f in string.split(_no.Dicts):
-+ :print vim-runtime-spell/$f
++ @for f in string.split(_no.Dicts):
++ :print vim-runtime-spell/$f
++
++dist-clean:
++ @for f in string.split(_no.Dicts):
++ :del {force} vim-runtime-spell/$f
++ @for d in string.split(_no.Langs):
++ :del {force} vim-runtime-spell/$d/download
+
+download: vim-runtime-spell/download
++ :pass
+
Added: trunk/packages/vim-spellfiles/patches/pt.patch
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-spellfiles/patches/pt.patch?rev=695&op=file
==============================================================================
--- trunk/packages/vim-spellfiles/patches/pt.patch (added)
+++ trunk/packages/vim-spellfiles/patches/pt.patch Mon May 22 03:33:43 2006
@@ -1,0 +1,21 @@
+Index: upstream/vim-runtime-spell/pt/main.aap
+===================================================================
+--- upstream/vim-runtime-spell/pt/main.aap.orig
++++ upstream/vim-runtime-spell/pt/main.aap
+@@ -32,7 +32,15 @@
+ # Fetching the files from OpenOffice.org.
+ #
+ OODIR = http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries
+-:attr {fetch = $OODIR/%file%} pt_PT.zip pt_BR.zip
++ARCHIVES = pt_PT.zip pt_BR.zip
++
++:attr {fetch = file://%file%} $ARCHIVES
++
++download:
++ :fetch {fetch = $OODIR/%file%} $ARCHIVES
++ :touch {force} download
++ at if _no.has_key('CHILDDIR'):
++ _top.Dicts += $CHILDDIR/$*ARCHIVES
+
+ # The files don't depend on the .zip file so that we can delete it.
+ # Only download the zip file if the targets don't exist.
Added: trunk/packages/vim-spellfiles/patches/ro.patch
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-spellfiles/patches/ro.patch?rev=695&op=file
==============================================================================
--- trunk/packages/vim-spellfiles/patches/ro.patch (added)
+++ trunk/packages/vim-spellfiles/patches/ro.patch Mon May 22 03:33:43 2006
@@ -1,0 +1,21 @@
+Index: upstream/vim-runtime-spell/ro/main.aap
+===================================================================
+--- upstream/vim-runtime-spell/ro/main.aap.orig
++++ upstream/vim-runtime-spell/ro/main.aap
+@@ -28,7 +28,15 @@
+ # Fetching the files from OpenOffice.org.
+ #
+ OODIR = http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries
+-:attr {fetch = $OODIR/%file%} ro_RO.zip
++ARCHIVES = ro_RO.zip
++
++:attr {fetch = file://%file%} $ARCHIVES
++
++download:
++ :fetch {fetch = $OODIR/%file%} $ARCHIVES
++ :touch {force} download
++ at if _no.has_key('CHILDDIR'):
++ _top.Dicts += $CHILDDIR/$*ARCHIVES
+
+ # The files don't depend on the .zip file so that we can delete it.
+ # Only download the zip file if the targets don't exist.
Added: trunk/packages/vim-spellfiles/patches/ru.patch
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-spellfiles/patches/ru.patch?rev=695&op=file
==============================================================================
--- trunk/packages/vim-spellfiles/patches/ru.patch (added)
+++ trunk/packages/vim-spellfiles/patches/ru.patch Mon May 22 03:33:43 2006
@@ -1,0 +1,21 @@
+Index: upstream/vim-runtime-spell/ru/main.aap
+===================================================================
+--- upstream/vim-runtime-spell/ru/main.aap.orig
++++ upstream/vim-runtime-spell/ru/main.aap
+@@ -33,7 +33,15 @@
+ # Fetching the files from OpenOffice.org.
+ #
+ OODIR = http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries
+-:attr {fetch = $OODIR/%file%} ru_RU.zip ru_RU_yo.zip
++ARCHIVES = ru_RU.zip ru_RU_yo.zip
++
++:attr {fetch = file://%file%} $ARCHIVES
++
++download:
++ :fetch {fetch = $OODIR/%file%} $ARCHIVES
++ :touch {force} download
++ at if _no.has_key('CHILDDIR'):
++ _top.Dicts += $CHILDDIR/$*ARCHIVES
+
+ # The files don't depend on the .zip file so that we can delete it.
+ # Only download the zip file if the targets don't exist.
Added: trunk/packages/vim-spellfiles/patches/rw.patch
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-spellfiles/patches/rw.patch?rev=695&op=file
==============================================================================
--- trunk/packages/vim-spellfiles/patches/rw.patch (added)
+++ trunk/packages/vim-spellfiles/patches/rw.patch Mon May 22 03:33:43 2006
@@ -1,0 +1,21 @@
+Index: upstream/vim-runtime-spell/rw/main.aap
+===================================================================
+--- upstream/vim-runtime-spell/rw/main.aap.orig
++++ upstream/vim-runtime-spell/rw/main.aap
+@@ -27,7 +27,15 @@
+ # Fetching the files from OpenOffice.org.
+ #
+ OODIR = http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries
+-:attr {fetch = $OODIR/%file%} rw_RW.zip
++ARCHIVES = rw_RW.zip
++
++:attr {fetch = file://%file%} $ARCHIVES
++
++download:
++ :fetch {fetch = $OODIR/%file%} $ARCHIVES
++ :touch {force} download
++ at if _no.has_key('CHILDDIR'):
++ _top.Dicts += $CHILDDIR/$*ARCHIVES
+
+ # The files don't depend on the .zip file so that we can delete it.
+ # Only download the zip file if the targets don't exist.
Modified: trunk/packages/vim-spellfiles/patches/series
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-spellfiles/patches/series?rev=695&op=diff
==============================================================================
--- trunk/packages/vim-spellfiles/patches/series (original)
+++ trunk/packages/vim-spellfiles/patches/series Mon May 22 03:33:43 2006
@@ -33,3 +33,17 @@
nn.patch -p0
ny.patch -p0
pl.patch -p0
+pt.patch -p0
+ro.patch -p0
+ru.patch -p0
+rw.patch -p0
+sk.patch -p0
+sl.patch -p0
+sv.patch -p0
+sw.patch -p0
+th.patch -p0
+tl.patch -p0
+tn.patch -p0
+uk.patch -p0
+yi.patch -p0
+zu.patch -p0
Added: trunk/packages/vim-spellfiles/patches/sk.patch
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-spellfiles/patches/sk.patch?rev=695&op=file
==============================================================================
--- trunk/packages/vim-spellfiles/patches/sk.patch (added)
+++ trunk/packages/vim-spellfiles/patches/sk.patch Mon May 22 03:33:43 2006
@@ -1,0 +1,21 @@
+Index: upstream/vim-runtime-spell/sk/main.aap
+===================================================================
+--- upstream/vim-runtime-spell/sk/main.aap.orig
++++ upstream/vim-runtime-spell/sk/main.aap
+@@ -28,7 +28,15 @@
+ # Fetching the files from OpenOffice.org.
+ #
+ OODIR = http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries
+-:attr {fetch = $OODIR/%file%} sk_SK.zip
++ARCHIVES = sk_SK.zip
++
++:attr {fetch = file://%file%} $ARCHIVES
++
++download:
++ :fetch {fetch = $OODIR/%file%} $ARCHIVES
++ :touch {force} download
++ at if _no.has_key('CHILDDIR'):
++ _top.Dicts += $CHILDDIR/$*ARCHIVES
+
+ # The files don't depend on the .zip file so that we can delete it.
+ # Only download the zip file if the targets don't exist.
Added: trunk/packages/vim-spellfiles/patches/sl.patch
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-spellfiles/patches/sl.patch?rev=695&op=file
==============================================================================
--- trunk/packages/vim-spellfiles/patches/sl.patch (added)
+++ trunk/packages/vim-spellfiles/patches/sl.patch Mon May 22 03:33:43 2006
@@ -1,0 +1,21 @@
+Index: upstream/vim-runtime-spell/sl/main.aap
+===================================================================
+--- upstream/vim-runtime-spell/sl/main.aap.orig
++++ upstream/vim-runtime-spell/sl/main.aap
+@@ -28,7 +28,15 @@
+ # Fetching the files from OpenOffice.org.
+ #
+ OODIR = http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries
+-:attr {fetch = $OODIR/%file%} sl_SI.zip
++ARCHIVES = sl_SI.zip
++
++:attr {fetch = file://%file%} $ARCHIVES
++
++download:
++ :fetch {fetch = $OODIR/%file%} $ARCHIVES
++ :touch {force} download
++ at if _no.has_key('CHILDDIR'):
++ _top.Dicts += $CHILDDIR/$*ARCHIVES
+
+ # The files don't depend on the .zip file so that we can delete it.
+ # Only download the zip file if the targets don't exist.
Added: trunk/packages/vim-spellfiles/patches/sv.patch
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-spellfiles/patches/sv.patch?rev=695&op=file
==============================================================================
--- trunk/packages/vim-spellfiles/patches/sv.patch (added)
+++ trunk/packages/vim-spellfiles/patches/sv.patch Mon May 22 03:33:43 2006
@@ -1,0 +1,21 @@
+Index: upstream/vim-runtime-spell/sv/main.aap
+===================================================================
+--- upstream/vim-runtime-spell/sv/main.aap.orig
++++ upstream/vim-runtime-spell/sv/main.aap
+@@ -28,7 +28,15 @@
+ # Fetching the files from OpenOffice.org.
+ #
+ OODIR = http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries
+-:attr {fetch = $OODIR/%file%} sv_SE.zip
++ARCHIVES = sv_SE.zip
++
++:attr {fetch = file://%file%} $ARCHIVES
++
++download:
++ :fetch {fetch = $OODIR/%file%} $ARCHIVES
++ :touch {force} download
++ at if _no.has_key('CHILDDIR'):
++ _top.Dicts += $CHILDDIR/$*ARCHIVES
+
+ # The files don't depend on the .zip file so that we can delete it.
+ # Only download the zip file if the targets don't exist.
Added: trunk/packages/vim-spellfiles/patches/sw.patch
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-spellfiles/patches/sw.patch?rev=695&op=file
==============================================================================
--- trunk/packages/vim-spellfiles/patches/sw.patch (added)
+++ trunk/packages/vim-spellfiles/patches/sw.patch Mon May 22 03:33:43 2006
@@ -1,0 +1,21 @@
+Index: upstream/vim-runtime-spell/sw/main.aap
+===================================================================
+--- upstream/vim-runtime-spell/sw/main.aap.orig
++++ upstream/vim-runtime-spell/sw/main.aap
+@@ -27,7 +27,15 @@
+ # Fetching the files from OpenOffice.org.
+ #
+ OODIR = http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries
+-:attr {fetch = $OODIR/%file%} sw_KE.zip
++ARCHIVES = sw_KE.zip
++
++:attr {fetch = file://%file%} $ARCHIVES
++
++download:
++ :fetch {fetch = $OODIR/%file%} $ARCHIVES
++ :touch {force} download
++ at if _no.has_key('CHILDDIR'):
++ _top.Dicts += $CHILDDIR/$*ARCHIVES
+
+ # The files don't depend on the .zip file so that we can delete it.
+ # Only download the zip file if the targets don't exist.
Added: trunk/packages/vim-spellfiles/patches/th.patch
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-spellfiles/patches/th.patch?rev=695&op=file
==============================================================================
--- trunk/packages/vim-spellfiles/patches/th.patch (added)
+++ trunk/packages/vim-spellfiles/patches/th.patch Mon May 22 03:33:43 2006
@@ -1,0 +1,21 @@
+Index: upstream/vim-runtime-spell/th/main.aap
+===================================================================
+--- upstream/vim-runtime-spell/th/main.aap.orig
++++ upstream/vim-runtime-spell/th/main.aap
+@@ -25,7 +25,15 @@
+ ZIPNAME = th_18057.zip
+ FNAME = TH_18057.TXT
+
+-:attr {fetch = $HTTPDIR/%file%} $ZIPNAME
++ARCHIVES = $ZIPNAME
++
++:attr {fetch = file://%file%} $ARCHIVES
++
++download:
++ :fetch {fetch = $HTTPDIR/%file%} $ARCHIVES
++ :touch {force} download
++ at if _no.has_key('CHILDDIR'):
++ _top.Dicts += $CHILDDIR/$*ARCHIVES
+
+ # The files don't depend on the .zip file so that we can delete it.
+ # Only download the zip file if the targets don't exist.
Added: trunk/packages/vim-spellfiles/patches/tl.patch
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-spellfiles/patches/tl.patch?rev=695&op=file
==============================================================================
--- trunk/packages/vim-spellfiles/patches/tl.patch (added)
+++ trunk/packages/vim-spellfiles/patches/tl.patch Mon May 22 03:33:43 2006
@@ -1,0 +1,21 @@
+Index: upstream/vim-runtime-spell/tl/main.aap
+===================================================================
+--- upstream/vim-runtime-spell/tl/main.aap.orig
++++ upstream/vim-runtime-spell/tl/main.aap
+@@ -25,7 +25,15 @@
+ # Fetching the files from OpenOffice.org.
+ #
+ OODIR = http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries
+-:attr {fetch = $OODIR/%file%} tl_PH.zip
++ARCHIVES = tl_PH.zip
++
++:attr {fetch = file://%file%} $ARCHIVES
++
++download:
++ :fetch {fetch = $OODIR/%file%} $ARCHIVES
++ :touch {force} download
++ at if _no.has_key('CHILDDIR'):
++ _top.Dicts += $CHILDDIR/$*ARCHIVES
+
+ # The files don't depend on the .zip file so that we can delete it.
+ # Only download the zip file if the targets don't exist.
Added: trunk/packages/vim-spellfiles/patches/tn.patch
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-spellfiles/patches/tn.patch?rev=695&op=file
==============================================================================
--- trunk/packages/vim-spellfiles/patches/tn.patch (added)
+++ trunk/packages/vim-spellfiles/patches/tn.patch Mon May 22 03:33:43 2006
@@ -1,0 +1,21 @@
+Index: upstream/vim-runtime-spell/tn/main.aap
+===================================================================
+--- upstream/vim-runtime-spell/tn/main.aap.orig
++++ upstream/vim-runtime-spell/tn/main.aap
+@@ -29,7 +29,15 @@
+ # Fetching the files from OpenOffice.org.
+ #
+ OODIR = http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries
+-:attr {fetch = $OODIR/%file%} tn_ZA.zip
++ARCHIVES = tn_ZA.zip
++
++:attr {fetch = file://%file%} $ARCHIVES
++
++download:
++ :fetch {fetch = $OODIR/%file%} $ARCHIVES
++ :touch {force} download
++ at if _no.has_key('CHILDDIR'):
++ _top.Dicts += $CHILDDIR/$*ARCHIVES
+
+ # The files don't depend on the .zip file so that we can delete it.
+ # Only download the zip file if the targets don't exist.
Added: trunk/packages/vim-spellfiles/patches/uk.patch
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-spellfiles/patches/uk.patch?rev=695&op=file
==============================================================================
--- trunk/packages/vim-spellfiles/patches/uk.patch (added)
+++ trunk/packages/vim-spellfiles/patches/uk.patch Mon May 22 03:33:43 2006
@@ -1,0 +1,21 @@
+Index: upstream/vim-runtime-spell/uk/main.aap
+===================================================================
+--- upstream/vim-runtime-spell/uk/main.aap.orig
++++ upstream/vim-runtime-spell/uk/main.aap
+@@ -25,7 +25,15 @@
+ # Fetching the files from OpenOffice.org.
+ #
+ OODIR = http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries
+-:attr {fetch = $OODIR/%file%} uk_UA.zip
++ARCHIVES = uk_UA.zip
++
++:attr {fetch = file://%file%} $ARCHIVES
++
++download:
++ :fetch {fetch = $OODIR/%file%} $ARCHIVES
++ :touch {force} download
++ at if _no.has_key('CHILDDIR'):
++ _top.Dicts += $CHILDDIR/$*ARCHIVES
+
+ # The files don't depend on the .zip file so that we can delete it.
+ # Only download the zip file if the targets don't exist.
Added: trunk/packages/vim-spellfiles/patches/yi.patch
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-spellfiles/patches/yi.patch?rev=695&op=file
==============================================================================
--- trunk/packages/vim-spellfiles/patches/yi.patch (added)
+++ trunk/packages/vim-spellfiles/patches/yi.patch Mon May 22 03:33:43 2006
@@ -1,0 +1,21 @@
+Index: upstream/vim-runtime-spell/yi/main.aap
+===================================================================
+--- upstream/vim-runtime-spell/yi/main.aap.orig
++++ upstream/vim-runtime-spell/yi/main.aap
+@@ -34,7 +34,15 @@
+ # Fetch the word list when needed.
+ #
+ URLDIR = http://www.cs.uky.edu/~raphael/yiddish
+-:attr {fetch = $URLDIR/%file%} $WORDFILE $WORDFILE_TR
++ARCHIVES = $WORDFILE $WORDFILE_TR
++
++:attr {fetch = file://%file%} $ARCHIVES
++
++download:
++ :fetch {fetch = $URLDIR/%file%} $ARCHIVES
++ :touch {force} download
++ at if _no.has_key('CHILDDIR'):
++ _top.Dicts += $CHILDDIR/$*ARCHIVES
+
+ # We use the word list as a .dic file, so that we can use an affix file to
+ # define a few extra things.
Added: trunk/packages/vim-spellfiles/patches/zu.patch
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-spellfiles/patches/zu.patch?rev=695&op=file
==============================================================================
--- trunk/packages/vim-spellfiles/patches/zu.patch (added)
+++ trunk/packages/vim-spellfiles/patches/zu.patch Mon May 22 03:33:43 2006
@@ -1,0 +1,21 @@
+Index: upstream/vim-runtime-spell/zu/main.aap
+===================================================================
+--- upstream/vim-runtime-spell/zu/main.aap.orig
++++ upstream/vim-runtime-spell/zu/main.aap
+@@ -31,7 +31,15 @@
+ # Fetching the files from OpenOffice.org.
+ #
+ OODIR = http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries
+-:attr {fetch = $OODIR/%file%} zu_ZA.zip
++ARCHIVES = zu_ZA.zip
++
++:attr {fetch = file://%file%} $ARCHIVES
++
++download:
++ :fetch {fetch = $OODIR/%file%} $ARCHIVES
++ :touch {force} download
++ at if _no.has_key('CHILDDIR'):
++ _top.Dicts += $CHILDDIR/$*ARCHIVES
+
+ # The files don't depend on the .zip file so that we can delete it.
+ # Only download the zip file if the targets don't exist.
More information about the pkg-vim-maintainers
mailing list