--- wims-modules-es-3.64.orig/makedebiancopyright.sh
+++ wims-modules-es-3.64/makedebiancopyright.sh
@@ -0,0 +1,46 @@
+# -*- coding: latin-1 -*-
+cat > debian/copyright << EOF
+This package was debianized by Georges Khaznadar <georgesk@ofset.org> on
+Tue, 19 Sep 2006 02:20:18 +0200.
+
+It was sent in a private e-mail by Antonio Ullán <aullan@unex.es>
+
+Copyright for the Spanish translation:
+
+    (C) 2007-2008      Juan Rafael Fernández <jrfern@gmail.com>
+    (C) 2008-2009      Antonio Ullán <aullan@unex.es>
+
+Upstream Authors: many contributors, the end of this file is generated by
+	a script working on the files 'INDEX' of the modules.
+
+
+Copyright: Each module is (c) by its own author, see the automatic list
+	extracted by a script, below.
+
+License:
+
+Only modules licensed under GNU GPL are selected in this package.
+
+
+The Debian packaging is (C) 2006-2007, Georges Khaznadar <georgesk@ofset.org>
+and is licensed under the GPL, see '/usr/share/common-licenses/GPL'.
+
+Here is the automatically generated list:
+
+EOF
+
+echo "This list was generated on "$(date) >> debian/copyright
+echo "-------------------------------------------------------------" >> debian/copyright
+echo >> debian/copyright
+
+(
+    for f in $(find modules/ -type f -name INDEX); do 
+	echo -n "$(dirname $f) "; 
+	grep COPYING $f | sed -e 's%\(.*\)&copy;\(.*\)<a.*COPYING>\(.*\)</a>\(.*\)%\1\2\3\4%'| sed -e 's/copyright= /(c)/'; 
+	grep author $f; 
+	grep address $f| grep -v translator; 
+	echo --; 
+    done
+) >> debian/copyright
+
+recode latin1..utf8 debian/copyright
