]> git.etc.gen.nz Git - RT-Extension-ExtractCustomFieldValues.git/commitdiff
Add Debian build files.
authorAndrew Ruthven <andrew@rt.etc.gen.nz>
Mon, 18 May 2009 21:54:12 +0000 (09:54 +1200)
committerAndrew Ruthven <andrew@rt.etc.gen.nz>
Mon, 18 May 2009 21:54:12 +0000 (09:54 +1200)
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/watch [new file with mode: 0644]

diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..e87e2a6
--- /dev/null
@@ -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 (file)
index 0000000..7ed6ff8
--- /dev/null
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..b03f555
--- /dev/null
@@ -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 (file)
index 0000000..2f91281
--- /dev/null
@@ -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 (executable)
index 0000000..13dccbb
--- /dev/null
@@ -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 (file)
index 0000000..554c883
--- /dev/null
@@ -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)$