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

vdanjean at users.alioth.debian.org vdanjean at users.alioth.debian.org
Mon Nov 19 22:56:25 UTC 2007


Author: vdanjean
Date: Mon Nov 19 22:56:25 2007
New Revision: 9613

URL: http://svn.debian.org/wsvn/?sc=1&rev=9613
Log:
[svn-inject] Applying Debian modifications to trunk

Added:
    trunk/libhtml-template-pro-perl/debian/
    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   (with props)

Added: trunk/libhtml-template-pro-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libhtml-template-pro-perl/debian/changelog?rev=9613&op=file
==============================================================================
--- trunk/libhtml-template-pro-perl/debian/changelog (added)
+++ trunk/libhtml-template-pro-perl/debian/changelog Mon Nov 19 22:56:25 2007
@@ -1,0 +1,5 @@
+libhtml-template-pro-perl (0.66-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Vincent Danjean <vdanjean at debian.org>  Mon, 19 Nov 2007 23:42:00 +0100

Added: trunk/libhtml-template-pro-perl/debian/compat
URL: http://svn.debian.org/wsvn/trunk/libhtml-template-pro-perl/debian/compat?rev=9613&op=file
==============================================================================
--- trunk/libhtml-template-pro-perl/debian/compat (added)
+++ trunk/libhtml-template-pro-perl/debian/compat Mon Nov 19 22:56:25 2007
@@ -1,0 +1,1 @@
+5

Added: trunk/libhtml-template-pro-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libhtml-template-pro-perl/debian/control?rev=9613&op=file
==============================================================================
--- trunk/libhtml-template-pro-perl/debian/control (added)
+++ trunk/libhtml-template-pro-perl/debian/control Mon Nov 19 22:56:25 2007
@@ -1,0 +1,21 @@
+Source: libhtml-template-pro-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 5.0.0), perl (>= 5.8.8-12)
+Maintainer: Vincent Danjean <vdanjean at debian.org>
+Standards-Version: 3.7.2
+Homepage: http://search.cpan.org/dist/HTML-Template-Pro/
+
+Package: libhtml-template-pro-perl
+Architecture: any
+Depends: ${perl:Depends}, ${shlibs:Depends}, ${misc:Depends}, 
+Description: Perl/XS module to use HTML Templates from CGI scripts
+ This module attempts to make using HTML templates simple and natural.
+ It extends standard HTML with a few new HTML-esque tags - <TMPL_VAR>,
+ <TMPL_LOOP>, <TMPL_INCLUDE>, <TMPL_IF>, <TMPL_ELSE> and <TMPL_UNLESS>.
+ The file written with HTML and these new tags is called a template.
+ It is usually saved separate from your script - possibly even created
+ by someone else!  Using this module you fill in the values for the
+ variables, loops and branches declared in the template.  This allows
+ you to separate design - the HTML - from the data, which you generate
+ in the Perl script.

Added: trunk/libhtml-template-pro-perl/debian/copyright
URL: http://svn.debian.org/wsvn/trunk/libhtml-template-pro-perl/debian/copyright?rev=9613&op=file
==============================================================================
--- trunk/libhtml-template-pro-perl/debian/copyright (added)
+++ trunk/libhtml-template-pro-perl/debian/copyright Mon Nov 19 22:56:25 2007
@@ -1,0 +1,27 @@
+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.
+
+It was downloaded from http://search.cpan.org/dist/HTML-Template-Pro/
+
+The upstream author is: I. Yu. Vlasenko <viy at altlinux.org>.
+
+Copyright (C) 2005 by I. Yu. Vlasenko.
+Pieces of code in Pro.pm and documentation of HTML::Template are
+copyright (C) 2000-2002 Sam Tregar (sam at tregar.com)
+
+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).

Added: trunk/libhtml-template-pro-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libhtml-template-pro-perl/debian/rules?rev=9613&op=file
==============================================================================
--- trunk/libhtml-template-pro-perl/debian/rules (added)
+++ trunk/libhtml-template-pro-perl/debian/rules Mon Nov 19 22:56:25 2007
@@ -1,0 +1,94 @@
+#!/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)
+
+# Allow disabling build optimation 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
+
+	# As this is a architecture dependent package, we are not
+	# supposed to install stuff to /usr/share. 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/lib/perl5/ \
+		VENDORARCHEXP=/usr/lib/perl5/
+	$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
+	$(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: build install-stamp
+install-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 $@
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do here for an architecture-dependent package
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installexamples 
+	dh_installdocs README README.win32 README.ru
+	dh_installchangelogs Changes
+	dh_shlibdeps
+	dh_strip
+	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

Propchange: trunk/libhtml-template-pro-perl/debian/rules
------------------------------------------------------------------------------
    svn:executable = *




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