--- pgtap-0.24.orig/debian/dirs
+++ pgtap-0.24/debian/dirs
@@ -0,0 +1,2 @@
+usr/bin
+usr/sbin
--- pgtap-0.24.orig/debian/rules
+++ pgtap-0.24/debian/rules
@@ -0,0 +1,103 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+
+
+
+
+# shared library versions, option 1
+#version=2.0.5
+#major=2
+# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so
+#version=`ls src/.libs/lib*.so.* | \
+# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
+#major=`ls src/.libs/lib*.so.* | \
+# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ # Add here commands to configure the package.
+
+ touch configure-stamp
+
+
+build: build-stamp
+build-stamp: configure-stamp
+ dh_testdir
+
+ # Add here commands to compile the package.
+ $(MAKE) USE_PGXS=1
+
+ touch $@
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+
+ # Add here commands to clean up after the build process.
+ $(MAKE) USE_PGXS=1 clean
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_prep
+ dh_installdirs
+
+ # Add here commands to install the package into debian/tmp
+ $(MAKE) USE_PGXS=1 DESTDIR=$(CURDIR)/debian/tmp install
+
+ # Remove unneeded files
+ rm -f debian/tmp/usr/lib/postgresql/8.4/bin/pg_tapgen
+ rm -f debian/tmp/usr/share/doc/postgresql/contrib/README.pgtap
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs Changes
+ dh_installdocs
+ dh_installexamples
+ dh_install --sourcedir=debian/tmp --list-missing
+# dh_installmenu
+# dh_installdebconf
+# dh_installlogrotate
+# dh_installemacsen
+# dh_installpam
+# dh_installmime
+# dh_installinit
+# dh_installcron
+# dh_installinfo
+ dh_installman
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_perl
+# dh_python
+# dh_makeshlibs
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
--- pgtap-0.24.orig/debian/watch
+++ pgtap-0.24/debian/watch
@@ -0,0 +1,8 @@
+# watch control file for uscan
+# run the "uscan" command to check for upstream updates and more.
+# See uscan(1) for format
+
+# Compulsory line, this is a version 3 file
+version=3
+
+http://pgfoundry.org/frs/?group_id=1000389 /frs/download.php/.*/pgtap-(.*)\.tar\.gz
--- pgtap-0.24.orig/debian/docs
+++ pgtap-0.24/debian/docs
@@ -0,0 +1 @@
+README.pgtap
--- pgtap-0.24.orig/debian/compat
+++ pgtap-0.24/debian/compat
@@ -0,0 +1 @@
+7
--- pgtap-0.24.orig/debian/copyright
+++ pgtap-0.24/debian/copyright
@@ -0,0 +1,31 @@
+This package was debianized by Pierre Chifflier <pollux@debian.org> on
+Fri, 26 Sep 2008 09:22:21 +0200.
+
+It was downloaded from http://pgtap.projects.postgresql.org/
+
+Upstream Author: David E. Wheeler
+
+Copyright (C) 2008 Kineticode, Inc.
+
+License:
+
+ Permission to use, copy, modify, and distribute this software and its
+ documentation for any purpose, without fee, and without a written agreement
+ is hereby granted, provided that the above copyright notice and this
+ paragraph and the following two paragraphs appear in all copies.
+
+ IN NO EVENT SHALL KINETICODE BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,
+ SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS,
+ ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
+ KINETICODE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+ KINETICODE SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED
+ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND
+ KINETICODE HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
+ ENHANCEMENTS, OR MODIFICATIONS.
+
+
+The Debian packaging is (C) 2008, Pierre Chifflier <pollux@debian.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL-3'.
+
--- pgtap-0.24.orig/debian/changelog
+++ pgtap-0.24/debian/changelog
@@ -0,0 +1,89 @@
+pgtap (0.24-1) unstable; urgency=low
+
+ * Imported Upstream version 0.24
+ * Bump Standards version to 3.9.0
+
+ -- Pierre Chifflier <pollux@debian.org> Tue, 20 Jul 2010 14:38:51 +0200
+
+pgtap (0.23-2) unstable; urgency=low
+
+ * Move pg_prove to /usr/bin (Closes: #568106)
+ * Bump standards version to 3.8.4
+
+ -- Pierre Chifflier <pollux@debian.org> Sun, 21 Feb 2010 20:07:36 +0100
+
+pgtap (0.23-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Pierre Chifflier <pollux@debian.org> Wed, 30 Dec 2009 11:08:22 +0100
+
+pgtap (0.22-1) unstable; urgency=low
+
+ * New Upstream Version
+ * Bump standards version to 3.8.3 (no changes)
+
+ -- Pierre Chifflier <pollux@debian.org> Tue, 18 Aug 2009 15:03:50 +0200
+
+pgtap (0.21-3) unstable; urgency=low
+
+ * Update build-depend to postgresql-server-dev-8.4 (Closes: #536968)
+
+ -- Pierre Chifflier <pollux@debian.org> Thu, 16 Jul 2009 19:13:44 +0200
+
+pgtap (0.21-2) unstable; urgency=low
+
+ * Change section to database (Closes: #534154)
+ * Bump standards version to 3.8.2 (no changes)
+
+ -- Pierre Chifflier <pollux@debian.org> Mon, 22 Jun 2009 21:34:22 +0200
+
+pgtap (0.21-1) unstable; urgency=low
+
+ * New Upstream Version
+ * Add watch file
+
+ -- Pierre Chifflier <pollux@debian.org> Sun, 07 Jun 2009 21:48:14 +0200
+
+pgtap (0.20-2) unstable; urgency=low
+
+ * Add dependency on libtest-harness-perl (Closes: #530837)
+
+ -- Pierre Chifflier <pollux@debian.org> Thu, 28 May 2009 15:32:21 +0200
+
+pgtap (0.20-1) unstable; urgency=low
+
+ * New Upstream Version
+ * Bump standards version to 3.8.1 (no changes)
+
+ -- Pierre Chifflier <pollux@debian.org> Mon, 30 Mar 2009 18:07:52 +0200
+
+pgtap (0.19-1) unstable; urgency=low
+
+ * New Upstream Version
+
+ -- Pierre Chifflier <pollux@debian.org> Tue, 10 Mar 2009 09:50:40 +0100
+
+pgtap (0.16-1) unstable; urgency=low
+
+ * New Upstream Version
+
+ -- Pierre Chifflier <pollux@debian.org> Wed, 04 Feb 2009 11:00:50 +0100
+
+pgtap (0.14-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Pierre Chifflier <pollux@debian.org> Tue, 28 Oct 2008 09:18:55 +0100
+
+pgtap (0.12-2) unstable; urgency=low
+
+ * Add missing build-dep on postgresql-server-dev-8.3 (fix FTBFS)
+
+ -- Pierre Chifflier <pollux@debian.org> Mon, 27 Oct 2008 09:19:26 +0100
+
+pgtap (0.12-1) unstable; urgency=low
+
+ * Initial release (Closes: #500671)
+
+ -- Pierre Chifflier <pollux@debian.org> Mon, 13 Oct 2008 09:51:43 +0200
--- pgtap-0.24.orig/debian/control
+++ pgtap-0.24/debian/control
@@ -0,0 +1,23 @@
+Source: pgtap
+Priority: extra
+Maintainer: Pierre Chifflier <pollux@debian.org>
+Build-Depends: debhelper (>= 7),
+ libpq-dev (>= 8.0),
+ postgresql-server-dev-8.4
+Standards-Version: 3.9.0
+Section: database
+Homepage: http://pgtap.projects.postgresql.org/
+
+Package: pgtap
+Section: database
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends},
+ ${perl:Depends},
+ libtest-harness-perl,
+ libpq5 (>= 8.0)
+Description: Unit testing framework for PostgreSQL
+ pgTAP is a suite of database functions that make it easy to write
+ TAP-emitting unit tests in psql scripts suitable for harvesting,
+ analysis, and reporting by a TAP harness, such as those used in Perl
+ and PHP applications.
+ TAP is the Test Anything Protocol (http://testanything.org/).
--- pgtap-0.24.orig/debian/pgtap.install
+++ pgtap-0.24/debian/pgtap.install
@@ -0,0 +1,2 @@
+usr/lib/postgresql/*/bin/pg_prove usr/bin
+usr/share/postgresql/*
--- pgtap-0.24.orig/debian/pgtap.dirs
+++ pgtap-0.24/debian/pgtap.dirs
@@ -0,0 +1,3 @@
+usr/bin
+usr/share/postgresql
+