[liblucene-queryparser-perl] 03/04: [svn-inject] Applying Debian modifications to trunk

dom at earth.li dom at earth.li
Sat Apr 23 23:13:08 UTC 2016


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

dom pushed a commit to branch master
in repository liblucene-queryparser-perl.

commit bc7367ff79d2a614ec4d18e0c4153d39ef3db3a3
Author: Dominic Hargreaves <dom at earth.li>
Date:   Sat Apr 19 15:47:42 2008 +0000

    [svn-inject] Applying Debian modifications to trunk
---
 debian/changelog |  5 +++++
 debian/compat    |  1 +
 debian/control   | 21 +++++++++++++++++++
 debian/copyright | 21 +++++++++++++++++++
 debian/rules     | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/watch     |  4 ++++
 6 files changed, 115 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..b9bb4dd
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+liblucene-queryparser-perl (1.04-1) unstable; urgency=low
+
+  * Initial Release. (Closes: #475477)
+
+ -- Dominic Hargreaves <dom at earth.li>  Sat, 19 Apr 2008 15:38:02 +0000
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..40381aa
--- /dev/null
+++ b/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)
+Maintainer: Dominic Hargreaves <dom at earth.li>
+Standards-Version: 3.7.3
+Homepage: http://search.cpan.org/dist/Lucene-QueryParser/
+
+Package: liblucene-queryparser-perl
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}
+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.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..89bffc5
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,21 @@
+This is the debian package for the Lucene-QueryParser module.
+It was created by Dominic Hargreaves <dom at earth.li> using dh-make-perl.
+
+It was downloaded from http://search.cpan.org/dist/Lucene-QueryParser/
+
+The upstream author is: 
+
+Simon Cozens, <simon at kasei.com>.
+
+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 <dom at earth.li> and
+is licensed under the same terms as the software itself (see above).
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..849f988
--- /dev/null
+++ b/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 <marc at dch-faq.de> 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
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..d484dc3
--- /dev/null
+++ b/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)$

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



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