r19929 - in /trunk/libclass-multimethods-perl/debian: changelog compat control copyright rules

gwolf at users.alioth.debian.org gwolf at users.alioth.debian.org
Mon May 12 18:30:38 UTC 2008


Author: gwolf
Date: Mon May 12 18:30:37 2008
New Revision: 19929

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=19929
Log:
Updated/rewrote several bits. Ready for upload.

Modified:
    trunk/libclass-multimethods-perl/debian/changelog
    trunk/libclass-multimethods-perl/debian/compat
    trunk/libclass-multimethods-perl/debian/control
    trunk/libclass-multimethods-perl/debian/copyright
    trunk/libclass-multimethods-perl/debian/rules

Modified: trunk/libclass-multimethods-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-multimethods-perl/debian/changelog?rev=19929&op=diff
==============================================================================
--- trunk/libclass-multimethods-perl/debian/changelog (original)
+++ trunk/libclass-multimethods-perl/debian/changelog Mon May 12 18:30:37 2008
@@ -1,12 +1,22 @@
-libclass-multimethods-perl (1.70-5) UNRELEASED; urgency=low
+libclass-multimethods-perl (1.70-5) unstable; urgency=low
 
+  [ gregor herrmann ]
   * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
     field (source stanza); Homepage field (source stanza).
   * Set Maintainer to Debian Perl Group.
   * Use dist-based URL in debian/watch.
   * debian/rules: delete /usr/lib/perl5 only if it exists.
 
- -- gregor herrmann <gregor+debian at comodo.priv.at>  Sat, 01 Dec 2007 18:54:48 +0100
+  [ Gunnar Wolf ]
+  * Bumped up standards-version to 3.7.3
+  * Updated debhelper compat version to 5
+  * Moved debhelper from b-d-indep to b-d
+  * Added myself as an uploader
+  * Replaced debian/rules with our more standardized dh-make-perl's version
+  * Rewrote debian/copyright to include missing information;
+    debian/copyright now in machine-parsable format
+
+ -- Gunnar Wolf <gwolf at debian.org>  Mon, 12 May 2008 13:29:07 -0500
 
 libclass-multimethods-perl (1.70-4) unstable; urgency=low
 

Modified: trunk/libclass-multimethods-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-multimethods-perl/debian/compat?rev=19929&op=diff
==============================================================================
--- trunk/libclass-multimethods-perl/debian/compat (original)
+++ trunk/libclass-multimethods-perl/debian/compat Mon May 12 18:30:37 2008
@@ -1,1 +1,1 @@
-4
+5

Modified: trunk/libclass-multimethods-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-multimethods-perl/debian/control?rev=19929&op=diff
==============================================================================
--- trunk/libclass-multimethods-perl/debian/control (original)
+++ trunk/libclass-multimethods-perl/debian/control Mon May 12 18:30:37 2008
@@ -2,9 +2,10 @@
 Section: perl
 Priority: optional
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
-Uploaders: Jay Bonci <jaybonci at debian.org>
-Build-Depends-Indep: debhelper (>= 4.1.0), perl (>= 5.6.0-16)
-Standards-Version: 3.6.1.0
+Uploaders: Jay Bonci <jaybonci at debian.org>, Gunnar Wolf <gwolf at debian.org>
+Build-Depends: debhelper (>= 5)
+Build-Depends-Indep: perl (>= 5.6.0-16)
+Standards-Version: 3.7.3
 Homepage: http://search.cpan.org/dist/Class-Multimethods/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libclass-multimethods-perl/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-multimethods-perl/

Modified: trunk/libclass-multimethods-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-multimethods-perl/debian/copyright?rev=19929&op=diff
==============================================================================
--- trunk/libclass-multimethods-perl/debian/copyright (original)
+++ trunk/libclass-multimethods-perl/debian/copyright Mon May 12 18:30:37 2008
@@ -1,27 +1,31 @@
-This package was debianized by Sean Perry <shaleh at debian.org> on
-Thu,  8 Feb 2001 23:28:18 -0800.
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat
+Debianized-By: Sean Perry <shaleh at debian.org>
+Debianized-Date: Thu,  8 Feb 2001 23:28:18 -0800.
+Original-Source: http://search.cpan.org/dist/Class-Multimethods
 
