New
authorMike Taylor <mike@indexdata.com>
Mon, 19 Nov 2007 13:45:24 +0000 (13:45 +0000)
committerMike Taylor <mike@indexdata.com>
Mon, 19 Nov 2007 13:45:24 +0000 (13:45 +0000)
debian/.cvsignore [new file with mode: 0644]
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/rules [new file with mode: 0755]

diff --git a/debian/.cvsignore b/debian/.cvsignore
new file mode 100644 (file)
index 0000000..dc2a71d
--- /dev/null
@@ -0,0 +1,3 @@
+files
+libnet-z3950-pqf-perl
+libnet-z3950-pqf-perl.substvars
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..c47366f
--- /dev/null
@@ -0,0 +1,5 @@
+libnet-z3950-pqf-perl (0.04-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Mike Taylor <mike@miketaylor.org.uk>  Mon, 19 Nov 2007 14:37:45 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7ed6ff8
--- /dev/null
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..fb21a90
--- /dev/null
@@ -0,0 +1,30 @@
+Source: libnet-z3950-pqf-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 5.0.0)
+Build-Depends-Indep: perl (>= 5.8.8-7ubuntu3)
+Maintainer: Mike Taylor <mike@miketaylor.org.uk>
+Standards-Version: 3.7.2
+
+Package: libnet-z3950-pqf-perl
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}, 
+Description:  Perl extension for parsing PQF (Prefix Query Format)
+ This library provides a parser for PQF (Prefix Query Format), an ugly
+ but precise string format for expressing Z39.50 Type-1 queries.  This
+ format is widely used behind the scenes of Z39.50 applications, and is
+ also used extensively with test-harness programs such as the YAZ
+ command-line client, yaz-client.  A few particularly misguided
+ souls have been known to type it by hand.
+ .
+ Unlike PQF itself, this module
+ is simple to use.  Create a parser object, then pass PQF strings
+ into its parse() method to yield parse-trees.  The trees are made
+ up of nodes whose types are subclasses of
+ Net::Z3950::PQF::Node.
+ and have names of the form
+ Net::Z3950::PQF::somethingNode.  You may find it helpful to use
+ Data::Dumper to visualise the structure of the returned
+ parse-trees.
+ .
+ This description was automagically extracted from the module by dh-make-perl.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..096c486
--- /dev/null
@@ -0,0 +1,10 @@
+This is the debian package for the Net::Z3950::PQF module.
+It was created by Mike Taylor <mike@miketaylor.org.uk> using dh-make-perl.
+
+This copyright info was automatically extracted from the perl module.
+It may not be accurate, so you better check the module sources
+if don't want to get into legal troubles.
+
+The upstream author is: 
+
+Mike Taylor, <mike@indexdata.com>.
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..0fc28d6
--- /dev/null
@@ -0,0 +1,83 @@
+#!/usr/bin/make -f
+# This debian/rules file is provided as a template for normal perl
+# packages. It was created by Marc Brockschmidt <marc@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
+
+PACKAGE=$(shell dh_listpackages)
+
+ifndef PERL
+PERL = /usr/bin/perl
+endif
+
+TMP     =$(CURDIR)/debian/$(PACKAGE)
+
+build: build-stamp
+build-stamp:
+       dh_testdir
+
+       # Add commands to compile the package here
+       $(PERL) Makefile.PL INSTALLDIRS=vendor
+       $(MAKE) OPTIMIZE="-Wall -O2 -g"
+
+       touch build-stamp
+
+clean:
+       dh_testdir
+       dh_testroot
+
+       # Add commands to clean up after the build process here
+       [ ! -f Makefile ] || $(MAKE) realclean
+
+       dh_clean build-stamp install-stamp
+
+install: build install-stamp
+install-stamp:
+       dh_testdir
+       dh_testroot
+       dh_clean -k
+
+       # Add commands to install the package into debian/$PACKAGE_NAME here
+       $(MAKE) test
+       $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+
+       # As this is a architecture independent package, we are not
+       # supposed to install stuff to /usr/lib. MakeMaker creates
+       # the dirs, we delete them from the deb:
+       rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5
+
+       touch install-stamp
+
+binary-arch:
+# We have nothing to do by default.
+
+binary-indep: build install
+       dh_testdir
+       dh_testroot
+#      dh_installcron
+#      dh_installmenu
+#      dh_installexamples
+       dh_installdocs README
+       dh_installchangelogs Changes
+       dh_perl
+       dh_link
+       dh_strip
+       dh_compress
+       dh_fixperms
+       dh_installdeb
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+source diff:
+       @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary