r24919 - in /trunk/libhtml-template-pro-perl/debian: changelog compat control copyright libhtml-template-pro-perl.docs rules

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Mon Sep 8 18:25:54 UTC 2008


Author: gregoa
Date: Mon Sep  8 18:25:51 2008
New Revision: 24919

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=24919
Log:
* Set debhelper compatibility level to 7; adapt
  debian/{control,compat,rules}.
* Change debian/copyright to the new format.

Added:
    trunk/libhtml-template-pro-perl/debian/libhtml-template-pro-perl.docs
Modified:
    trunk/libhtml-template-pro-perl/debian/changelog
    trunk/libhtml-template-pro-perl/debian/compat
    trunk/libhtml-template-pro-perl/debian/control
    trunk/libhtml-template-pro-perl/debian/copyright
    trunk/libhtml-template-pro-perl/debian/rules

Modified: trunk/libhtml-template-pro-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-template-pro-perl/debian/changelog?rev=24919&op=diff
==============================================================================
--- trunk/libhtml-template-pro-perl/debian/changelog (original)
+++ trunk/libhtml-template-pro-perl/debian/changelog Mon Sep  8 18:25:51 2008
@@ -1,6 +1,9 @@
 libhtml-template-pro-perl (0.71-1) UNRELEASED; urgency=low
 
   * New upstream release.
+  * Set debhelper compatibility level to 7; adapt
+    debian/{control,compat,rules}.
+  * Change debian/copyright to the new format.
 
  -- gregor herrmann <gregoa at debian.org>  Mon, 08 Sep 2008 19:43:56 +0200
 

Modified: trunk/libhtml-template-pro-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-template-pro-perl/debian/compat?rev=24919&op=diff
==============================================================================
--- trunk/libhtml-template-pro-perl/debian/compat (original)
+++ trunk/libhtml-template-pro-perl/debian/compat Mon Sep  8 18:25:51 2008
@@ -1,1 +1,1 @@
-6
+7

Modified: trunk/libhtml-template-pro-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-template-pro-perl/debian/control?rev=24919&op=diff
==============================================================================
--- trunk/libhtml-template-pro-perl/debian/control (original)
+++ trunk/libhtml-template-pro-perl/debian/control Mon Sep  8 18:25:51 2008
@@ -1,7 +1,7 @@
 Source: libhtml-template-pro-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 6.0.0), perl (>= 5.8.8-12),
+Build-Depends: debhelper (>= 7), perl (>= 5.8.8-12),
   libpcre3-dev, libtest-pod-perl, konwert
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Vincent Danjean <vdanjean at debian.org>,

Modified: trunk/libhtml-template-pro-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-template-pro-perl/debian/copyright?rev=24919&op=diff
==============================================================================
--- trunk/libhtml-template-pro-perl/debian/copyright (original)
+++ trunk/libhtml-template-pro-perl/debian/copyright Mon Sep  8 18:25:51 2008
@@ -1,27 +1,30 @@
-This is the debian package for the HTML-Template-Pro module.
-It was created by Vincent Danjean <vdanjean at debian.org> using dh-make-perl.
+Format-Specification:
+    http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
+Upstream-Maintainer: I. Yu. Vlasenko <viy at altlinux.org>
+Upstream-Source: http://search.cpan.org/dist/HTML-Template-Pro/
+Upstream-Name: HTML-Template-Pro
 
-It was downloaded from http://search.cpan.org/dist/HTML-Template-Pro/
+Files: *
+Copyright: (C) 2005-2008 by I. Yu. Vlasenko.
+ Pieces of code in Pro.pm and documentation of HTML::Template are
+ copyright (C) 2000-2006 Sam Tregar (sam at tregar.com)
+License: Artistic | GPL-1+
 
-The upstream author is: I. Yu. Vlasenko <viy at altlinux.org>.
+Files: debian/*
+Copyright: 2007-2008, various members of the Debian Perl Group, cf.
+ debian/changelog
+License: Artistic | GPL-1+
 
-Copyright (C) 2005-2008 by I. Yu. Vlasenko.
-Pieces of code in Pro.pm and documentation of HTML::Template are
-copyright (C) 2000-2006 Sam Tregar (sam at tregar.com)
+License: Artistic
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the Artistic License, which comes with Perl.
+    On Debian GNU/Linux systems, the complete text of the Artistic License
+    can be found in /usr/share/common-licenses/Artistic
 
-The template syntax, interface conventions and a large piece of documentation 
-of HTML::Template::Pro are based on CPAN module HTML::Template 
-by Sam Tregar, sam at tregar.com.
-
-This library is free software; you can redistribute it and/or modify
-it under the same terms as Perl itself, either Perl version 5.8.4 or,
-at your option, any later version of Perl 5 you may have available.
-
-Perl is distributed under either the Artistic licence or the GPL.
-The full text of the GPL is available on Debian systems in
-/usr/share/common-licenses/GPL
-The full text of the Artistic Licence is available on Debian systems in
-/usr/share/common-licenses/Artistic.
-
-The Debian packaging is (C) 2007, Vincent Danjean <vdanjean at debian.org> and
-is licensed under the same terms as the software itself (see above).
+License: GPL-1+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by 
+    the Free Software Foundation; either version 1, or (at your option)
+    any later version.
+    On Debian GNU/Linux systems, the complete text of the GNU General
+    Public License can be found in `/usr/share/common-licenses/GPL'

Added: trunk/libhtml-template-pro-perl/debian/libhtml-template-pro-perl.docs
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-template-pro-perl/debian/libhtml-template-pro-perl.docs?rev=24919&op=file
==============================================================================
--- trunk/libhtml-template-pro-perl/debian/libhtml-template-pro-perl.docs (added)
+++ trunk/libhtml-template-pro-perl/debian/libhtml-template-pro-perl.docs Mon Sep  8 18:25:51 2008
@@ -1,0 +1,2 @@
+debian/README.ru
+FAQ

Modified: trunk/libhtml-template-pro-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-template-pro-perl/debian/rules?rev=24919&op=diff
==============================================================================
--- trunk/libhtml-template-pro-perl/debian/rules (original)
+++ trunk/libhtml-template-pro-perl/debian/rules Mon Sep  8 18:25:51 2008
@@ -1,74 +1,25 @@
 #!/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
-
-PERL   ?= /usr/bin/perl
-PACKAGE = $(shell dh_listpackages)
-TMP     = $(CURDIR)/debian/$(PACKAGE)
-
-# Allow disabling build optimisation by setting noopt in
-# $DEB_BUILD_OPTIONS
-CFLAGS = -Wall -g
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-        CFLAGS += -O0
-else
-        CFLAGS += -O2
-endif
 
 build: build-stamp
 build-stamp:
-	dh_testdir
-	$(PERL) Makefile.PL PCRE=1 INSTALLDIRS=vendor
-	$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
-	$(MAKE) test
+	dh build
 	konwert cp1251-utf8 README.ru > debian/README.ru
 	touch $@
 
 clean:
-	dh_testdir
-	dh_testroot
-	dh_clean build-stamp install-stamp debian/README.ru
-	[ ! -f Makefile ] || $(MAKE) realclean
+	rm -f debian/README.ru
+	dh $@
 
 install: install-stamp
 install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-	[ ! -d $(TMP)/usr/share/perl5 ] || \
-		rmdir --ignore-fail-on-non-empty --parents --verbose \
-		$(TMP)/usr/share/perl5
+	dh install
 	touch $@
 
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do here for an architecture-dependent package
+binary-arch: install
+	dh $@
 
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs FAQ debian/README.ru
-	dh_installchangelogs Changes
-	dh_shlibdeps
-	dh_strip
-	dh_perl
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
+binary-indep:
 
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+binary: binary-arch binary-indep
+
+.PHONY: binary binary-arch binary-indep install clean build




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