--- libhtml-tableparser-perl-0.37.orig/debian/watch +++ libhtml-tableparser-perl-0.37/debian/watch @@ -0,0 +1,4 @@ +# format version number, currently 3; this line is compulsory! +version=3 +# URL to the package page followed by a regex to search +http://search.cpan.org/dist/HTML-TableParser/ .*/HTML-TableParser-v?(\d[\d_.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ --- libhtml-tableparser-perl-0.37.orig/debian/rules +++ libhtml-tableparser-perl-0.37/debian/rules @@ -0,0 +1,63 @@ +#!/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 + +PERL ?= /usr/bin/perl +PACKAGE = $(shell dh_listpackages) +TMP = $(CURDIR)/debian/$(PACKAGE) + +build: build-stamp +build-stamp: + dh_testdir + # Add commands to compile the package here + $(PERL) Makefile.PL INSTALLDIRS=vendor + $(MAKE) + $(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: install-stamp +install-stamp: build-stamp + dh_testdir + dh_testroot + dh_clean -k + # Add commands to install the package into $(TMP) here + $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr + [ ! -d $(TMP)/usr/lib/perl5 ] || \ + rmdir --ignore-fail-on-non-empty --parents --verbose \ + $(TMP)/usr/lib/perl5 + touch $@ + +binary-arch: +# We have nothing to do here for an architecture-independent package + +binary-indep: build install + dh_testdir + dh_testroot + dh_installdocs README THANKS + dh_installchangelogs Changes ChangeLog + dh_perl + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- libhtml-tableparser-perl-0.37.orig/debian/compat +++ libhtml-tableparser-perl-0.37/debian/compat @@ -0,0 +1 @@ +5 --- libhtml-tableparser-perl-0.37.orig/debian/changelog +++ libhtml-tableparser-perl-0.37/debian/changelog @@ -0,0 +1,5 @@ +libhtml-tableparser-perl (0.37-1) unstable; urgency=low + + * Initial Release (closes: Bug#481142). + + -- Ivan Kohler Tue, 13 May 2008 18:06:59 -0700 --- libhtml-tableparser-perl-0.37.orig/debian/copyright +++ libhtml-tableparser-perl-0.37/debian/copyright @@ -0,0 +1,31 @@ +This is the debian package for the HTML-TableParser module. +It was created by Ivan Kohler using dh-make-perl. + +It was downloaded from http://search.cpan.org/dist/HTML-TableParser/ + +The upstream author is: + +Diab Jerius (djerius@cpan.org). + +Copyright (C) 2001-2007 Smithsonian Astrophysical Observatory + +This file is part of HTML::TableParser + +HTML::TableParser 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 3 of the License, or (at +your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . + +The full text of the GPL is available on Debian systems in +/usr/share/common-licenses/GPL + +The Debian packaging is (C) 2008, Ivan Kohler and +is licensed under the same terms as the software itself (see above). --- libhtml-tableparser-perl-0.37.orig/debian/control +++ libhtml-tableparser-perl-0.37/debian/control @@ -0,0 +1,18 @@ +Source: libhtml-tableparser-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 5) +Build-Depends-Indep: perl (>= 5.6.10-12), libhtml-parser-perl +Maintainer: Ivan Kohler +Standards-Version: 3.7.3 +Homepage: http://search.cpan.org/dist/HTML-TableParser/ + +Package: libhtml-tableparser-perl +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends}, libhtml-parser-perl +Description: Perl module to extract data from an HTML table + HTML::TableParser uses HTML::Parser to extract data from an HTML + table. The data is returned via a series of user defined callback + functions or methods. Specific tables may be selected either by a + matching a unique table id or by matching against the column names. + Multiple (even nested) tables may be parsed in a document in one pass.