Adding debian sub-dir to repository. release.1.0.3
authorAnders S. Mortensen <sondberg@indexdata.dk>
Thu, 17 Aug 2006 08:35:02 +0000 (08:35 +0000)
committerAnders S. Mortensen <sondberg@indexdata.dk>
Thu, 17 Aug 2006 08:35:02 +0000 (08:35 +0000)
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/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..225ec3d
--- /dev/null
@@ -0,0 +1,6 @@
+libnet-z3950-simpleserver-perl (1.03-1) testing; urgency=low
+
+  * Initial Release.
+
+ -- Anders Mortensen <sondberg@indexdata.dk>  Thu, 17 Aug 2006 10:27:59 +0200 
+
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..b8626c4
--- /dev/null
@@ -0,0 +1 @@
+4
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..83fa13d
--- /dev/null
@@ -0,0 +1,16 @@
+Source: libnet-z3950-simpleserver-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 4.0.2), libyaz-dev
+Build-Depends-Indep: perl (>= 5.8.0-7)
+Maintainer: Anders Mortensen <sondberg@indexdata.dk>
+Standards-Version: 3.6.1
+
+Package: libnet-z3950-simpleserver-perl
+Architecture: any
+Depends: ${perl:Depends}, ${shlibs:Depends}, ${misc:Depends}, 
+Description:  Perl package used to encode GRS-1 records.
+ This Perl module helps you to create and manipulate GRS-1 records (generic record syntax).
+ So far, you have only access to three methods:
+ .
+ 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..55f8f03
--- /dev/null
@@ -0,0 +1,12 @@
+This is the debian package for the Net-Z3950-SimpleServer module.
+It was created by Anders Mortensen <sondberg@indexdata.dk> 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: 
+
+Anders Sønderberg Mortensen <sondberg@indexdata.dk>
+Index Data ApS, Copenhagen, Denmark.
+2001/03/09.
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..a809b3a
--- /dev/null
@@ -0,0 +1,97 @@
+#!/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)
+
+# Allow disabling build optimation by setting noopt in
+# $DEB_BUILD_OPTIONS
+CFLAGS = -Wall -g
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+        CFLAGS += -O0
+else
+        CFLAGS += -O2
+endif
+
+build: build-stamp
+build-stamp:
+       dh_testdir
+
+       # Add commands to compile the package here
+       $(PERL) Makefile.PL INSTALLDIRS=vendor
+       $(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
+
+       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 dependent package, we are not
+       # supposed to install stuff to /usr/share. MakeMaker creates
+       # the dirs, we delete them from the deb:
+       rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/share/perl5
+
+       touch install-stamp
+
+# 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_installdocs README TODO
+       dh_installexamples 
+#      dh_installmenu
+#      dh_installcron
+#      dh_installman
+       dh_installchangelogs Changes
+       dh_link
+       dh_strip
+       dh_compress
+       dh_fixperms
+       dh_makeshlibs
+       dh_installdeb
+       dh_perl 
+       dh_shlibdeps
+       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