--- sndfile-tools-1.03.orig/debian/changelog
+++ sndfile-tools-1.03/debian/changelog
@@ -0,0 +1,12 @@
+sndfile-tools (1.03-2) unstable; urgency=low
+
+ * debian/copyright
+ - Make copyrights more explicit.
+
+ -- Erik de Castro Lopo <erikd@mega-nerd.com> Mon, 21 Dec 2009 11:43:11 +1100
+
+sndfile-tools (1.03-1) unstable; urgency=low
+
+ * Initial release (Closes: 559757).
+
+ -- Erik de Castro Lopo <erikd@mega-nerd.com> Mon, 14 Dec 2009 19:42:42 +1100
--- sndfile-tools-1.03.orig/debian/sndfile-tools.install
+++ sndfile-tools-1.03/debian/sndfile-tools.install
@@ -0,0 +1,2 @@
+usr/bin/*
+usr/share/man/man1/*
--- sndfile-tools-1.03.orig/debian/control
+++ sndfile-tools-1.03/debian/control
@@ -0,0 +1,19 @@
+Source: sndfile-tools
+Section: sound
+Priority: extra
+Maintainer: Erik de Castro Lopo <erikd@mega-nerd.com>
+DM-Upload-Allowed: yes
+Build-Depends: debhelper (>= 7.0.0), pkg-config, libsndfile1-dev, libjack-dev,
+ libfftw3-dev, libcairo2-dev
+Standards-Version: 3.8.3
+Homepage: http://www.mega-nerd.com/libsndfile/tools/
+
+Package: sndfile-tools
+Architecture: any
+Depends: ${shlibs:Depends}
+Conflicts: sndfile-programs (<< 1.0.21)
+Description: A collection of programs for operating on sound files
+ .
+ sndfile-tools is a collection of programs which use libsndfile and other
+ libraries to do useful things like generate spectrograms using libfftw and
+ libcariro and play sound via the JACK Audio Connection Kit daemon.
--- sndfile-tools-1.03.orig/debian/watch
+++ sndfile-tools-1.03/debian/watch
@@ -0,0 +1,3 @@
+version=3
+
+http://www.mega-nerd.com/libsndfile/files/ sndfile-tools-([0-9\.]+)\.tar\.gz
--- sndfile-tools-1.03.orig/debian/rules
+++ sndfile-tools-1.03/debian/rules
@@ -0,0 +1,77 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# If we have anything in debian/patches/
+#include /usr/share/quilt/quilt.make
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -g
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+ INSTALL_PROGRAM += -s
+endif
+
+config.status: configure
+ dh_testdir
+ ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man
+
+
+build: patch build-stamp
+build-stamp: config.status
+ dh_testdir
+
+ $(MAKE)
+
+ # Failure in test suite must cause a build failure.
+ $(MAKE) check
+
+ touch build-stamp
+
+clean: unpatch
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+
+ [ ! -f Makefile ] || $(MAKE) distclean
+
+ dh_clean -a
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_prep -a
+ dh_installdirs
+
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+
+binary-indep: build install
+
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_install -a --sourcedir=debian/tmp --list-missing
+
+ dh_installdocs -a
+ dh_installexamples -a
+ dh_installchangelogs -a ChangeLog
+ dh_strip -a
+ dh_compress -a
+ dh_fixperms -a
+ dh_installdeb -a
+ dh_shlibdeps -psndfile-tools -ldebian/tmp/usr/lib
+ dh_gencontrol -a
+ dh_md5sums -a
+ dh_builddeb -a
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install patch unpatch
--- sndfile-tools-1.03.orig/debian/copyright
+++ sndfile-tools-1.03/debian/copyright
@@ -0,0 +1,26 @@
+This package was debianized by Erik de Castro Lopo <erikd@mega-nerd.com> on
+Sun, 13 Dec 2009 16:19:18 +1100.
+
+It was downloaded from: http://www.mega-nerd.com/libsndfile/tools/
+
+Upstream Author: Erik de Castro Lopo <erikd@mega-nerd.com>
+
+Copyrights:
+
+ Copyright (C) 2007-2009 Erik de Castro Lopo <erikd@mega-nerd.com>
+ Copyright (C) 2007 Jonatan Liljedahl <lijon@kymatica.com>
+
+The files in the upstream source tarball are under the GPL2+ license. Each
+source code file has license block at the top.
+
+The complete text of the GPL licenses can be found on Debian systems at
+
+ /usr/share/common-licenses/GPL-2
+ /usr/share/common-licenses/GPL-3
+
+Debian packaging copyright:
+
+ (C) 2009 Erik de Castro Lopo <erikd@mega-nerd.com>
+
+ All changes by Erik de Castro Lopo may be redistributed under the same
+ terms as sndfile-tools itself.
--- sndfile-tools-1.03.orig/debian/compat
+++ sndfile-tools-1.03/debian/compat
@@ -0,0 +1 @@
+7