From d1aca01d2ab7237db1d512790722c217251d15a3 Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Wed, 27 May 2009 11:30:08 +1200 Subject: [PATCH] Add Debian files. --- debian/changelog | 5 ++++ debian/compat | 1 + debian/control | 19 +++++++++++++++ debian/copyright | 14 +++++++++++ debian/rules | 63 ++++++++++++++++++++++++++++++++++++++++++++++++ debian/watch | 4 +++ 6 files changed, 106 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100755 debian/rules create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..93729c0 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +librt-extension-mergeusers-perl (0.03-02-1) unstable; urgency=low + + * Initial Release. + + -- Andrew Ruthven Wed, 27 May 2009 11:27:30 +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..59a13ba --- /dev/null +++ b/debian/control @@ -0,0 +1,19 @@ +Source: librt-extension-mergeusers-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 5) +Build-Depends-Indep: perl (>= 5.6.10-12) +Maintainer: Andrew Ruthven +Standards-Version: 3.8.0 +Homepage: http://search.cpan.org/dist/RT-Extension-MergeUsers/ +Vcs-Git: http://git.etc.gen.nz/RT-Extension-MergeUsers.git +Vcs-Browser: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?p=RT-Extension-MergeUsers.git;a=summary + + +Package: librt-extension-mergeusers-perl +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends} +Description: Merges two users into the same effective user + Merges two users into the same effective user + . + 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..6402a44 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,14 @@ +This is the debian package for the RT-Extension-MergeUsers module. +It was created by Andrew Ruthven using dh-make-perl. + +It was downloaded from http://search.cpan.org/dist/RT-Extension-MergeUsers/ + +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 upstream author is: Alex Vandiver . + + +The Debian packaging is (C) 2009, Andrew Ruthven 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 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..79728cc --- /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-MergeUsers/ .*/RT-Extension-MergeUsers-v?(\d[\d_.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ -- 2.30.2