-It was downloaded from: http://search.cpan.org/dist/Class-Multimethods
+Files: *
+Copyright: Damian Conway <damian at conway.org>
+License: GPL-1+ | Artistic
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of either:
+ .
+ a) the GNU General Public License as published by the Free
+ Software Foundation; either version 1, or (at your option) any
+ later version, or
+ .
+ b) the "Artistic License"
+ .
+ On Debian systems, the complete text for both files can be found at:
+ .
+ /usr/share/common-licenses/Artistic
+ /usr/share/common-licenses/GPL
 
-Upstream Authors:
+Files: debian/*
+Copyright: © 2008 Debian Perl Group <debian-perl at lists.debian.org>
+           © 2004 Jay Bonci <jay at bonci.com>
+	   © 2004 Thomas Bushnell <tb at debian.org>
+           © 2001 Sean Perry <shaleh at debian.org>
+License: other
+ It is assumed that all Debian maintainers used a license compatible with
+ upstream's.
 
-	Damian Conway <damian at conway.org>
-
-Copyright:
-
-        This program is free software; you can redistribute it and/or modify
-        it under the terms of either:
-
-        a) the GNU General Public License as published by the Free
-        Software Foundation; either version 1, or (at your option) any
-        later version, or
-
-        b) the "Artistic License"
-
-        See:
-
-        /usr/share/common-licenses/Artistic
-        /usr/share/common-licenses/GPL
-
-        For more information regarding these licensing options
-

Modified: trunk/libclass-multimethods-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-multimethods-perl/debian/rules?rev=19929&op=diff
==============================================================================
--- trunk/libclass-multimethods-perl/debian/rules (original)
+++ trunk/libclass-multimethods-perl/debian/rules Mon May 12 18:30:37 2008
@@ -1,55 +1,64 @@
 #!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
+# 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
 
-# This is the debhelper compatibility version to use.
-# export DH_COMPAT=4
+# 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=`pwd | sed -e "s/.*\/\\(.*\\)-.*/\\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) Makefile.PL INSTALLDIRS=vendor
+	$(MAKE)
+	$(MAKE) test
+	touch $@
 
-build:
-	dh_testdir
-	# Add here commands to compile the package.
-	perl Makefile.PL verbose INSTALLDIRS=vendor
 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
 
-	-$(MAKE) clean
-	rm -f Makefile.old
-	dh_clean
-
-install:
+install: install-stamp
+install-stamp: build-stamp
 	dh_testdir
 	dh_testroot
 	dh_clean -k
-	dh_installdirs
+	# 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 $@
 
-	-find $(CURDIR)/lib -exec chmod -x {} \;
-	$(MAKE) PREFIX=$(CURDIR)/debian/$(PACKAGE)/usr OPTIMIZE="-O2 -g -Wall" test install
-	[ ! -d $(CURDIR)/debian/$(shell dh_listpackages)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(CURDIR)/debian/$(shell dh_listpackages)/usr/lib/perl5
+binary-arch:
+# We have nothing to do here for an architecture-independent package
 
-binary-arch:;
 binary-indep: build install
 	dh_testdir
 	dh_testroot
-	dh_installdocs
-	dh_installman
-	dh_installexamples
+	dh_installexamples 
+	dh_installdocs 
 	dh_installchangelogs Changes
-	dh_link
-	dh_strip
+	dh_perl
 	dh_compress
 	dh_fixperms
 	dh_installdeb
-	dh_perl
 	dh_gencontrol
 	dh_md5sums
 	dh_builddeb
 
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+.PHONY: build clean binary-indep binary-arch binary install




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