--- gprename-2.6.orig/debian/copyright
+++ gprename-2.6/debian/copyright
@@ -0,0 +1,27 @@
+This package was debianized by Marvin Stark <marv@der-marv.de> on
+Tue, 05 Apr 2007 16:40:15 +0200.
+
+It was downloaded from <http://gprename.sourceforge.net/>
+
+Copyright Holder: Copyright (C) 2008 gprename-users@lists.sourceforge.net
+
+Please remember that a mailinglist is not able to make any decisions
+about the copyrighted material.
+
+License:
+
+   This package is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License version 3 as
+   published by the Free Software Foundation;
+
+   This package is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this package; if not, write to the Free Software
+   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
--- gprename-2.6.orig/debian/compat
+++ gprename-2.6/debian/compat
@@ -0,0 +1 @@
+4
--- gprename-2.6.orig/debian/watch
+++ gprename-2.6/debian/watch
@@ -0,0 +1,3 @@
+# Compulsory line, this is a version 3 file
+version=3
+http://sf.net/gprename/gprename-([\d\.]*)\.tar\.bz2 debian uupdate
--- gprename-2.6.orig/debian/README.source
+++ gprename-2.6/debian/README.source
@@ -0,0 +1,58 @@
+This package uses quilt to manage all modifications to the upstream
+source.  Changes are stored in the source package as diffs in
+debian/patches and applied during the build.
+
+To configure quilt to use debian/patches instead of patches, you want
+either to export QUILT_PATCHES=debian/patches in your environment
+or use this snippet in your ~/.quiltrc:
+
+    for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do
+        if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then
+                export QUILT_PATCHES=debian/patches
+        fi
+    done
+
+To get the fully patched source after unpacking the source package, cd to
+the root level of the source package and run:
+
+    fakeroot debian/rules install
+    quilt push -a
+
+The last patch listed in debian/patches/series will become the current
+patch.
+
+To add a new set of changes, first run quilt push -a, and then run:
+
+    quilt new <patch>
+
+where <patch> is a descriptive name for the patch, used as the filename in
+debian/patches.  Then, for every file that will be modified by this patch,
+run:
+
+    quilt add <file>
+
+before editing those files.  You must tell quilt with quilt add what files
+will be part of the patch before making changes or quilt will not work
+properly.  After editing the files, run:
+
+    quilt refresh
+
+to save the results as a patch.
+
+Alternately, if you already have an external patch and you just want to
+add it to the build system, run quilt push -a and then:
+
+    quilt import -P <patch> /path/to/patch
+    quilt push -a
+
+(add -p 0 to quilt import if needed). <patch> as above is the filename to
+use in debian/patches.  The last quilt push -a will apply the patch to
+make sure it works properly.
+
+To remove an existing patch from the list of patches that will be applied,
+run:
+
+    quilt delete <patch>
+
+You may need to run quilt pop -a to unapply patches first before running
+this command.
--- gprename-2.6.orig/debian/rules
+++ gprename-2.6/debian/rules
@@ -0,0 +1,52 @@
+#!/usr/bin/make -f
+
+# Include quilt.
+include /usr/share/quilt/quilt.make
+
+build: build-stamp patch
+
+build-stamp:
+	dh_testdir
+	touch build-stamp
+
+clean: unpatch
+	rm -f patches
+	dh_testdir
+	dh_testroot
+	rm -rf $(CURDIR)/debian/.pc
+	rm -f patch-stamp
+	rm -f build-stamp
+	rm -f patch-stamp
+	dh_clean
+
+	make clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	# Install GPRename.
+	make PREFIX=/usr DESTDIR=$(CURDIR)/debian/gprename/usr install
+
+binary-indep: build install
+	# Fix gprename.desktop file.
+	cp -f build/gprename.desktop debian/gprename/usr/share/applications/gprename.desktop
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs
+	dh_installdocs
+	dh_installmenu
+	dh_compress
+	dh_fixperms
+	dh_perl
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary-arch: build install patch
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- gprename-2.6.orig/debian/menu
+++ gprename-2.6/debian/menu
@@ -0,0 +1,3 @@
+?package(gprename):needs="X11" section="Applications/File Management"\
+  title="gprename" command="/usr/bin/gprename"\
+  icon="/usr/share/pixmaps/gprename/gprename_debian_menu_icon.xpm"
--- gprename-2.6.orig/debian/control
+++ gprename-2.6/debian/control
@@ -0,0 +1,15 @@
+Source: gprename
+Section: utils
+Priority: optional
+Maintainer: Marvin Stark <marv@der-marv.de>
+Build-Depends: debhelper (>= 4.0.0), quilt
+Standards-Version: 3.8.0
+
+Package: gprename
+Architecture: all
+Homepage: http://gprename.sourceforge.net
+Depends: ${perl:Depends}, libglib-perl, libgtk2-perl, liblocale-gettext-perl, libintl-perl
+Description: Complete batch renamer for Linux
+ GPRename is a complete batch renamer for files and directorys.
+ GPRename easily can replace, remove, insert, delete and number
+ consecutively files and directorys.
--- gprename-2.6.orig/debian/changelog
+++ gprename-2.6/debian/changelog
@@ -0,0 +1,47 @@
+gprename (2.6-1) unstable; urgency=low
+
+  * New Upstream Version
+  * debian/control:
+    - Updated Homepage field
+    - Updated Standard-Version
+  * gprename.desktop:
+    - Renamed gprename.desktop.patch to gprename.desktop.diff
+    - Removed the Encoding key it's now deprecated by the FreeDesktop standard
+  * debian/changelog:
+    - Removed waste whitespaces
+  * debian/rules:
+    - Moved code from binary-arch to binary-indep because architecture is all
+  * Added debian/README.source 
+  * Added debian/watch 
+  * Made package ready for source format 3.0 (quilt) (Closes: #485332)
+
+ -- Marvin Stark <marv@der-marv.de>  Fri, 11 Jul 2008 21:56:11 +0200
+
+gprename (2.5-2) unstable; urgency=low
+
+  * Fixed icon location in /usr/bin/gprename (Closes: #448824)
+
+ -- Marvin Stark <marv@der-marv.de>  Sun, 04 Nov 2007 22:18:27 +0000
+
+gprename (2.5-1) unstable; urgency=low
+
+  * New upstream release.
+  * Added Homepage field to control file.
+
+ -- Marvin Stark <marv@der-marv.de>  Fri, 26 Oct 2007 23:57:16 +0000
+
+gprename (2.4-1) unstable; urgency=low
+
+  * New upstream release.
+  * Removed Debian patches (included in upstream version).
+  * Removed manpage (included in upstream version).
+  * Removed menu icon (included in upstream version).
+  * Added libglib-perl liblocale-gettext-perl and libintl-perl to Depends.
+
+ -- Marvin Stark <marv@der-marv.de>  Wed, 01 Aug 2007 14:00:23 +0000
+
+gprename (2.2-1) unstable; urgency=low
+
+  * Initial release (Closes: #426582)
+
+ -- Marvin Stark <marv@der-marv.de>  Tue, 05 Apr 2007 16:40:15 +0200
--- gprename-2.6.orig/debian/docs
+++ gprename-2.6/debian/docs
@@ -0,0 +1 @@
+README
--- gprename-2.6.orig/debian/patches/series
+++ gprename-2.6/debian/patches/series
@@ -0,0 +1 @@
+gprename.desktop.diff
--- gprename-2.6.orig/debian/patches/gprename.desktop.diff
+++ gprename-2.6/debian/patches/gprename.desktop.diff
@@ -0,0 +1,16 @@
+Index: gprename/bin/gprename.desktop
+===================================================================
+--- gprename.orig/bin/gprename.desktop	2008-07-11 21:54:48.000000000 +0200
++++ gprename/bin/gprename.desktop	2008-07-11 21:54:57.000000000 +0200
+@@ -1,5 +1,4 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ Version=2.6
+ Name=GPRename
+ Comment=To rename files and directories in batch
+@@ -7,4 +6,4 @@
+ Icon=@INSTALLDIR@/share/pixmaps/gprename/gprename.png
+ Terminal=false
+ Type=Application
+-Categories=Application;Tools;Utility;
++Categories=Utility;FileManager;
