--- libtemplate-plugin-xml-perl-2.17.orig/debian/compat +++ libtemplate-plugin-xml-perl-2.17/debian/compat @@ -0,0 +1 @@ +5 --- libtemplate-plugin-xml-perl-2.17.orig/debian/watch +++ libtemplate-plugin-xml-perl-2.17/debian/watch @@ -0,0 +1,3 @@ +version=3 +# URL to the package page followed by a regex to search +http://search.cpan.org/dist/Template-XML/ .*/Template-XML-v?(\d[\d_.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip) --- libtemplate-plugin-xml-perl-2.17.orig/debian/copyright +++ libtemplate-plugin-xml-perl-2.17/debian/copyright @@ -0,0 +1,25 @@ +This is the debian package for the Template-XML module. +It was created by Dominic Hargreaves using dh-make-perl. + +Template-XML was downloaded from CPAN: +http://search.cpan.org/dist/Template-XML/ + +The upstream author is: + +Andy Wardley wrote the Template Toolkit plugin modules, with +assistance from Simon Matthews in the case of the XML::DOM plugin. +Matt Sergeant wrote the XML::XPath module. Enno Derksen and Clark +Cooper wrote the XML::DOM module. Jonathan Eisenzopf wrote the +XML::RSS module. Grant McLean wrote the XML::Simple module. Clark +Cooper and Larry Wall wrote the XML::Parser module. James Clark wrote +the expat library.. + +Copyright (C) 1996-2007 Andy Wardley. All Rights Reserved. + +This module is free software; you can redistribute it and/or +modify it under the same terms as Perl itself. + +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 +GNU General Public License can be found in `/usr/share/common-licenses/GPL' +and the Artistic Licence in `/usr/share/common-licenses/Artistic'. --- libtemplate-plugin-xml-perl-2.17.orig/debian/control +++ libtemplate-plugin-xml-perl-2.17/debian/control @@ -0,0 +1,26 @@ +Source: libtemplate-plugin-xml-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 5.0.0) +Build-Depends-Indep: perl (>= 5.8.8-7), libtemplate-perl, libxml-simple-perl, libxml-libxml-perl, libxml-rss-perl, libxml-parser-perl, libxml-dom-perl +Maintainer: Dominic Hargreaves +Standards-Version: 3.7.3 +Homepage: http://search.cpan.org/dist/Template-XML/ + +Package: libtemplate-plugin-xml-perl +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends}, libtemplate-perl (>= 2.15), libxml-simple-perl, libxml-libxml-perl, libxml-rss-perl, libxml-parser-perl, libxml-dom-perl +Description: XML plugins for the Template Toolkit + This package provides a number of Template Toolkit + plugin modules for working with XML. + . + The Template::Plugin::XML module is a front-end to the various other + XML plugin modules. Through this you can access XML files and + directories of XML files via the Template::Plugin::XML::File and + Template::Plugin::XML::Directory modules (which subclass from the + Template::Plugin::File and Template::Plugin::Directory modules + respectively). You can then create a Document Object Model (DOM) from + an XML file (Template::Plugin::XML::DOM), examine it using XPath + queries (Template::Plugin::XML::XPath), turn it into a Perl data + structure (Template::Plugin::XML::Simple) or parse it as an RSS (RDF + Site Summary) file. --- libtemplate-plugin-xml-perl-2.17.orig/debian/rules +++ libtemplate-plugin-xml-perl-2.17/debian/rules @@ -0,0 +1,84 @@ +#!/usr/bin/make -f +# This debian/rules file is provided as a template for normal perl +# packages. It was created by Marc Brockschmidt 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) + +build: build-stamp +build-stamp: + dh_testdir + + # Add commands to compile the package here + $(PERL) Makefile.PL INSTALLDIRS=vendor + $(MAKE) OPTIMIZE="-Wall -O2 -g" + + touch build-stamp + +clean: + dh_testdir + dh_testroot + + # Add commands to clean up after the build process here + [ ! -f Makefile ] || $(MAKE) realclean + rm -f Makefile + + dh_clean build-stamp install-stamp + +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) test + $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr + + # As this is a architecture independent package, we are not + # supposed to install stuff to /usr/lib. MakeMaker creates + # the dirs, we delete them from the deb: + [ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5 + + touch install-stamp + +binary-arch: +# We have nothing to do by default. + +binary-indep: build install + dh_testdir + dh_testroot +# dh_installcron +# dh_installmenu +# dh_installexamples + dh_installdocs README + dh_installchangelogs + dh_perl + dh_link + dh_strip + 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 --- libtemplate-plugin-xml-perl-2.17.orig/debian/changelog +++ libtemplate-plugin-xml-perl-2.17/debian/changelog @@ -0,0 +1,22 @@ +libtemplate-plugin-xml-perl (2.17-3) unstable; urgency=low + + * Fix debian/rules rmdir bug (closes: #468009) + * Update Standards-Version (no changes) + * Add debian/watch file + * debian/control: add Homepage field + + -- Dominic Hargreaves Sun, 2 Mar 2008 17:47:04 +0000 + +libtemplate-plugin-xml-perl (2.17-2) unstable; urgency=low + + * Correct debian/copyright to include the upstream URL + * Make sure old Makefile is removed + + -- Dominic Hargreaves Sat, 13 Oct 2007 11:16:09 +0100 + +libtemplate-plugin-xml-perl (2.17-1) unstable; urgency=low + + * Initial Release (closes: #436138) + + -- Dominic Hargreaves Wed, 22 Aug 2007 22:14:55 +0100 +