-# $Id: Makefile.am,v 1.8 2007-05-15 15:50:47 adam Exp $
+# $Id: Makefile.am,v 1.9 2007-06-17 07:47:57 adam Exp $
AUTOMAKE_OPTIONS = foreign
ACLOCAL_AMFLAGS = -I m4
cvs=`find $(distdir)/etc -name CVS -type d -print`; if test "$$cvs"; then rm -r $$cvs; fi
cp -r $(srcdir)/www $(distdir)
cvs=`find $(distdir)/www -name CVS -type d -print`; if test "$$cvs"; then rm -r $$cvs; fi
-
+ mkdir $(distdir)/debian
+ for f in $(srcdir)/debian/*; do \
+ test -f $$f && cp $$f $(distdir)/debian; \
+ done
cvs2cl:
cvs2cl
--- /dev/null
+The Debian Package pazpar2
+----------------------------
+
+Comments regarding the Package
+
+ -- Adam Dickmeiss <adam@indexdata.dk> Sun, 17 Jun 2007 08:44:17 +0200
--- /dev/null
+pazpar2 (0.1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Adam Dickmeiss <adam@indexdata.dk> Sun, 17 Jun 2007 08:44:17 +0200
--- /dev/null
+Source: pazpar2
+Section: net
+Priority: extra
+Maintainer: Adam Dickmeiss <adam@indexdata.dk>
+Build-Depends: debhelper (>= 5), autotools-dev, libyaz3-dev, libicu36-dev
+Standards-Version: 3.7.2
+
+Package: pazpar2
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: High-performance metaseacher
+ Pazpar2 is a high-performance, user interface-independent, data
+ model-independent metasearching middleware featuring merging, relevance
+ ranking, record sorting, and faceted results.
+
+Package: pazpar2-doc
+Section: doc
+Architecture: all
+Description: Documentation for Pazpar2 metasearcher
+ Pazpar2 is a high-performance, user interface-independent, data
+ model-independent metasearching middleware featuring merging, relevance
+ ranking, record sorting, and faceted results.
+ .
+ This packages includes HTML documentation for Pazpar2.
+
--- /dev/null
+This package was debianized by Adam Dickmeiss <adam@indexdata.dk> on
+Sun, 17 Jun 2007 08:44:17 +0200.
+
+It was downloaded from <http://indexdata.com/pazpar2/>
+
+Upstream Authors:
+
+ Sebastian Hammer <quinn@indexdata.com>
+ Jakub Skoczen <jakub@indexdata.dk>
+
+Copyright:
+
+ Copyright (C) 2007, Index Data
+
+License:
+
+ This package 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 2 of the License, or
+ (at your option) any later version.
+
+ This package 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 package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
+The Debian packaging is (C) 2007, Adam Dickmeiss <adam@indexdata.dk> and
+is licensed under the GPL, see above.
+
+
+# Please also look if there are files or directories which have a
+# different copyright/license attached and list them here.
--- /dev/null
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+
+config.status: configure
+ dh_testdir
+ # Add here commands to configure the package.
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+ cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+ cp -f /usr/share/misc/config.guess config.guess
+endif
+ ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --with-yaz=/usr/bin --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
+
+
+build: build-stamp
+
+build-stamp: config.status
+ dh_testdir
+
+ # Add here commands to compile the package.
+ $(MAKE)
+
+ touch $@
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+
+ # Add here commands to clean up after the build process.
+ -$(MAKE) distclean
+ rm -f config.sub config.guess
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ # Add here commands to install the package into debian/pazpar2.
+ $(MAKE) DESTDIR=$(CURDIR)/debian/pazpar2 install
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs ChangeLog
+ mv $(CURDIR)/debian/pazpar2/usr/share/doc/pazpar2/* $(CURDIR)/debian/pazpar2-doc/usr/share/doc/pazpar2-doc
+ dh_installchangelogs ChangeLog
+ dh_installdocs
+ dh_installexamples
+# dh_install
+# dh_installmenu
+# dh_installdebconf
+# dh_installlogrotate
+# dh_installemacsen
+# dh_installpam
+# dh_installmime
+# dh_python
+# dh_installinit
+# dh_installcron
+# dh_installinfo
+ dh_installman
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+# dh_perl
+# dh_makeshlibs
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
-<settings target="localhost:9999/Default">
+<settings target="localhost:9999/Slow">
<!-- Simple test against a local test server (could be yaz-ztest) -->
- <!-- $Id: testserver.xml,v 1.1 2007-04-13 01:55:09 quinn Exp $ -->
+ <!-- $Id: testserver.xml,v 1.2 2007-06-17 07:47:57 adam Exp $ -->
<set name="pz:name" value="Local Test"/>