r13990 - in /trunk/libclass-dbi-plugin-abstractcount-perl/debian: changelog control rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Fri Feb 1 17:39:49 UTC 2008


Author: gregoa-guest
Date: Fri Feb  1 17:39:49 2008
New Revision: 13990

URL: http://svn.debian.org/wsvn/?sc=1&rev=13990
Log:
* debian/control: move debhelper to Build-Depends.
* debian/rules: rewrite with template from dh-make-perl.
* Don't install README anymore, doesn't provide additional information.

Modified:
    trunk/libclass-dbi-plugin-abstractcount-perl/debian/changelog
    trunk/libclass-dbi-plugin-abstractcount-perl/debian/control
    trunk/libclass-dbi-plugin-abstractcount-perl/debian/rules

Modified: trunk/libclass-dbi-plugin-abstractcount-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libclass-dbi-plugin-abstractcount-perl/debian/changelog?rev=13990&op=diff
==============================================================================
--- trunk/libclass-dbi-plugin-abstractcount-perl/debian/changelog (original)
+++ trunk/libclass-dbi-plugin-abstractcount-perl/debian/changelog Fri Feb  1 17:39:49 2008
@@ -15,10 +15,13 @@
   [ gregor herrmann ]
   * New upstream release.
   * debian/control: remove Homepage from long description.
+  * debian/control: move debhelper to Build-Depends.
   * Set Standards-Version to 3.7.3 (no changes).
   * Set debhelper compatibility level to 6.
+  * debian/rules: rewrite with template from dh-make-perl.
+  * Don't install README anymore, doesn't provide additional information.
 
- -- gregor herrmann <gregor+debian at comodo.priv.at>  Fri, 01 Feb 2008 18:20:22 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at>  Fri, 01 Feb 2008 18:39:19 +0100
 
 libclass-dbi-plugin-abstractcount-perl (0.06-1) unstable; urgency=low
 

Modified: trunk/libclass-dbi-plugin-abstractcount-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libclass-dbi-plugin-abstractcount-perl/debian/control?rev=13990&op=diff
==============================================================================
--- trunk/libclass-dbi-plugin-abstractcount-perl/debian/control (original)
+++ trunk/libclass-dbi-plugin-abstractcount-perl/debian/control Fri Feb  1 17:39:49 2008
@@ -3,7 +3,8 @@
 Uploaders: Ben Hutchings <ben at decadentplace.org.uk>
 Section: perl
 Priority: extra
-Build-Depends-Indep: debhelper (>= 6), perl (>= 5.6.0-16), libclass-dbi-perl (>= 0.95), libclass-dbi-plugin-perl (>= 0.02), libsql-abstract-perl (>= 1.10), libtest-pod-perl, libtest-pod-coverage-perl
+Build-Depends: debhelper (>= 6)
+Build-Depends-Indep: perl (>= 5.6.0-16), libclass-dbi-perl (>= 0.95), libclass-dbi-plugin-perl (>= 0.02), libsql-abstract-perl (>= 1.10), libtest-pod-perl, libtest-pod-coverage-perl
 Standards-Version: 3.7.3
 Homepage: http://search.cpan.org/dist/Class-DBI-Plugin-AbstractCount/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libclass-dbi-plugin-abstractcount-perl/

Modified: trunk/libclass-dbi-plugin-abstractcount-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libclass-dbi-plugin-abstractcount-perl/debian/rules?rev=13990&op=diff
==============================================================================
--- trunk/libclass-dbi-plugin-abstractcount-perl/debian/rules (original)
+++ trunk/libclass-dbi-plugin-abstractcount-perl/debian/rules Fri Feb  1 17:39:49 2008
@@ -1,29 +1,74 @@
 #!/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.
 
-build : build-stamp
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
 
-build-stamp : Makefile.PL
-	perl Makefile.PL INSTALLDIRS=vendor
+# 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
+
+	$(PERL) Makefile.PL INSTALLDIRS=vendor
+	$(MAKE)
 	$(MAKE) test
-	touch build-stamp
 
-binary : binary-arch binary-indep
+	touch $@
 
-binary-arch :
+clean:
+	dh_testdir
+	dh_testroot
 
-binary-indep : build-stamp
+	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
-	$(MAKE) PREFIX=$(CURDIR)/debian/libclass-dbi-plugin-abstractcount-perl/usr install
+	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
+	dh_installchangelogs Changes
 	dh_perl
-	dh_installchangelogs Changes
-	dh_installdocs README
 	dh_compress
 	dh_fixperms
+	dh_installdeb
 	dh_gencontrol
+	dh_md5sums
 	dh_builddeb
 
-clean : 
-	if [ -f Makefile ]; then $(MAKE) clean; fi
-	dh_clean Makefile Makefile.old build-stamp
+source diff:
+	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
 
-.PHONY : build binary binary-arch binary-dep clean
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary




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