--- arename-3.1.orig/debian/watch
+++ arename-3.1/debian/watch
@@ -0,0 +1,4 @@
+version=3
+
+http://github.com/ft/arename/downloads \
+ http://cloud\.github\.com/downloads/ft/arename/arename-([\d.]+)\.tar\.gz
--- arename-3.1.orig/debian/control
+++ arename-3.1/debian/control
@@ -0,0 +1,19 @@
+Source: arename
+Section: sound
+Priority: optional
+Maintainer: Maximilian Gass <mxey@cloudconnected.org>
+Build-Depends: debhelper (>= 7.0.50~)
+Standards-Version: 3.8.3
+Homepage: http://ft.bewatermyfriend.org/comp/arename.html
+Vcs-Git: git://git.debian.org/collab-maint/arename.git
+Vcs-Browser: http://git.debian.org/?p=collab-maint/arename.git
+
+Package: arename
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}, libreadonly-perl,
+ libmp3-tag-perl, libogg-vorbis-header-perl, libaudio-flac-header-perl
+Description: automatic audio file renaming
+ arename is a tool that is able to rename audio files by looking at a file's
+ tagging information. It uses this information to assemble a consistent
+ destination file name. The user can define the format of the destination
+ filename by the use of template strings.
--- arename-3.1.orig/debian/copyright
+++ arename-3.1/debian/copyright
@@ -0,0 +1,34 @@
+Format-Specification:
+ http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=59
+
+Copyright: 2007-2009, Frank Terbeck <ft@bewatermyfriend.org>
+License: BSD-C2
+
+Files: debian/*
+Copyright: 2009, Maximilian Gass <mxey@cloudconnected.org>
+License: BSD-C2
+
+License: BSD-C2
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+
+ 1. Redistributions of source code must retain the above
+ copyright notice, this list of conditions and the following
+ disclaimer.
+ 2. Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials
+ provided with the distribution.
+
+ THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
+ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS OF THE
+ PROJECT BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--- arename-3.1.orig/debian/ataglist.pod
+++ arename-3.1/debian/ataglist.pod
@@ -0,0 +1,23 @@
+=head1 NAME
+
+ataglist - print audio file metadata in an easily parsable format
+
+=head1 SYNOPSIS
+
+ataglist FILE
+
+=head1 DESCRIPTION
+
+ataglist takes only one argument, a filename. *.ogg, *.mp3
+or *.flac. It outputs a number of lines, that can be easily used
+to create a hash of tag->tag_value pairs in zsh. This program's
+main use is to help implement a functionality in atag, that makes
+it possible to export tag values into zsh shell variables.
+
+Useful for scripting. Calling this program by hand is probably not that useful...
+
+=head1 AUTHORS
+
+This manual page was written by Maximilian Gass <mxey@cloudconnected.org> for
+the Debian project, but may be used by others.
+=cut
--- arename-3.1.orig/debian/compat
+++ arename-3.1/debian/compat
@@ -0,0 +1 @@
+7
--- arename-3.1.orig/debian/changelog
+++ arename-3.1/debian/changelog
@@ -0,0 +1,12 @@
+arename (3.1-1) unstable; urgency=low
+
+ * New upstream release
+ * Add Vcs headers to debian/control
+
+ -- Maximilian Gass <mxey@cloudconnected.org> Wed, 25 Nov 2009 16:02:55 +0100
+
+arename (3.0-1) unstable; urgency=low
+
+ * Initial release (Closes: #549353)
+
+ -- Maximilian Gass <mxey@cloudconnected.org> Fri, 02 Oct 2009 19:17:07 +0200
--- arename-3.1.orig/debian/rules
+++ arename-3.1/debian/rules
@@ -0,0 +1,28 @@
+#!/usr/bin/make -f
+%:
+ dh $@
+
+override_dh_auto_clean:
+ # make clean would remove the 'arename' executable but we need to keep it,
+ # because we do not build it ourselves but instead use it as shipped in the
+ # tarball (make clean is not supposed to be called by the user)
+
+ rm -f ataglist.1
+
+override_dh_auto_build:
+ # no building required, make just shows a usage error
+
+ pod2man debian/ataglist.pod > ataglist.1
+
+override_dh_auto_test:
+ # test requires audio test data and LAME
+
+override_dh_auto_install:
+ make install prefix=debian/arename/usr libpath=share/perl5
+ make install-doc prefix=debian/arename/usr
+ rm debian/arename/usr/share/doc/arename/CHANGES
+ rm debian/arename/usr/share/doc/arename/LICENCE
+ rm debian/arename/usr/share/doc/arename/README
+ rm debian/arename/usr/share/doc/arename/arename.html
+
+ cp ataglist.1 debian/arename/usr/share/man/man1