[libpdl-netcdf-perl] 01/09: Imported Debian patch 4.02-1
Bas Couwenberg
sebastic at debian.org
Sun Jun 12 17:41:53 UTC 2016
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository libpdl-netcdf-perl.
commit f922e85dddc13e36d4cc6b769eb638a1fd8780ca
Author: Henning Glawe <glaweh at debian.org>
Date: Sun Dec 6 17:19:02 2009 +0100
Imported Debian patch 4.02-1
---
debian/README.source | 3 +
debian/changelog | 29 ++++++++++
debian/compat | 1 +
debian/control | 26 +++++++++
debian/copyright | 15 +++++
debian/libpdl-netcdf-perl.postinst | 44 +++++++++++++++
debian/libpdl-netcdf-perl.postrm | 44 +++++++++++++++
debian/patches/00list | 2 +
debian/patches/01-pdldoc-fix.dpatch | 25 +++++++++
debian/rules | 108 ++++++++++++++++++++++++++++++++++++
debian/watch | 6 ++
11 files changed, 303 insertions(+)
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..0fc3b59
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,3 @@
+Patch system:
+This package uses dpatch to manage patches on top of the released
+tarballs, please check /usr/share/doc/dpatch/README.source.gz for details.
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..56887e4
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,29 @@
+libpdl-netcdf-perl (4.02-1) unstable; urgency=low
+
+ * initial upload to debian (closes: #559476)
+ * New upstream release
+ * take over package for debian
+ * register the documentation to pdldoc
+ * recreate HTML docs on install, upgrade and uninstall
+ * run test suite in verbose mode in separate debian/rules target
+ * include dpatch in package build process, write appropriate README.source
+ * update standards-version to 3.8.3
+ * bump debhelper build-dep
+ * repair POD docs to make them available in pdldoc
+
+ -- Henning Glawe <glaweh at debian.org> Sun, 06 Dec 2009 17:19:02 +0100
+
+libpdl-netcdf-perl (4.01-1) unstable; urgency=low
+
+ * New upstream release
+ * Adding watch
+ * Fixing dependencies for lintian
+ * Fixing license for lintian
+
+ -- Heiko Klein <heiko.klein at met.no> Thu, 18 Jun 2009 11:08:06 +0200
+
+libpdl-netcdf-perl (0.94-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Heiko Klein <heiko.klein at met.no> Thu, 16 Apr 2009 11:49:16 +0200
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..874a343
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,26 @@
+Source: libpdl-netcdf-perl
+Section: perl
+Priority: optional
+Build-Depends: libnetcdf-dev, pdl, perl, debhelper (>=5), dpatch
+Maintainer: Henning Glawe <glaweh at debian.org>
+Standards-Version: 3.8.3
+Homepage: http://search.cpan.org/dist/PDL-NetCDF/
+
+Package: libpdl-netcdf-perl
+Architecture: any
+Depends: pdl (>=2.4.5), ${shlibs:Depends}, ${perl:Depends}
+Description: Netcdf-IO for PDL
+ This is the PDL interface to the Unidata NetCDF library. It uses the
+ netCDF version 3 library to make a subset of netCDF functionality
+ available to PDL users in a clean, object-oriented interface.
+ .
+ Another NetCDF perl interface, which allows access to the entire range
+ of netCDF functionality (but in a non-object-oriented
+ style which uses perl arrays instead of PDLs) is available through Unidata at
+ http://www.unidata.ucar.edu/packages/netcdf/index.html).
+ .
+ The NetCDF standard allows N-dimensional binary data to be efficiently
+ stored, annotated and exchanged between many platforms.
+ .
+ When one creates a new netCDF object, this object is associated with one
+ netCDF file.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..8bfcc0a
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,15 @@
+This is the debian package for the PDL-NetCDF module.
+It was created by Heiko Klein <heiko.klein at met.no>.
+It was modified by Henning Glawe <glaweh at debian.org>
+
+It was downloaded from http://search.cpan.org/dist/PDL-NetCDF/
+
+Copyright (c) 1997-2009 Douglas Hunt. All rights reserved. This program
+is free software; you can redistribute it and/or modify it under the same
+terms as Perl itself. See /usr/share/common-licenses/Artistic
+
+The upstream author is: Douglas Hunt (dhunt at ucar.edu).
+
+The Debian packaging is (C) 2009, Heiko Klein <heiko.klein at met.no> and
+(C) 2009, Henning Glawe <glaweh at debian.org> and
+is licensed under the same terms as the software itself (see above).
diff --git a/debian/libpdl-netcdf-perl.postinst b/debian/libpdl-netcdf-perl.postinst
new file mode 100644
index 0000000..3ea3ae0
--- /dev/null
+++ b/debian/libpdl-netcdf-perl.postinst
@@ -0,0 +1,44 @@
+#! /bin/sh
+# postinst script for libpdl-netcdf-perl
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postinst> `configure' <most-recently-configured-version>
+# * <old-postinst> `abort-upgrade' <new version>
+# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+# <new-version>
+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+# <failed-install-package> <version> `removing'
+# <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+#
+
+case "$1" in
+ configure)
+ perl /usr/lib/perl5/PDL/Doc/scantree.pl /usr/lib/perl5/ /var/lib/pdl/pdldoc.db /var/lib/pdl/Index.pod >/dev/null 2>&1
+ perl /usr/lib/perl5/PDL/Doc/mkhtmldoc.pl /usr/lib/perl5/PDL /var/lib/pdl/html >/dev/null 2>&1
+
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
diff --git a/debian/libpdl-netcdf-perl.postrm b/debian/libpdl-netcdf-perl.postrm
new file mode 100644
index 0000000..2b7ffc0
--- /dev/null
+++ b/debian/libpdl-netcdf-perl.postrm
@@ -0,0 +1,44 @@
+#!/bin/sh
+# postrm script for libpdl-netcdf-perl
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postrm> `remove'
+# * <postrm> `purge'
+# * <old-postrm> `upgrade' <new-version>
+# * <new-postrm> `failed-upgrade' <old-version>
+# * <new-postrm> `abort-install'
+# * <new-postrm> `abort-install' <old-version>
+# * <new-postrm> `abort-upgrade' <old-version>
+# * <disappearer's-postrm> `disappear' <overwriter>
+# <overwriter-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+ purge|remove)
+ perl /usr/lib/perl5/PDL/Doc/scantree.pl /usr/lib/perl5/ /var/lib/pdl/pdldoc.db /var/lib/pdl/Index.pod >/dev/null 2>&1
+ perl /usr/lib/perl5/PDL/Doc/mkhtmldoc.pl /usr/lib/perl5/PDL /var/lib/pdl/html >/dev/null 2>&1
+ ;;
+
+ upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+ ;;
+
+ *)
+ echo "postrm called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
diff --git a/debian/patches/00list b/debian/patches/00list
new file mode 100644
index 0000000..c631035
--- /dev/null
+++ b/debian/patches/00list
@@ -0,0 +1,2 @@
+
+01-pdldoc-fix
diff --git a/debian/patches/01-pdldoc-fix.dpatch b/debian/patches/01-pdldoc-fix.dpatch
new file mode 100644
index 0000000..8059aba
--- /dev/null
+++ b/debian/patches/01-pdldoc-fix.dpatch
@@ -0,0 +1,25 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01-pdldoc-fix.dpatch by Henning Glawe <glaweh at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: This patch makes the NetCDF docs fully available to pdldoc
+## DP: - remove whitespace at end of NAME
+## DP: - move description into section DESCRIPTION
+
+ at DPATCH@
+diff -urNad libpdl-netcdf-perl-4.02~/netcdf.pd libpdl-netcdf-perl-4.02/netcdf.pd
+--- libpdl-netcdf-perl-4.02~/netcdf.pd 2009-08-03 19:51:16.000000000 +0200
++++ libpdl-netcdf-perl-4.02/netcdf.pd 2009-12-06 17:16:06.359391030 +0100
+@@ -2,10 +2,11 @@
+ use Config;
+
+ pp_addpm({At => Top}, <<'EOD');
+-=head1 NAME
++=head1 NAME
+
+ PDL::NetCDF - Object-oriented interface between NetCDF files and PDL objects.
+
++=head1 DESCRIPTION
+ Perl extension to allow interface to NetCDF portable
+ binary gridded files via PDL objects.
+
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..b61fcad
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,108 @@
+#!/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
+
+include /usr/share/dpatch/dpatch.make
+# 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
+
+configure: configure-stamp
+configure-stamp: patch-stamp
+ dh_testdir
+ # Add here commands to configure the package
+ $(PERL) Makefile.PL INSTALLDIRS=vendor \
+ INSTALLVENDORARCH=/usr/lib/perl5/ \
+ VENDORARCHEXP=/usr/lib/perl5/
+
+ touch configure-stamp
+
+build: build-stamp
+build-stamp: configure
+ dh_testdir
+
+ # As this is a architecture dependent package, we are not
+ # supposed to install stuff to /usr/share. MakeMaker creates
+ # the dirs, we prevent this by setting the INSTALLVENDORARCH
+ # and VENDORARCHEXP environment variables.
+
+ # Add commands to compile the package here
+ $(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
+
+ touch $@
+
+test: test-stamp
+test-stamp: build-stamp
+ dh_testdir
+ -$(MAKE) TEST_VERBOSE=1 DISPLAY="" test
+ touch test-stamp
+
+clean: clean-patched unpatch
+clean-patched:
+ dh_testdir
+ dh_testroot
+
+ dh_clean build-stamp configure-stamp install-stamp
+
+ # Add commands to clean up after the build process here
+ [ ! -f Makefile ] || $(MAKE) realclean
+
+install: install-stamp
+install-stamp: build-stamp test
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+
+ # Add commands to install the package into debian/$PACKAGE_NAME here
+ $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+
+ touch $@
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do here for an architecture-dependent package
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installexamples
+ dh_installdocs README
+ dh_installchangelogs Changes
+ dh_shlibdeps
+ dh_strip
+ dh_perl
+ 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 install configure
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..b52326f
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,6 @@
+# See uscan(1) for format
+
+# Compulsory line, this is a version 3 file
+version=3
+http://search.cpan.org/CPAN/authors/id/D/DH/DHUNT/PDL-NetCDF-([[:digit:]].*).tar.gz debian uupdate
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libpdl-netcdf-perl.git
More information about the Pkg-perl-cvs-commits
mailing list