--- liblucene-queryparser-perl-1.04.orig/debian/compat +++ liblucene-queryparser-perl-1.04/debian/compat @@ -0,0 +1 @@ +5 --- liblucene-queryparser-perl-1.04.orig/debian/watch +++ liblucene-queryparser-perl-1.04/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/Lucene-QueryParser/ .*/Lucene-QueryParser-v?(\d[\d_.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ --- liblucene-queryparser-perl-1.04.orig/debian/copyright +++ liblucene-queryparser-perl-1.04/debian/copyright @@ -0,0 +1,21 @@ +This is the debian package for the Lucene-QueryParser module. +It was created by Dominic Hargreaves using dh-make-perl. + +It was downloaded from http://search.cpan.org/dist/Lucene-QueryParser/ + +The upstream author is: + +Simon Cozens, . + +Copyright 2003 by Kasei + +This library 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'. + +The Debian packaging is (C) 2008, Dominic Hargreaves and +is licensed under the same terms as the software itself (see above). --- liblucene-queryparser-perl-1.04.orig/debian/control +++ liblucene-queryparser-perl-1.04/debian/control @@ -0,0 +1,21 @@ +Source: liblucene-queryparser-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 5) +Build-Depends-Indep: perl (>= 5.6.10-12), perl-modules +Maintainer: Dominic Hargreaves +Standards-Version: 3.7.3 +Homepage: http://search.cpan.org/dist/Lucene-QueryParser/ + +Package: liblucene-queryparser-perl +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends}, perl-modules +Description: Turn a Lucene query into a Perl data structure + This module parses a Lucene query. It deals with fields, types, phrases, + subqueries, and so on; everything handled by the SimpleQuery class in + Lucene. The data structure is similar to the one given above, and is + pretty self-explanatory. + . + The other function, deparse_query turns such a data structure back into + a Lucene query string. This is useful if you've just been mucking about + with the data. --- liblucene-queryparser-perl-1.04.orig/debian/rules +++ liblucene-queryparser-perl-1.04/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 + dh_installchangelogs Changes + 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 --- liblucene-queryparser-perl-1.04.orig/debian/changelog +++ liblucene-queryparser-perl-1.04/debian/changelog @@ -0,0 +1,11 @@ +liblucene-queryparser-perl (1.04-2) unstable; urgency=low + + * Add missing dependencies on perl-modules + + -- Dominic Hargreaves Sat, 19 Apr 2008 16:56:08 +0100 + +liblucene-queryparser-perl (1.04-1) unstable; urgency=low + + * Initial Release. (Closes: #475477) + + -- Dominic Hargreaves Sat, 19 Apr 2008 15:38:02 +0000