[nexus] 02/07: Inject packaging status as is before injecting into Debian Science Git

Andreas Tille tille at debian.org
Thu May 11 07:29:15 UTC 2017


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

tille pushed a commit to branch master
in repository nexus.

commit 12bf13d03fa56567676834446d8aedbf040dabde
Author: Andreas Tille <tille at debian.org>
Date:   Thu May 11 09:12:08 2017 +0200

    Inject packaging status as is before injecting into Debian Science Git
---
 debian/README.Debian                               |   7 ++
 debian/changelog                                   | 128 ++++++++++++++++++++
 debian/compat                                      |   1 +
 debian/control                                     | 107 +++++++++++++++++
 debian/copyright                                   | 124 ++++++++++++++++++++
 debian/libnexus0-dev.install                       |  11 ++
 debian/libnexus0-java.install                      |   3 +
 debian/libnexus0v5.install                         |   1 +
 debian/nexus-tools.install                         |   5 +
 debian/nexus-tools.manpages                        |   5 +
 ...s-nexus-without-hdf5-is-considered-broken.patch |  22 ++++
 debian/patches/fix-hdf5-1-10-detection.patch       |  13 +++
 debian/patches/series                              |   2 +
 debian/python-nxs.install                          |   2 +
 debian/rules                                       | 129 +++++++++++++++++++++
 debian/source/format                               |   1 +
 16 files changed, 561 insertions(+)

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..e0e46c7
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,7 @@
+NeXus for Debian
+----------------
+
+Not all potentially available bindings are built (no fortran or swig to name two).
+If requests arise I may include them.
+
+ -- Tobias Stefan Richter <tsr-debian at achos.com>  Mon, 21 Jun 2010 10:43:50 +0100
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..cc0145c
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,128 @@
+nexus (4.3.2-svn1921-4) unstable; urgency=medium
+
+  * QA upload.
+  * New patch fix-hdf5-1-10-detection to support DF5 1.10 (closes: #841965)
+
+ -- Gilles Filippini <pini at debian.org>  Fri, 22 Jul 2016 23:05:27 +0200
+
+nexus (4.3.2-svn1921-3) unstable; urgency=medium
+
+  * QA upload.
+  * Orphan the package, see #805446.
+  * debian/control: bump Standards-Version to 3.9.6, no changes needed
+  * run wrap-and-sort
+  * Build-Depend on dh-python instead of python-support.  Looks like
+    dh_python2 was already used in d/rules anyway.  Closes: #786316
+  * Remove debian/gbp.conf, since this package is not maintained in git.
+
+ -- Mattia Rizzolo <mattia at debian.org>  Sun, 13 Dec 2015 23:08:45 +0000
+
+nexus (4.3.2-svn1921-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename library packages for g++5 ABI transition (closes: 791217).
+
+ -- Julien Cristau <jcristau at debian.org>  Sun, 16 Aug 2015 17:47:53 +0200
+
+nexus (4.3.2-svn1921-2) unstable; urgency=low
+
+  * Support hdf5 1.8.13 new packaging layout.
+    Patch by Gilles Filippini <pini at debian.org>
+    (Closes: #756688)
+
+ -- Tobias Stefan Richter <tsr-debian at achos.com>  Fri, 1 Aug 2014 00:21:53 +0100
+
+nexus (4.3.2-svn1921-1) unstable; urgency=low
+
+  * disginguish between static and dynamic linking, fix
+    from upstream (Closes: #743480) 
+  * provide correct pkg-config version number
+
+ -- Tobias Stefan Richter <tsr-debian at achos.com>  Wed, 16 Apr 2014 19:21:53 +0100
+
+nexus (4.3.2-svn1919-2) unstable; urgency=medium
+
+  * add missing dependencies for -dev package
+  * bump standards version (no modification)
+
+ -- Tobias Stefan Richter <tsr-debian at achos.com>  Thu, 03 Apr 2014 17:00:12 +0100
+
+nexus (4.3.2-svn1919-1) unstable; urgency=low
+
+  * upstream: fix problem with null terminated fixed size strings in nxbrowse
+  * force building with hdf5 (ubuntu managed to build without)
+
+ -- Tobias Stefan Richter <tsr-debian at achos.com>  Wed, 13 Nov 2013 14:36:50 +0000
+
+nexus (4.3.2-svn1915-1) unstable; urgency=low
+
+  * new upstream snapshot
+  * better support from compression from Java
+  * bug fixes
+
+ -- Tobias Stefan Richter <tsr-debian at achos.com>  Sat, 14 Sep 2013 18:19:10 +0100
+
+nexus (4.3-svn1898-1) unstable; urgency=low
+
+  * updated upstream version fixing NX5getinfo64
+
+ -- Tobias Stefan Richter <tsr-debian at achos.com>  Sat, 22 Jun 2013 16:20:31 +0100
+
+nexus (4.3-svn1896-1) unstable; urgency=low
+
+  * new upstream version to resolve issues around napiconfig.h
+    and add various small improvements
+
+ -- Tobias Stefan Richter <tsr-debian at achos.com>  Sun, 19 May 2013 18:15:22 +0100
+
+nexus (4.3-svn1889-1) unstable; urgency=low
+
+  * new upstream release with bug fixes
+  * ensure backward compatibility when compiling with Java 7
+
+ -- Tobias Stefan Richter <tsr-debian at achos.com>  Fri, 08 Mar 2013 00:30:22 +0000
+
+nexus (4.3-svn1863-2) unstable; urgency=low
+
+  * conflict with old python package to allow upgrade
+  * populate binary-indep target for python
+  * bump standards version (potential symbols work outstanding)
+
+ -- Tobias Stefan Richter <tsr-debian at achos.com>  Sun, 17 Feb 2013 19:45:47 +0000
+
+nexus (4.3-svn1863-1) unstable; urgency=low
+
+  * new upstream version (Closes: #692425)
+  * use dpkg-buildflags
+
+ -- Tobias Stefan Richter <tsr-debian at achos.com>  Thu, 13 Dec 2012 15:29:09 +0000
+
+nexus (4.3-svn1815-2) unstable; urgency=low
+
+  * remove transitional libhdf5-serial-dev dependency
+
+ -- Tobias Richter <tsr-debian at achos.com>  Wed, 23 May 2012 10:05:18 +0100
+
+nexus (4.3-svn1815-1) unstable; urgency=low
+
+  * new upstream version
+  * update standards version from 3.9.2 to 3.9.3 (no change)
+  * make python arch all (Closes: #662215)
+  * better python dependency (Closes: #662214)
+  * correct python package name (Closes: #662158)
+  * Thanks to Jakub for spotting all my python packaging mistakes!
+
+ -- Tobias Stefan Richter <tsr-debian at achos.com>  Mon, 14 May 2012 18:22:36 +0100
+
+nexus (4.2.1-svn1614-2) unstable; urgency=low
+
+  * better solution for finding JAVA_HOME (Closes: #636203)
+  * provide build-arch and build build-indep targets
+
+ -- Tobias Stefan Richter <tsr-debian at achos.com>  Tue, 02 Aug 2011 11:37:59 +0100
+
+nexus (4.2.1-svn1614-1) unstable; urgency=low
+
+  * Initial release (Closes: #411053) 
+
+ -- Tobias Stefan Richter <tsr-debian at achos.com>  Thu, 21 Jul 2011 11:52:11 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..9fbd83c
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,107 @@
+Source: nexus
+Priority: extra
+Maintainer: Debian QA Group <packages at qa.debian.org>
+Build-Depends: ant,
+               autoconf,
+               automake,
+               autotools-dev,
+               debhelper (>= 7),
+               default-jdk | java2-sdk,
+               dh-python,
+               libhdf4g-dev,
+               libhdf5-dev,
+               libmxml-dev,
+               libtool,
+               libxml2-dev,
+               python,
+               python-all-dev,
+               python-numpy
+Standards-Version: 3.9.6
+Section: libs
+
+Package: libnexus0v5
+Section: libs
+Architecture: any
+Depends: ${misc:Depends},
+         ${shlibs:Depends}
+Homepage: http://www.nexusformat.org/
+Conflicts: libnexus0
+Replaces: libnexus0
+Description: NeXus scientific data file format - runtime libraries
+ NeXus is a common data format for neutron, x-ray, and muon science. It
+ is being developed as an international standard by scientists and
+ programmers representing major scientific facilities in Europe, Asia,
+ Australia, and North America in order to facilitate greater cooperation
+ in the analysis and visualization of neutron, x-ray, and muon data.
+ .
+ This is the package containing the runtime libraries.
+
+Package: libnexus0-dev
+Section: libdevel
+Architecture: any
+Depends: libhdf4-dev,
+         libhdf5-dev,
+         libmxml-dev,
+         libnexus0v5 (= ${binary:Version}),
+         ${misc:Depends}
+Homepage: http://www.nexusformat.org/
+Description: NeXus scientific data file format - development libraries
+ NeXus is a common data format for neutron, x-ray, and muon science. It
+ is being developed as an international standard by scientists and
+ programmers representing major scientific facilities in Europe, Asia,
+ Australia, and North America in order to facilitate greater cooperation
+ in the analysis and visualization of neutron, x-ray, and muon data.
+ .
+ This is the package containing the development libraries.
+
+Package: libnexus0-java
+Section: java
+Architecture: any
+Depends: libnexus0v5 (= ${binary:Version}),
+         ${misc:Depends},
+         ${shlibs:Depends}
+Homepage: http://www.nexusformat.org/
+Description: NeXus scientific data file format - java libraries
+ NeXus is a common data format for neutron, x-ray, and muon science. It
+ is being developed as an international standard by scientists and
+ programmers representing major scientific facilities in Europe, Asia,
+ Australia, and North America in order to facilitate greater cooperation
+ in the analysis and visualization of neutron, x-ray, and muon data.
+ .
+ This is the package containing the java libraries.
+
+Package: python-nxs
+Replaces: libnexus0-python
+Conflicts: libnexus0-python
+Section: python
+Architecture: all
+Depends: libnexus0v5 (>= ${binary:Version}),
+         ${misc:Depends},
+         ${python:Depends},
+         ${shlibs:Depends}
+Homepage: http://www.nexusformat.org/
+Description: NeXus scientific data file format - python binding
+ NeXus is a common data format for neutron, x-ray, and muon science. It
+ is being developed as an international standard by scientists and
+ programmers representing major scientific facilities in Europe, Asia,
+ Australia, and North America in order to facilitate greater cooperation
+ in the analysis and visualization of neutron, x-ray, and muon data.
+ .
+ This is the package containing the Python bindings.
+
+Package: nexus-tools
+Section: science
+Architecture: any
+Depends: libnexus0v5 (= ${binary:Version}),
+         ${misc:Depends},
+         ${shlibs:Depends}
+Homepage: http://www.nexusformat.org/
+Description: NeXus scientific data file format - applications
+ NeXus is a common data format for neutron, x-ray, and muon science. It
+ is being developed as an international standard by scientists and
+ programmers representing major scientific facilities in Europe, Asia,
+ Australia, and North America in order to facilitate greater cooperation
+ in the analysis and visualization of neutron, x-ray, and muon data.
+ .
+ This is the package containing some applications for reading and writing
+ NeXus files.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..34a7f61
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,124 @@
+This package was debianized by Tobias Stefan Richter <tsr-debian at achos.com> on
+Fri, 22 Jan 2010 10:43:50 +0100.
+
+It was retrieved from https://svn.nexusformat.org/code/
+
+Upstream Authors:
+
+	Uwe Filges <Uwe.Filges at psi.ch>
+	Przemek Klosowski <przemek at nist.gov>
+	Mark Koennecke <Mark.Koennecke at psi.ch>
+	Nick Maliszewskyj <nickm at nist.gov>
+	Chris Moreton-Smith <C.M.Moreton-Smith at rl.ac.uk>
+	Ray Osborn <ROsborn at anl.gov>
+	Jon Tischler <tischlerjz at ornl.gov>
+	Freddie Akeroyd <F.A.Akeroyd at rl.ac.uk>
+	Jens Krueger <jens.krueger at frm2.tum.de>
+	Joern Beckmann <joern.beckmann at frm2.tum.de>
+	Peter Peterson <petersonpf at ornl.gov>
+	Hartmut Gilde <Hartmut.Gilde at frm2.tum.de>
+
+Copyright:
+
+	Copyright (c) 1997 -- 2010
+
+License:
+
+	This package is free software; you can redistribute it and/or
+	modify it under the terms of the GNU Lesser 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
+	Lesser General Public License for more details.
+
+	You should have received a copy of the GNU Lesser 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 Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL'.
+
+The applications nxtranslate, nxsummary and nxdir have the following License:
+
+	Permission is hereby granted, free of charge, to any person
+	obtaining a copy of this software and associated documentation
+	files (the "Software"), to deal in the Software without
+	restriction, including without limitation the rights to use, copy,
+	modify, merge, publish, distribute, sublicense, and/or sell copies
+	of the Software, and to permit persons to whom the Software is
+	furnished to do so, subject to the following conditions:
+
+	The above copyright notice and this permission notice shall be
+	included in all copies or substantial portions of the Software.
+
+	THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+	EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+	MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+	NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+	BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+	ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+	CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+	SOFTWARE.
+
+The java library contains the ncsa.hdf.hdflib package which is distributed under
+the following license:
+
+	Copyright Notice and Statement for NCSA Hierarchical Data Format (HDF)
+	Software Library and Utilities
+
+	Copyright 1988-2000 The Board of Trustees of the University of Illinois
+
+	All rights reserved.
+
+	Contributors:   National Center for Supercomputing Applications
+	(NCSA) at the University of Illinois, Fortner Software, Unidata
+	Program Center (netCDF), The Independent JPEG Group (JPEG),
+	Jean-loup Gailly and Mark Adler (gzip), and Digital Equipment
+	Corporation (DEC). Macintosh support contributed by Gregory L. Guerin.
+
+	The package 'glguerin':
+	Copyright 1998, 1999 by Gregory L. Guerin.
+	Redistribute or reuse only as described below.
+	These files are from the MacBinary Toolkit for Java:
+	   <http://www.amug.org/~glguerin/sw/#macbinary>
+	and are redistributed by NCSA with permission of the
+	author.
+
+	Redistribution and use in source and binary forms, with or without
+	modification, are permitted for any purpose (including commercial
+	purposes) provided that the following conditions are met:
+
+	1. Redistributions of source code must retain the above copyright
+	notice, this list of conditions, and the following disclaimer.
+
+	2. Redistributions in binary form must reproduce the above copyright
+	notice, this list of conditions, and the following disclaimer in the
+	documentation and/or materials provided with the distribution.
+
+	3. In addition, redistributions of modified forms of the source or
+	binary code must carry prominent notices stating that the original
+	code was changed and the date of the change.
+
+	4. All publications or advertising materials mentioning features or use
+	of this software must acknowledge that it was developed by the National
+	Center for Supercomputing Applications at the University of Illinois,
+	and credit the Contributors.
+
+	5. Neither the name of the University nor the names of the Contributors
+	may be used to endorse or promote products derived from this software
+	without specific prior written permission from the University or the
+	Contributors.
+
+	DISCLAIMER
+
+	THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY AND THE CONTRIBUTORS "AS IS"
+	WITH NO WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED.  In no event
+	shall the University or the Contributors be liable for any damages
+	suffered by the users arising out of the use of this software, even if
+	advised of the possibility of such damage.
+
+The Debian packaging is (C) 2008, Tobias Stefan Richter <tsr-debian at achos.com> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
diff --git a/debian/libnexus0-dev.install b/debian/libnexus0-dev.install
new file mode 100644
index 0000000..dffe82b
--- /dev/null
+++ b/debian/libnexus0-dev.install
@@ -0,0 +1,11 @@
+debian/tmp/usr/include/*
+debian/tmp/usr/lib/libNeXus*.a
+debian/tmp/usr/lib/libNeXus*.so
+debian/tmp/usr/lib/pkgconfig/nexus-cpp.pc
+debian/tmp/usr/lib/pkgconfig/nexus.pc
+debian/tmp/usr/share/nexus/doc/README.doc
+debian/tmp/usr/share/nexus/doc/api/napi.tex
+debian/tmp/usr/share/nexus/doc/nxdict/NXdict.tex
+debian/tmp/usr/share/nexus/doc/tech_ref/NeXus_definitions.pdf
+debian/tmp/usr/share/nexus/doc/tech_ref/NeXus_definitions.txt
+debian/tmp/usr/share/nexus/examples/README.examples
diff --git a/debian/libnexus0-java.install b/debian/libnexus0-java.install
new file mode 100644
index 0000000..1a30838
--- /dev/null
+++ b/debian/libnexus0-java.install
@@ -0,0 +1,3 @@
+debian/tmp/usr/lib/libj*.so* /usr/lib/jni
+debian/tmp/usr/share/java/jnexus.jar
+debian/tmp/usr/share/nexus/doc/java/README.JNEXUS
diff --git a/debian/libnexus0v5.install b/debian/libnexus0v5.install
new file mode 100644
index 0000000..5125e70
--- /dev/null
+++ b/debian/libnexus0v5.install
@@ -0,0 +1 @@
+debian/tmp/usr/lib/libNeXus*.so.*
diff --git a/debian/nexus-tools.install b/debian/nexus-tools.install
new file mode 100644
index 0000000..44a24e0
--- /dev/null
+++ b/debian/nexus-tools.install
@@ -0,0 +1,5 @@
+debian/tmp/usr/bin/nxbrowse
+debian/tmp/usr/bin/nxconvert
+debian/tmp/usr/bin/nxdir
+debian/tmp/usr/bin/nxsummary
+debian/tmp/usr/bin/nxtranslate
diff --git a/debian/nexus-tools.manpages b/debian/nexus-tools.manpages
new file mode 100644
index 0000000..0393868
--- /dev/null
+++ b/debian/nexus-tools.manpages
@@ -0,0 +1,5 @@
+applications/NXbrowse/nxbrowse.1
+applications/NXconvert/nxconvert.1
+applications/NXdir/nxdir.1
+applications/NXsummary/nxsummary.1
+applications/NXtranslate/nxtranslate.1
diff --git a/debian/patches/0001-these-days-nexus-without-hdf5-is-considered-broken.patch b/debian/patches/0001-these-days-nexus-without-hdf5-is-considered-broken.patch
new file mode 100644
index 0000000..44536f9
--- /dev/null
+++ b/debian/patches/0001-these-days-nexus-without-hdf5-is-considered-broken.patch
@@ -0,0 +1,22 @@
+From: Tobias Richter <tsr-debian at achos.com>
+Date: Wed, 13 Nov 2013 17:37:19 +0000
+Subject: these days nexus without hdf5 is considered broken
+
+---
+ configure.ac | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 5d1d7a9..bbc04b1 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -623,8 +623,7 @@ if test "$H5ROOT"; then
+     		HDF5_CPPFLAGS="-I$H5ROOT/include -DHDF5 -DH5_NO_DEPRECATED_SYMBOLS ${HDF5_API_DEFS}"
+ 		;;
+ 	*)	
+-		AC_MSG_WARN([The HDF 5 installation at $H5ROOT is not the right version ($H5VERSION). You need at least 1.8])
+-		H5ROOT=""
++		AC_MSG_ERROR([The HDF 5 installation at $H5ROOT is not the right version ($H5VERSION). You need at least 1.8])
+ 		;;
+     esac
+ fi
diff --git a/debian/patches/fix-hdf5-1-10-detection.patch b/debian/patches/fix-hdf5-1-10-detection.patch
new file mode 100644
index 0000000..cb1c91c
--- /dev/null
+++ b/debian/patches/fix-hdf5-1-10-detection.patch
@@ -0,0 +1,13 @@
+Index: nexus-4.3.2-svn1921/configure.ac
+===================================================================
+--- nexus-4.3.2-svn1921.orig/configure.ac
++++ nexus-4.3.2-svn1921/configure.ac
+@@ -610,7 +610,7 @@ HDF5_API_DEFS="-DH5Acreate_vers=2 -DH5Ai
+ if test "$H5ROOT"; then
+     H5VERSION=`grep H5_VERS_INFO ${H5ROOT}/include/H5public.h | cut -d '"' -f 2 | cut -d ' ' -f 4`
+     case $H5VERSION in
+-	1.[[89]]*)
++	1.[[89]].*|1.10.*)
+     		HDF5_LDFLAGS=""
+ 		for j in lib lib64; do
+ 		    if test -d $H5ROOT/$j; then 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..c1c1bf4
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+0001-these-days-nexus-without-hdf5-is-considered-broken.patch
+fix-hdf5-1-10-detection.patch
diff --git a/debian/python-nxs.install b/debian/python-nxs.install
new file mode 100644
index 0000000..a8408b3
--- /dev/null
+++ b/debian/python-nxs.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/python*/*/*/*.py
+debian/tmp/usr/share/nexus/doc/python/README.html
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..a2fe2c1
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,129 @@
+#!/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.
+
+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)
+
+CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
+CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
+CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
+LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
+
+ifneq ($(wildcard /usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/serial/libhdf5.so),)
+  HDF5_DIR := /usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/serial
+else
+  HDF5_DIR := /usr
+endif
+
+# shared library versions, option 1
+#version=2.0.5
+#major=2
+# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so
+# version=`ls src/.libs/lib*.so.* | \
+#  awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
+# major=`ls src/.libs/lib*.so.* | \
+#  awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
+
+configure:
+	dpkg-parsechangelog | sed -n -e 's/^Version: .*svn\(.*\)-.*/\1/p' | tr -d '\n' > svn_revision.txt
+	sh autogen.sh
+	rm svn_revision.txt
+
+config.status: configure
+	dh_testdir
+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 --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --with-hdf5=$(HDF5_DIR) CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS) -Wl,-z,defs" CPPFLAGS="$(CPPFLAGS)" CXXFLAGS="$(CXXFLAGS)" --with-java-home=/usr/lib/jvm/default-java --with-python=/usr JAVACFLAGS="-source 1.5 -target 1.5"
+	sed < libtool > libtool-2 -e 's/^hardcode_libdir_flag_spec.*$$/hardcode_libdir_flag_spec=" -D__LIBTOOL_IS_A_FOOL__ "/' -e '/^archive_cmds="/s/"$$/ \\$$deplibs"/'
+	mv libtool-2 libtool
+	chmod 755 libtool
+
+build: build-arch build-indep
+
+build-arch: build-stamp
+
+build-indep:
+
+build-stamp:  config.status
+	dh_testdir
+	$(MAKE)
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+	-$(MAKE) maintainer-clean
+	rm -f config.sub config.guess
+	rm -fr config || true
+	rm -fr .pc || true
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_prep
+	dh_installdirs
+	$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
+
+# Build architecture-independent files here.
+binary-indep: build-indep install
+	dh_testdir -i
+	dh_testroot -i
+	dh_installchangelogs -i
+	dh_installdocs -i
+	dh_installexamples -i
+	dh_install -i
+#	dh_installmenu -i
+#	dh_installdebconf	 -i
+#	dh_installinfo -i
+	dh_installman -i
+	dh_link -i
+	dh_strip -i
+	dh_compress -i
+	dh_fixperms -i
+	dh_python2 -i
+	dh_installdeb -i
+	dh_shlibdeps -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
+
+# Build architecture-dependent files here.
+binary-arch: build-arch install
+	dh_testdir -a
+	dh_testroot -a
+	dh_installchangelogs -a
+	dh_installdocs -a
+	dh_installexamples -a
+	dh_install -a
+#	dh_installmenu -a
+#	dh_installdebconf	 -a
+#	dh_installinfo -a
+	dh_installman -a
+	dh_link -a
+	dh_strip -a
+	dh_compress -a
+	dh_fixperms -a
+	dh_makeshlibs -X /usr/lib/jni -a
+	dh_installdeb -a
+	dh_shlibdeps -a
+	dh_gencontrol -a
+	dh_md5sums -a
+	dh_builddeb -a
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install 
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/nexus.git



More information about the debian-science-commits mailing list