[libxml-validate-perl] 01/02: Import Debian changes 1.025-1

gregor herrmann gregoa at debian.org
Tue Aug 8 21:50:29 UTC 2017


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libxml-validate-perl.

commit 646ab88d6fcabfa6013612666d8a397bf3f189cd
Author: Jotam Jr. Trejo <jotamjr at debian.org.sv>
Date:   Sat Jun 27 00:17:55 2009 -0600

    Import Debian changes 1.025-1
    
    libxml-validate-perl (1.025-1) unstable; urgency=low
    
      * Initial Release. (Closes: #508516)
---
 debian/changelog                      |  5 +++++
 debian/compat                         |  1 +
 debian/control                        | 19 ++++++++++++++++++
 debian/copyright                      | 31 ++++++++++++++++++++++++++++++
 debian/libxml-validate-perl.docs      |  1 +
 debian/patches/makeFileOverride.patch | 14 ++++++++++++++
 debian/patches/manifestOverride.patch | 15 +++++++++++++++
 debian/patches/perlPath.patch         | 11 +++++++++++
 debian/patches/series                 |  3 +++
 debian/rules                          | 36 +++++++++++++++++++++++++++++++++++
 debian/watch                          |  2 ++
 11 files changed, 138 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..84147b7
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+libxml-validate-perl (1.025-1) unstable; urgency=low
+
+  * Initial Release. (Closes: #508516)
+
+ -- Jotam Jr. Trejo <jotamjr at debian.org.sv>  Sat, 27 Jun 2009 00:17:55 -0600
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..8c9c3c2
--- /dev/null
+++ b/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 <jotamjr at debian.org.sv>
+Standards-Version: 3.8.2
+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.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..d07840b
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,31 @@
+Format-Specification:
+    http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
+Upstream-Maintainer: Nathan Carr, Colin Robertson
+    .
+    <cpan at bbc.co.uk>
+Upstream-Source: http://search.cpan.org/dist/XML-Validate/
+Upstream-Name: XML-Validate
+
+Files: *
+Copyright: 2005 BBC
+    .
+    <cpan at bbc.co.uk>
+License: GPL-2+
+
+Files: debian/*
+Copyright: 2009, Jotam Jr. Trejo <jotamjr at debian.org.sv>
+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'
diff --git a/debian/libxml-validate-perl.docs b/debian/libxml-validate-perl.docs
new file mode 100644
index 0000000..e845566
--- /dev/null
+++ b/debian/libxml-validate-perl.docs
@@ -0,0 +1 @@
+README
diff --git a/debian/patches/makeFileOverride.patch b/debian/patches/makeFileOverride.patch
new file mode 100644
index 0000000..27439d1
--- /dev/null
+++ b/debian/patches/makeFileOverride.patch
@@ -0,0 +1,14 @@
+Author: Jotam Jr. Trejo <jotamjr at debian.org.sv>
+Description: Change the name of the script validxml.pl to validxml, cause in build time
+	     we rename it.
+--- 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,
diff --git a/debian/patches/manifestOverride.patch b/debian/patches/manifestOverride.patch
new file mode 100644
index 0000000..40aa848
--- /dev/null
+++ b/debian/patches/manifestOverride.patch
@@ -0,0 +1,15 @@
+Author: Jotam Jr. Trejo <jotamjr at debian.org.sv>
+Description: Changes the file validxml.pl to validxml in MANIFEST this cause at build
+	     time we rename the file due to the policy of not allow extensions of
+	     scripts like validxml.pl and so on.
+--- 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
diff --git a/debian/patches/perlPath.patch b/debian/patches/perlPath.patch
new file mode 100644
index 0000000..db831a0
--- /dev/null
+++ b/debian/patches/perlPath.patch
@@ -0,0 +1,11 @@
+Author: Jotam Jr. Trejo <jotamjr at debian.org.sv>
+Description: Changes the path of perl /usr/local/bin/perl to /usr/bin perl where
+	     is in debian.
+--- 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();
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..2b4d685
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,3 @@
+perlPath.patch
+manifestOverride.patch
+makeFileOverride.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..54a01b1
--- /dev/null
+++ b/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
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..283db00
--- /dev/null
+++ b/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)$

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libxml-validate-perl.git



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