r21778 - in /trunk/libpadwalker-perl/debian: changelog copyright rules

tincho at users.alioth.debian.org tincho at users.alioth.debian.org
Tue Jun 17 00:55:31 UTC 2008


Author: tincho
Date: Tue Jun 17 00:55:31 2008
New Revision: 21778

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=21778
Log:
* debian/rules: refreshed from templates, removed README as it's a dump of
  the manpage.
* debian/copyright: new format, added packaging copyright.

Modified:
    trunk/libpadwalker-perl/debian/changelog
    trunk/libpadwalker-perl/debian/copyright
    trunk/libpadwalker-perl/debian/rules

Modified: trunk/libpadwalker-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpadwalker-perl/debian/changelog?rev=21778&op=diff
==============================================================================
--- trunk/libpadwalker-perl/debian/changelog (original)
+++ trunk/libpadwalker-perl/debian/changelog Tue Jun 17 00:55:31 2008
@@ -16,6 +16,9 @@
   * debian/control: Added myself to Uploaders, bumped Standards-Version: no
     changes, upgraded debhelper version to 5, upgraded perl dependency to
     match META.yaml, corrected short Description case.
+  * debian/rules: refreshed from templates, removed README as it's a dump of
+    the manpage.
+  * debian/copyright: new format, added packaging copyright.
 
  -- Martín Ferrari <tincho at debian.org>  Mon, 16 Jun 2008 21:40:03 -0300
 

Modified: trunk/libpadwalker-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpadwalker-perl/debian/copyright?rev=21778&op=diff
==============================================================================
--- trunk/libpadwalker-perl/debian/copyright (original)
+++ trunk/libpadwalker-perl/debian/copyright Tue Jun 17 00:55:31 2008
@@ -1,12 +1,24 @@
-This is the debian package for the PadWalker module.
-It was created by Chip Salzenberg <chip at debian.org> using dh-make-perl.
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat
+Upstream-Author: Robin Houston <robin at cpan.org>, with contributions from
+ Richard Soberberg and bug-spotting from Peter Scott
+Packaged-By: Chip Salzenberg <chip at debian.org>
+Original-Source-Location: 
+Original-Source-Command: uscan --force-download
+Original-Source-Depends: devscripts
 
-The upstream author is Robin Houston <robin at cpan.org>, with contributions
-from Richard Soberberg and bug-spotting from Peter Scott.
+Files: *
+Copyright: © 2000-2002, Robin Houston. All Rights Reserved.
+ This module is free software. It may be used, redistributed and/or modified
+ under the same terms as Perl itself.
 
-Copyright (c) 2000-2002, Robin Houston. All Rights Reserved.
-This module is free software. It may be used, redistributed
-and/or modified under the same terms as Perl itself.
+Files: debian/*
+Copyright: © 2008 Debian Perl Group <debian-perl at lists.debian.org>
+           © 2008 Niko Tyni <ntyni at debian.org>
+           © 2006-2007 Florian Ragwitz <rafl at debian.org>
+           © 2005 Chip Salzenberg <chip at debian.org>
+License: other
+ It is assumed that previous maintainers did choose a license compatible with
+ upstream.
 
 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

Modified: trunk/libpadwalker-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpadwalker-perl/debian/rules?rev=21778&op=diff
==============================================================================
--- trunk/libpadwalker-perl/debian/rules (original)
+++ trunk/libpadwalker-perl/debian/rules Tue Jun 17 00:55:31 2008
@@ -1,14 +1,12 @@
 #!/usr/bin/make -f
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
 
 export PERL_MM_USE_DEFAULT=1
 
-PACKAGE=$(shell dh_listpackages)
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-TMP     =$(CURDIR)/debian/$(PACKAGE)
+PERL   ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
 
 CFLAGS = -Wall -g
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
@@ -22,23 +20,25 @@
 	dh_testdir
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
 	$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
-	touch build-stamp
+	$(MAKE) test
+	touch $@
 
 clean:
 	dh_testdir
 	dh_testroot
+	dh_clean build-stamp install-stamp
 	[ ! -f Makefile ] || $(MAKE) realclean
-	dh_clean build-stamp install-stamp
 
-install: build install-stamp
-install-stamp:
+install: install-stamp
+install-stamp: build-stamp
 	dh_testdir
 	dh_testroot
 	dh_clean -k
-	$(MAKE) test
 	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-	[ ! -d $(TMP)/usr/share/perl5 ] || rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/share/perl5
-	touch install-stamp
+	[ ! -d $(TMP)/usr/share/perl5 ] || \
+		rmdir --ignore-fail-on-non-empty --parents --verbose \
+		$(TMP)/usr/share/perl5
+	touch $@
 
 # Build architecture-independent files here.
 binary-indep: build install
@@ -48,20 +48,17 @@
 binary-arch: build install
 	dh_testdir
 	dh_testroot
-	dh_installdocs README
+	dh_installdocs
 	dh_installchangelogs Changes
+	dh_shlibdeps
 	dh_strip
+	dh_perl
 	dh_compress
 	dh_fixperms
 	dh_installdeb
-	dh_perl
-	dh_shlibdeps
 	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
+.PHONY: build clean binary-indep binary-arch binary install




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