[libtheschwartz-perl] 03/43: [svn-inject] Applying Debian modifications to trunk

dom at earth.li dom at earth.li
Mon May 9 20:10:50 UTC 2016


This is an automated email from the git hooks/post-receive script.

dom pushed a commit to branch master
in repository libtheschwartz-perl.

commit daa87f74df6e32b7973ecf0041d4b3a1316dac6d
Author: Dominic Hargreaves <dom at earth.li>
Date:   Thu Dec 20 22:53:57 2007 +0000

    [svn-inject] Applying Debian modifications to trunk
---
 debian/changelog |  5 ++++
 debian/compat    |  1 +
 debian/control   | 26 ++++++++++++++++++
 debian/copyright | 18 +++++++++++++
 debian/rules     | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 131 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..f586536
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+libtheschwartz-perl (1.04-1) unstable; urgency=low
+
+  * Initial Release. (Closes: #456255)
+
+ -- Dominic Hargreaves <dom at earth.li>  Thu, 20 Dec 2007 22:41:18 +0000
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..640dc40
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,26 @@
+Source: libtheschwartz-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 5.0.0)
+Build-Depends-Indep: perl (>= 5.8.8-12), perl-modules, libdata-objectdriver-perl
+Maintainer: Dominic Hargreaves <dom at earth.li>
+Standards-Version: 3.7.3
+Homepage: http://search.cpan.org/dist/TheSchwartz/
+
+Package: libtheschwartz-perl
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}, libdata-objectdriver-perl
+Description:  reliable job queue
+ TheSchwartz is a reliable job queue system. Your application can put jobs into
+ the system, and your worker processes can pull jobs from the queue atomically
+ to perform. Failed jobs can be left in the queue to retry later.
+ .
+ Abilities specify what jobs a worker process can perform. Abilities are the
+ names of TheSchwartz::Worker subclasses, as in the synopsis: the MyWorker
+ class name is used to specify that the worker script can perform the job. When
+ using the TheSchwartz client's work functions, the class-ability duality
+ is used to automatically dispatch to the proper class to do the actual work.
+ .
+ TheSchwartz clients will also prefer to do jobs for unused abilities before
+ reusing a particular ability, to avoid exhausting the supply of one kind of job
+ while jobs of other types stack up.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..2e11d09
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,18 @@
+This is the debian package for the TheSchwartz module.
+It was created by Dominic Hargreaves <dom at earth.li> using dh-make-perl.
+
+It was downloaded from http://search.cpan.org/dist/TheSchwartz/
+
+This software is Copyright 2007, Six Apart Ltd, cpan at sixapart.com. All
+rights reserved.
+
+TheSchwartz is free software; you may redistribute it and/or modify it
+under the same terms as Perl itself.
+
+Perl is distributed under your choice of the GNU General Public License or
+the Artistic License.  On Debian GNU/Linux systems, the complete text of the
+GNU General Public License can be found in `/usr/share/common-licenses/GPL'
+and the Artistic Licence in `/usr/share/common-licenses/Artistic'.
+
+The Debian packaging is (C) 2007, Dominic Hargreaves <dom at earth.li> 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..921632c
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,81 @@
+#!/usr/bin/make -f
+# This debian/rules file is provided as a template for normal perl
+# packages. It was created by Marc Brockschmidt <marc at 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
+
+PACKAGE=$(shell dh_listpackages)
+
+ifndef PERL
+PERL = /usr/bin/perl
+endif
+
+TMP     =$(CURDIR)/debian/$(PACKAGE)
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	# As this is a architecture independent package, we are not
+	# supposed to install stuff to /usr/lib. MakeMaker creates
+	# the dirs, we prevent this by setting the INSTALLVENDORARCH
+	# and VENDORARCHEXP environment variables.
+
+	# Add commands to compile the package here
+	$(PERL) Makefile.PL INSTALLDIRS=vendor \
+		INSTALLVENDORARCH=/usr/share/perl5/ \
+		VENDORARCHEXP=/usr/share/perl5/
+	$(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 debian/$PACKAGE_NAME here
+	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+
+	touch $@
+
+binary-arch:
+# We have nothing to do here for an architecture-independent package
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installexamples extras/check_schwartz
+	dh_installdocs doc/*
+	dh_installchangelogs CHANGES
+	dh_perl
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+source diff:
+	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libtheschwartz-perl.git



More information about the Pkg-perl-cvs-commits mailing list