--- libxml-validate-perl-1.025.orig/debian/control +++ libxml-validate-perl-1.025/debian/control @@ -0,0 +1,19 @@ +Source: libxml-validate-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 7), quilt +Build-Depends-Indep: perl (>= 5.6.0-12), libtest-pod-coverage-perl, libtest-pod-perl, + libtest-assertions-perl, liblog-trace-perl +Maintainer: Jotam Jr. Trejo +Standards-Version: 3.8.3 +Homepage: http://search.cpan.org/dist/XML-Validate/ + +Package: libxml-validate-perl +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends}, liblog-trace-perl +Description: xml validator factory + XML::Validate is a generic interface to different XML validation backends. + For a list of backend included with this distribution see the README. + . + If you want to write your own backends, the easiest way is probably to + subclass XML::Validate::Base. Look at the existing backends for examples. --- libxml-validate-perl-1.025.orig/debian/rules +++ libxml-validate-perl-1.025/debian/rules @@ -0,0 +1,36 @@ +#!/usr/bin/make -f + +USES_QUILT := $(shell if [ -f $(CURDIR)/debian/patches/series ]; then echo yes; else echo no; fi) +ifeq ($(USES_QUILT),yes) + include /usr/share/quilt/quilt.make + + PATCH_TARGET := $(QUILT_STAMPFN) + UNPATCH_TARGET := unpatch +endif + +build: build-stamp +build-stamp: $(PATCH_TARGET) + mv $(CURDIR)/scripts/validxml.pl $(CURDIR)/scripts/validxml + dh build + touch $@ + +clean: rename $(UNPATCH_TARGET) + dh $@ + +rename: + if [ -f $(CURDIR)/scripts/validxml ]; then mv $(CURDIR)/scripts/validxml $(CURDIR)/scripts/validxml.pl; fi + +install: install-stamp +install-stamp: build-stamp + dh install + touch $@ + +binary-arch: install + dh $@ + +binary-indep: install + dh $@ + +binary: binary-arch binary-indep + +.PHONY: binary binary-arch binary-indep install clean build --- libxml-validate-perl-1.025.orig/debian/watch +++ libxml-validate-perl-1.025/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://search.cpan.org/dist/XML-Validate/ .*/XML-Validate-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ --- libxml-validate-perl-1.025.orig/debian/README.source +++ libxml-validate-perl-1.025/debian/README.source @@ -0,0 +1,7 @@ +This package uses quilt to deal with all modifications done by +debian maintainers to the upstream source. Changes are stored in +the source package as diffs in debian/patches and applied during +the build fase. + +For more information about how to use quilt to apply, modify or +remove patchs read: /usr/share/doc/quilt/README.source --- libxml-validate-perl-1.025.orig/debian/changelog +++ libxml-validate-perl-1.025/debian/changelog @@ -0,0 +1,14 @@ +libxml-validate-perl (1.025-2) unstable; urgency=low + + * Bump Standards Version to 3.8.3. + + Add debian/README.source due to policy, + refer to Debian Policy Manual section 4.14. + * Improve patch headers + + -- Jotam Jr. Trejo Tue, 08 Sep 2009 08:12:05 -0600 + +libxml-validate-perl (1.025-1) unstable; urgency=low + + * Initial Release. (Closes: #508516) + + -- Jotam Jr. Trejo Sat, 27 Jun 2009 00:17:55 -0600 --- libxml-validate-perl-1.025.orig/debian/compat +++ libxml-validate-perl-1.025/debian/compat @@ -0,0 +1 @@ +7 --- libxml-validate-perl-1.025.orig/debian/libxml-validate-perl.docs +++ libxml-validate-perl-1.025/debian/libxml-validate-perl.docs @@ -0,0 +1 @@ +README --- libxml-validate-perl-1.025.orig/debian/copyright +++ libxml-validate-perl-1.025/debian/copyright @@ -0,0 +1,31 @@ +Format-Specification: + http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196 +Upstream-Maintainer: Nathan Carr, Colin Robertson + . + +Upstream-Source: http://search.cpan.org/dist/XML-Validate/ +Upstream-Name: XML-Validate + +Files: * +Copyright: 2005 BBC + . + +License: GPL-2+ + +Files: debian/* +Copyright: 2009, Jotam Jr. Trejo +License: GPL-2+ | Artistic + +License: GPL-2+ + 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; version 2 dated June, 1991, or (at your + option) any later version. + On Debian GNU/Linux systems, the complete text of version 2 of the GNU + General Public License can be found in `/usr/share/common-licenses/GPL-2' + +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' --- libxml-validate-perl-1.025.orig/debian/patches/manifestOverride.patch +++ libxml-validate-perl-1.025/debian/patches/manifestOverride.patch @@ -0,0 +1,15 @@ +Author: Jotam Jr. Trejo +Description: Changes the file validxml.pl to validxml in MANIFEST this because +at build time we rename the file due to the policy of not allow extensions of +scripts like .pl. +--- a/MANIFEST ++++ b/MANIFEST +@@ -9,7 +9,7 @@ + lib/XML/Validate/LibXML.pm + lib/XML/Validate/MSXML.pm + lib/XML/Validate/Xerces.pm +-scripts/validxml.pl ++scripts/validxml + t/Validate.t + t/MSXML.t + t/Xerces.t --- libxml-validate-perl-1.025.orig/debian/patches/makeFileOverride.patch +++ libxml-validate-perl-1.025/debian/patches/makeFileOverride.patch @@ -0,0 +1,13 @@ +Author: Jotam Jr. Trejo +Description: Change the name of the script validxml.pl to validxml, because in build time we rename it as such +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -3,7 +3,7 @@ + WriteMakefile( + NAME => 'XML::Validate', + VERSION_FROM => 'lib/XML/Validate.pm', +- EXE_FILES => ['scripts/validxml.pl'], ++ EXE_FILES => ['scripts/validxml'], + PREREQ_PM => { + 'Test::More' => 0, + 'Test::Assertions' => 0, --- libxml-validate-perl-1.025.orig/debian/patches/series +++ libxml-validate-perl-1.025/debian/patches/series @@ -0,0 +1,3 @@ +perlPath.patch +manifestOverride.patch +makeFileOverride.patch --- libxml-validate-perl-1.025.orig/debian/patches/perlPath.patch +++ libxml-validate-perl-1.025/debian/patches/perlPath.patch @@ -0,0 +1,10 @@ +Author: Jotam Jr. Trejo +Description: Changes the path of perl from /usr/local/bin/perl to /usr/bin/perl +--- a/scripts/validxml.pl ++++ b/scripts/validxml.pl +@@ -1,4 +1,4 @@ +-#!/usr/local/bin/perl -w ++#!/usr/bin/perl -w + + use strict; + use XML::Validate qw();