From: Andrew Ruthven <andrew@rt.etc.gen.nz>
Date: Mon, 18 May 2009 21:54:12 +0000 (+1200)
Subject: Add Debian build files.
X-Git-Tag: debian/2.05-1~1
X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2318c9b5040a3ea4ec9df053d06339979d12cd9;p=RT-Extension-ExtractCustomFieldValues.git

Add Debian build files.
---

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..e87e2a6
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+librt-extension-extractcustomfieldvalues-perl (2.05-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Andrew Ruthven <andrew@etc.gen.nz.>  Tue, 19 May 2009 09:40:52 +1200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..b03f555
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,17 @@
+Source: librt-extension-extractcustomfieldvalues-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 5)
+Build-Depends-Indep: perl (>= 5.6.10-12)
+Maintainer: Andrew Ruthven <andrew@etc.gen.nz.>
+Standards-Version: 3.8.0
+Homepage: http://search.cpan.org/dist/RT-Extension-ExtractCustomFieldValues/
+
+Package: librt-extension-extractcustomfieldvalues-perl
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}
+Description: RT Extension-ExtractCustomFieldValues Extension
+ Extract information from submitting emails into Request Tracker
+ custom fields.
+ .
+ This description was automagically extracted from the module by dh-make-perl.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..2f91281
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,13 @@
+This is the debian package for the RT-Extension-ExtractCustomFieldValues module.
+It was created by Andrew Ruthven <andrew@rt.etc.gen.nz.> using dh-make-perl.
+
+It was downloaded from http://search.cpan.org/dist/RT-Extension-ExtractCustomFieldValues/
+
+This copyright info was automatically extracted from the perl module.
+It may not be accurate, so you better check the module sources
+if you don't want to get into legal troubles.
+
+
+
+The Debian packaging is (C) 2009, Andrew Ruthven <andrew@etc.gen.nz> and
+is licensed under the same terms as the software itself (see above).
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..13dccbb
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,63 @@
+#!/usr/bin/make -f
+# This debian/rules file is provided as a template for normal perl
+# packages. It was created by Marc Brockschmidt <marc@dch-faq.de> for
+# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
+# be used freely wherever it is useful.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# If set to a true value then MakeMaker's prompt function will
+# always return the default without waiting for user input.
+export PERL_MM_USE_DEFAULT=1
+
+PERL   ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+	# Add commands to compile the package here
+	$(PERL) -I/usr/share/request-tracker3.8/lib Makefile.PL INSTALLDIRS=vendor
+	$(MAKE)
+	$(MAKE) test
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	dh_clean build-stamp install-stamp
+	# Add commands to clean up after the build process here
+	[ ! -f Makefile ] || $(MAKE) realclean
+
+install: install-stamp
+install-stamp: build-stamp
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	# Add commands to install the package into $(TMP) here
+	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+	[ ! -d $(TMP)/usr/lib/perl5 ] || \
+		rmdir --ignore-fail-on-non-empty --parents --verbose \
+		$(TMP)/usr/lib/perl5
+	touch $@
+
+binary-arch:
+# We have nothing to do here for an architecture-independent package
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs README
+	dh_installchangelogs Changes
+	dh_perl
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..554c883
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+# format version number, currently 3; this line is compulsory!
+version=3
+# URL to the package page followed by a regex to search
+http://search.cpan.org/dist/RT-Extension-ExtractCustomFieldValues/   .*/RT-Extension-ExtractCustomFieldValues-v?(\d[\d_.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$