[netcdf-fortran] 01/01: Improve initial Debian packaging.
Bas Couwenberg
sebastic at xs4all.nl
Fri Jan 16 21:06:23 UTC 2015
This is an automated email from the git hooks/post-receive script.
sebastic-guest pushed a commit to branch master
in repository netcdf-fortran.
commit 224b5eccca7d00356c6beade883c83838d151701
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Fri Jan 16 22:01:13 2015 +0100
Improve initial Debian packaging.
---
debian/control | 76 +++++++-
debian/copyright | 422 +++++++++++++++++++++++------------------
debian/libnetcdff-dev.install | 5 +
debian/libnetcdff-dev.manpages | 2 +
debian/libnetcdff-doc.doc-base | 9 +
debian/libnetcdff-doc.install | 1 +
debian/libnetcdff-doc.links | 1 +
debian/libnetcdff6.examples | 1 +
debian/libnetcdff6.install | 1 +
debian/libnetcdff6.symbols | 1 +
debian/nf-config.1 | 68 +++++++
debian/rules | 26 ++-
debian/upstream/metadata | 6 +
debian/watch | 8 +-
14 files changed, 434 insertions(+), 193 deletions(-)
diff --git a/debian/control b/debian/control
index 9e1b22f..1886148 100644
--- a/debian/control
+++ b/debian/control
@@ -1,19 +1,31 @@
Source: netcdf-fortran
Maintainer: Debian GIS Project <pkg-grass-devel at lists.alioth.debian.org>
-Uploaders: Ross Gammon <rossgammon at mail.dk>
+Uploaders: Francesco Paolo Lovergine <frankie at debian.org>,
+ Nico Schlömer <nico.schloemer at gmail.com>,
+ Ross Gammon <rossgammon at mail.dk>,
+ Bas Couwenberg <sebastic at xs4all.nl>
Section: science
Priority: optional
-Build-Depends: debhelper (>= 9)
+Build-Depends: debhelper (>= 9),
+ dh-autoreconf,
+ gfortran,
+ doxygen,
+ graphviz,
+ libjs-jquery,
+ libnetcdf-dev,
+ pkg-config
Standards-Version: 3.9.6
-Vcs-Browser: http://anonscm.debian.org/cgit/pkg-grass/netcdf-fortran.git/
+Vcs-Browser: http://anonscm.debian.org/cgit/pkg-grass/netcdf-fortran.git
Vcs-Git: git://anonscm.debian.org/pkg-grass/netcdf-fortran.git
Homepage: http://www.unidata.ucar.edu/software/netcdf/
-Package: libnetcdff7
+Package: libnetcdff6
Architecture: any
+Section: libs
Depends: ${shlibs:Depends},
${misc:Depends}
-Description: Interface for scientific data access to large binary data
+Pre-Depends: ${misc:Pre-Depends}
+Description: Fortran interface for scientific data access to large binary data
NetCDF (network Common Data Form) is an interface for scientific
data access and a freely-distributed software library that provides an
implementation of the interface. The netCDF library also defines a
@@ -21,5 +33,55 @@ Description: Interface for scientific data access to large binary data
Together, the interface, library, and format support the creation,
access, and sharing of scientific data.
.
- This package contains the Fortran77/90 run-time shared libraries
- required by programs.
+ This package contains the Fortran shared library.
+
+Package: libnetcdff-dev
+Architecture: any
+Section: libdevel
+Depends: libnetcdff6 (= ${binary:Version}),
+ ${misc:Depends}
+Recommends: pkg-config
+Suggests: netcdf-bin,
+ netcdf-doc
+Description: creation, access, and sharing of scientific data in Fortran
+ NetCDF (network Common Data Form) is a set of interfaces for array-oriented
+ data access and a freely distributed collection of data access libraries for
+ C, Fortran, C++, Java, and other languages. The netCDF libraries support a
+ machine-independent format for representing scientific data. Together, the
+ interfaces, libraries, and format support the creation, access, and sharing of
+ scientific data.
+ .
+ This package contains headers for the Fortran library.
+
+Package: libnetcdff-dbg
+Architecture: any
+Section: debug
+Priority: extra
+Depends: libnetcdff6 (= ${binary:Version}),
+ ${misc:Depends}
+Suggests: gdb
+Description: debugging symbols for NetCDF Fortran
+ NetCDF (network Common Data Form) is a set of interfaces for array-oriented
+ data access and a freely distributed collection of data access libraries for
+ C, Fortran, C++, Java, and other languages. The netCDF libraries support a
+ machine-independent format for representing scientific data. Together, the
+ interfaces, libraries, and format support the creation, access, and sharing of
+ scientific data.
+ .
+ This package contains debugging symbols for the Fortran library.
+
+Package: libnetcdff-doc
+Architecture: all
+Section: doc
+Depends: libjs-jquery,
+ ${misc:Depends}
+Description: NetCDF Fortran documentation
+ NetCDF (network Common Data Form) is a set of interfaces for array-oriented
+ data access and a freely distributed collection of data access libraries for
+ C, Fortran, C++, Java, and other languages. The netCDF libraries support a
+ machine-independent format for representing scientific data. Together, the
+ interfaces, libraries, and format support the creation, access, and sharing of
+ scientific data.
+ .
+ This package contains documentation for the Fortran library.
+
diff --git a/debian/copyright b/debian/copyright
index 89d560e..0ee7b9e 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,187 +1,245 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
-Upstream-Name: NetCDF Fortran
+Upstream-Name: NetCDF-Fortran
Upstream-Contact: University Corporation for Atmospheric Research/Unidata
-Source: http://www.unidata.ucar.edu/downloads/netcdf/index.jsp
-
-Files: CMakeExtras/sizeof_ptrdiff_t.c
- CMakeExtras/test_c_ptrdiff_t.f90
- examples/F77/do_comps.sh
- examples/F90/do_comps.sh
- examples/F90/run_f90_par_examples.sh
- examples/F90/run_nc4_comps.sh
- fortran/module_netcdf4_f03.f90
- fortran/module_netcdf4_nc_interfaces.f90
- fortran/module_netcdf_f03.f90
- fortran/module_netcdf_fortv2_c_interfaces.f90
- fortran/module_netcdf_nc_interfaces.f90
- fortran/netcdf.f90
- fortran/netcdf.inc
- fortran/netcdf2.inc
- fortran/netcdf3.inc
- fortran/netcdf4.f90
- fortran/netcdf4_eightbyte.f90
- fortran/netcdf4_func.f90
- fortran/netcdf4_overloads.f90
- fortran/netcdf4_variables.f90
- fortran/netcdf_attributes.f90
- fortran/netcdf_constants.f90
- fortran/netcdf_dims.f90
- fortran/netcdf_eightbyte.f90
- fortran/netcdf_expanded.f90
- fortran/netcdf_externals.f90
- fortran/netcdf_overloads.f90
- fortran/netcdf_text_variables.f90
- fortran/netcdf_variables.f90
- fortran/netcdf_visibility.f90
- fortran/nf_dim.f90
- fortran/nf_fortv2.f90
- fortran/nf_genatt.f90
- fortran/nf_geninq.f90
- fortran/nf_genvar.f90
- fortran/nf_misc.f90
- fortran/nf_nc4.f90
- fortran/typeSizes.f90
- libsrc/cfortran.h
- libsrc/fort-attio.c
- libsrc/fort-control.c
- libsrc/ncfortran.h
- libsrc/nfconfig.inc
- nf03_test/create_fills.sh
- nf03_test/f03lib.c
- nf03_test/f03lib_f_interfaces.f90
- nf03_test/run_f77_par_test.sh
- nf_test/create_fills.sh
- nf_test/f03lib.c
- nf_test/f03lib_f_interfaces.f90
- nf_test/f90tst_nc4_par.f90
- nf_test/f90tst_path.f90
- nf_test/f90tst_rengrps.f90
- nf_test/fortlib.c
- nf_test/run_f77_par_test.sh
- nf_test/run_f90_par_test.sh
- nf_test/tst_f90.f90
- nf_test/tst_f90_nc4.f90
-Copyright: *No copyright*
-License: UNKNOWN
- FIXME
-
-Files: examples/F77/pres_temp_4D_rd.f
- examples/F77/pres_temp_4D_wr.f
- examples/F77/sfc_pres_temp_rd.f
- examples/F77/sfc_pres_temp_wr.f
- examples/F77/simple_xy_nc4_rd.f
- examples/F77/simple_xy_nc4_wr.f
- examples/F77/simple_xy_rd.f
- examples/F77/simple_xy_wr.f
- examples/F90/nc4_pres_temp_4D_wr.f90
- examples/F90/nc4_sfc_pres_temp_wr.f90
- examples/F90/nc4_simple_xy_wr.f90
- examples/F90/pres_temp_4D_rd.f90
- examples/F90/pres_temp_4D_wr.f90
- examples/F90/sfc_pres_temp_rd.f90
- examples/F90/sfc_pres_temp_wr.f90
- examples/F90/simple_xy_nc4_rd.f90
- examples/F90/simple_xy_par_rd.f90
- examples/F90/simple_xy_par_wr.f90
- examples/F90/simple_xy_par_wr2.f90
- examples/F90/simple_xy_rd.f90
- examples/F90/simple_xy_wr.f90
- libsrc/fort-lib.h
- nf_test/f90tst_fill.f90
- nf_test/f90tst_fill2.f90
- nf_test/f90tst_grps.f90
- nf_test/f90tst_parallel.f90
- nf_test/f90tst_parallel2.f90
- nf_test/f90tst_parallel3.f90
- nf_test/f90tst_vars.f90
- nf_test/f90tst_vars2.f90
- nf_test/f90tst_vars3.f90
- nf_test/f90tst_vars4.f90
- nf_test/f90tst_vars_vlen.f90
- nf_test/tst_types.f90
- nf_test/tst_types2.f90
-Copyright: 2006, University Corporation for Atmospheric Research/Unidata
- 2007, University Corporation for Atmospheric Research/Unidata
- 2008, University Corporation for Atmospheric Research/Unidata
- 2009, University Corporation for Atmospheric Research/Unidata
- 2011, University Corporation for Atmospheric Research/Unidata
- file for conditions of use
-License: UNKNOWN
- FIXME
-
-Files: fortran/nf_lib.c
- libsrc/fort-dim.c
- libsrc/fort-genatt.c
- libsrc/fort-geninq.c
- libsrc/fort-genvar.c
- libsrc/fort-lib.c
- libsrc/fort-misc.c
- libsrc/fort-nc4.c
- libsrc/fort-var1io.c
- libsrc/fort-varaio.c
- libsrc/fort-vario.c
- libsrc/fort-varmio.c
- libsrc/fort-varsio.c
-Copyright: 2005, University Corporation for Atmospheric Research. See
- 2006, University Corporation for Atmospheric Research. See
- file for copying and redistribution conditions
-License: UNKNOWN
- FIXME
-
-Files: fortran/netcdf3_file.f90
- fortran/netcdf4_file.f90
- fortran/netcdf_file.f90
-Copyright: 2006, UCAR. See file
-License: UNKNOWN
- FIXME
-
-Files: fortran/netcdf4_externals.f90
- fortran/netcdf4_visibility.f90
-Copyright: 2006, UCAR
-License: UNKNOWN
- FIXME
-
-Files: nf_test/tst_flarge.f90
- nf_test/tst_io.f90
-Copyright: 2007, UCAR/Unidata. See netcdf/ file for copying
-License: UNKNOWN
- FIXME
-
-Files: fortran/nf_v2compat.c
- libsrc/fort-v2compat.c
-Copyright: 1996, University Corporation for Atmospheric Research
- file for copying and redistribution conditions
-License: UNKNOWN
- FIXME
+Source: https://github.com/Unidata/netcdf-fortran/releases
-Files: ltmain.sh
-Copyright: 1996-2001, 2003-2006
-License: GPL-2+
- FIXME
-
-Files: docs/texinfo.tex
-Copyright: 1985-1986, 1988, 1990-1995
-License: GPL-3
- FIXME
-
-Files: fortran/netcdf4.inc
-Copyright: 2006, UCAR, See
-License: UNKNOWN
- FIXME
-
-Files: nf_test/tests.inc
-Copyright: 1996, UCAR/Unidata
- file for copying and redistribution conditions
-License: UNKNOWN
- FIXME
-
-Files: examples/F90/simple_xy_nc4_wr.f90
-Copyright: 2006, University
-License: UNKNOWN
- FIXME
-
-Files: libsrc/netcdf_f.h
+Files: *
Copyright: 1993-2011, University Corporation for Atmospheric Research/Unidata
-License: UNKNOWN
- FIXME
+License: NetCDF
+
+Files: aclocal.m4
+Copyright: 1996-2013, Free Software Foundation, Inc.
+License: fsf-unlimited-disclaimer
+
+Files: config.guess
+ config.sub
+Copyright: 1992-2013, Free Software Foundation, Inc.
+License: GPL-3+ with Autoconf exception
+
+Files: configure
+Copyright: 1992-1996, 1998-2012, Free Software Foundation, Inc.
+License: fsf-unlimited-configure
+
+Files: depcomp
+ missing
+ test-driver
+Copyright: 1996-2013, Free Software Foundation, Inc.
+License: GPL-2+ with Autoconf exception
+
+Files: install-sh
+Copyright: 1994, X Consortium
+License: install-sh
+
+Files: ltmain.sh
+Copyright: 1996-2011, Free Software Foundation, Inc
+License: GPL-2+ with Libtool exception
+
+Files: m4/libtool.m4
+ m4/lt~obsolete.m4
+ m4/ltoptions.m4
+ m4/ltsugar.m4
+ m4/ltversion.m4
+Copyright: 1996-2001, 2003-2011, Free Software Foundation, Inc.
+License: fsf-unlimited
+
+Files: Makefile.in
+ fortran/Makefile.in
+ examples/Makefile.in
+Copyright: 1994-2013, Free Software Foundation, Inc.
+License: fsf-unlimited-makefile
+
+Files: debian/*
+Copyright: 2015, Debian GIS Team
+License: BSD-3-Clause
+
+License: NetCDF
+ Portions of this software were developed by the Unidata Program at the
+ University Corporation for Atmospheric Research.
+ .
+ Access and use of this software shall impose the following obligations
+ and understandings on the user. The user is granted the right, without
+ any fee or cost, to use, copy, modify, alter, enhance and distribute
+ this software, and any derivative works thereof, and its supporting
+ documentation for any purpose whatsoever, provided that this entire
+ notice appears in all copies of the software, derivative works and
+ supporting documentation. Further, UCAR requests that the user credit
+ UCAR/Unidata in any publications that result from the use of this
+ software or in any product that includes this software, although this
+ is not an obligation. The names UCAR and/or Unidata, however, may not
+ be used in any advertising or publicity to endorse or promote any
+ products or commercial entity unless specific written permission is
+ obtained from UCAR/Unidata. The user also understands that
+ UCAR/Unidata is not obligated to provide the user with any support,
+ consulting, training or assistance of any kind with regard to the use,
+ operation and performance of this software nor to provide the user
+ with any updates, revisions, new versions or "bug fixes."
+ .
+ THIS SOFTWARE IS PROVIDED BY UCAR/UNIDATA "AS IS" AND ANY EXPRESS OR
+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ DISCLAIMED. IN NO EVENT SHALL UCAR/UNIDATA BE LIABLE FOR ANY SPECIAL,
+ INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
+ FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
+ NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
+ WITH THE ACCESS, USE OR PERFORMANCE OF THIS SOFTWARE.
+
+License: BSD-3-Clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted 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 other materials provided with the distribution.
+ 3. The name of the author may not be used to endorse or promote products
+ derived from this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+License: fsf-unlimited
+ This file is free software; the Free Software Foundation gives
+ unlimited permission to copy and/or distribute it, with or without
+ modifications, as long as this notice is preserved.
+
+License: fsf-unlimited-configure
+ This configure script is free software; the Free Software Foundation
+ gives unlimited permission to copy, distribute and modify it.
+
+License: fsf-unlimited-disclaimer
+ This file is free software; the Free Software Foundation
+ gives unlimited permission to copy and/or distribute it,
+ with or without modifications, as long as this notice is preserved.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+ even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ PARTICULAR PURPOSE.
+
+License: fsf-unlimited-makefile
+ This Makefile.in is free software; the Free Software Foundation
+ gives unlimited permission to copy and/or distribute it,
+ with or without modifications, as long as this notice is preserved.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+ even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ PARTICULAR PURPOSE.
+
+License: install-sh
+ 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
+ X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
+ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
+ TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ .
+ Except as contained in this notice, the name of the X Consortium shall not
+ be used in advertising or otherwise to promote the sale, use or other deal-
+ ings in this Software without prior written authorization from the X Consor-
+ tium.
+ .
+ .
+ FSF changes to this file are in the public domain.
+ .
+ Calling this script install-sh is preferred over install.sh, to prevent
+ `make' implicit rules from creating a file called install from it
+ when there is no Makefile.
+ .
+ This script is compatible with the BSD install script, but was written
+ from scratch.
+
+License: GPL-2+ with Autoconf exception
+ This program 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, or (at your option)
+ any later version.
+ .
+ This program 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 program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ As a special exception to the GNU General Public License, if you
+ distribute this file as part of a program that contains a
+ configuration script generated by Autoconf, you may include it under
+ the same distribution terms that you use for the rest of that program.
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 2 can be found in the file
+ `/usr/share/common-licenses/GPL-2'.
+
+License: GPL-3+ with Autoconf exception
+ This file 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 3 of the License, or
+ (at your option) any later version.
+ .
+ This program 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 program; if not, see <http://www.gnu.org/licenses/>.
+ .
+ As a special exception to the GNU General Public License, if you
+ distribute this file as part of a program that contains a
+ configuration script generated by Autoconf, you may include it under
+ the same distribution terms that you use for the rest of that
+ program. This Exception is an additional permission under section 7
+ of the GNU General Public License, version 3 ("GPLv3").
+ .
+ On Debian systems, the full text of the GNU General Public License
+ version 3 can be found in the file
+ `/usr/share/common-licenses/GPL-3'.
+
+License: GPL-2+ with Libtool exception
+ GNU Libtool 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.
+ .
+ As a special exception to the GNU General Public License,
+ if you distribute this file as part of a program or library that
+ is built using GNU Libtool, you may include this file under the
+ same distribution terms that you use for the rest of that program.
+ .
+ GNU Libtool 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 GNU Libtool; see the file COPYING. If not, a copy
+ can be downloaded from http://www.gnu.org/licenses/gpl.html,
+ or obtained by writing to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 2 can be found in the file
+ `/usr/share/common-licenses/GPL-2'.
diff --git a/debian/libnetcdff-dev.install b/debian/libnetcdff-dev.install
new file mode 100644
index 0000000..f1d0828
--- /dev/null
+++ b/debian/libnetcdff-dev.install
@@ -0,0 +1,5 @@
+usr/bin/nf-config
+usr/include/*
+usr/lib/*/lib*.a
+usr/lib/*/lib*.so
+usr/lib/*/pkgconfig/netcdf-fortran.pc
diff --git a/debian/libnetcdff-dev.manpages b/debian/libnetcdff-dev.manpages
new file mode 100644
index 0000000..a88d4f0
--- /dev/null
+++ b/debian/libnetcdff-dev.manpages
@@ -0,0 +1,2 @@
+usr/share/man/man3/netcdf_fortran.3
+debian/nf-config.1
diff --git a/debian/libnetcdff-doc.doc-base b/debian/libnetcdff-doc.doc-base
new file mode 100644
index 0000000..cec52bb
--- /dev/null
+++ b/debian/libnetcdff-doc.doc-base
@@ -0,0 +1,9 @@
+Document: netcdf-fortran
+Title: NetCDF-Fortran Documentation
+Author: Russ Rew, Glenn Davis, Steve Emmerson, Harvey Davies, Ed Hartnett, Dennis Heimbigner, Ward Fisher
+Abstract: This manual describes what netCDF-Fortran is, and how it can be used.
+Section: File Management
+
+Format: HTML
+Index: /usr/share/doc/netcdf-fortran/html/index.html
+Files: /usr/share/doc/netcdf-fortran/html/*.html
diff --git a/debian/libnetcdff-doc.install b/debian/libnetcdff-doc.install
new file mode 100644
index 0000000..9132915
--- /dev/null
+++ b/debian/libnetcdff-doc.install
@@ -0,0 +1 @@
+#usr/share/doc/netcdf-fortran/
diff --git a/debian/libnetcdff-doc.links b/debian/libnetcdff-doc.links
new file mode 100644
index 0000000..e9e1da7
--- /dev/null
+++ b/debian/libnetcdff-doc.links
@@ -0,0 +1 @@
+usr/share/javascript/jquery/jquery.js usr/share/doc/netcdf-fortran/html/jquery.js
diff --git a/debian/libnetcdff6.examples b/debian/libnetcdff6.examples
new file mode 100644
index 0000000..e39721e
--- /dev/null
+++ b/debian/libnetcdff6.examples
@@ -0,0 +1 @@
+examples/*
diff --git a/debian/libnetcdff6.install b/debian/libnetcdff6.install
new file mode 100644
index 0000000..3ddde58
--- /dev/null
+++ b/debian/libnetcdff6.install
@@ -0,0 +1 @@
+usr/lib/*/lib*.so.*
diff --git a/debian/libnetcdff6.symbols b/debian/libnetcdff6.symbols
new file mode 100644
index 0000000..897405e
--- /dev/null
+++ b/debian/libnetcdff6.symbols
@@ -0,0 +1 @@
+libnetcdff.so.6 libnetcdff6 #MINVER#
diff --git a/debian/nf-config.1 b/debian/nf-config.1
new file mode 100644
index 0000000..9689059
--- /dev/null
+++ b/debian/nf-config.1
@@ -0,0 +1,68 @@
+'\" -*- coding: us-ascii -*-
+.if \n(.g .ds T< \\FC
+.if \n(.g .ds T> \\F[\n[.fam]]
+.de URL
+\\$2 \(la\\$1\(ra\\$3
+..
+.if \n(.g .mso www.tmac
+.TH nf-config 1 "15 January 2015" "" ""
+.SH NAME
+nf-config \- query netCDF Fortran build options
+.SH SYNOPSIS
+'nh
+.fi
+.ad l
+\fBnf-config\fR \kx
+.if (\nx>(\n(.l/2)) .nr x (\n(.l/5)
+'in \n(.iu+\nxu
+[\fB--libs\fR] [\fB--cflags\fR] [\fB--cxxflags\fR] [\fB--defines\fR] [\fB--includes\fR] [\fB--version\fR]
+'in \n(.iu-\nxu
+.ad b
+'hy
+.SH DESCRIPTION
+\fBnf-config\fR allows querying the options used to
+build the netCDF Fortran library.
+.SH OPTIONS
+.TP
+\*(T<\fB\-\-all\fR\*(T>
+Display all options
+.TP
+\*(T<\fB\-\-cc\fR\*(T>
+C compiler
+.TP
+\*(T<\fB\-\-fc\fR\*(T>
+Fortran compiler
+.TP
+\*(T<\fB\-\-cflags\fR\*(T>
+Pre-processor and compiler flags
+.TP
+.TP
+\*(T<\fB\-\-fflags\fR\*(T>
+Flags needed to compile a Fortran program
+.TP
+\*(T<\fB\-\-has-dap\fR\*(T>
+Whether OPeNDAP is enabled in this build
+.TP
+\*(T<\fB\-\-has-nc2\fR\*(T>
+Whether NetCDF-2 API is enabled
+.TP
+\*(T<\fB\-\-has-nc4\fR\*(T>
+Whether NetCDF-4/HDF-5 is enabled in this build
+.TP
+\*(T<\fB\-\-has-f90\fR\*(T>
+Whether Fortran 90 API is enabled in this build
+.TP
+\*(T<\fB\-\-has-f03\fR\*(T>
+Whether Fortran 2003 API is enabled in this build
+.TP
+\*(T<\fB\-\-flibs\fR\*(T>
+Libraries needed to link a Fortran program
+.TP
+\*(T<\fB\-\-prefix\fR\*(T>
+Install prefix
+.TP
+\*(T<\fB\-\-includedir\fR\*(T>
+Include directory
+.TP
+\*(T<\fB\-\-version\fR\*(T>
+Library version
diff --git a/debian/rules b/debian/rules
index 6055261..4c4b81c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,28 @@
#!/usr/bin/make -f
-# DH_VERBOSE := 1
+#export DH_VERBOSE=1
+
+UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' | sed -e 's/~.*//; s/^[0-9]://')
+
+# Verbose test output
+export VERBOSE=1
%:
- dh $@
+ dh $@ --with autoreconf --parallel
+
+override_dh_auto_configure:
+ dh_auto_configure -- --enable-doxygen --enable-dot
+
+override_dh_auto_test:
+ dh_auto_test || echo "Ignoring test failures"
+
+override_dh_install:
+ $(RM) debian/tmp/usr/lib/*/*.la
+ dh_install --list-missing
+
+override_dh_strip:
+ dh_strip --dbg-package=libnetcdff-dbg
+
+override_dh_makeshlibs:
+ dh_makeshlibs -- -c0 -v$(UPSTREAM_VERSION)
+
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..b1cbfef
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,6 @@
+---
+Bug-Database: https://github.com/Unidata/netcdf-fortran/issues
+Bug-Submit: https://github.com/Unidata/netcdf-fortran/issues/new
+Name: NetCDF-Fortran
+Repository: https://github.com/Unidata/netcdf-fortran.git
+Repository-Browse: https://github.com/Unidata/netcdf-fortran
diff --git a/debian/watch b/debian/watch
index a1739c2..1de62a6 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,7 @@
version=3
-
-ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-fortran-(.*)\.tar\.gz debian uupdate
+opts="dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
+uversionmangle=s/_/./g;s/(\d)[_\.\-\+]?((RC|rc|pre|dev|gamma|beta|alpha|b|a)[\-\.]?(\d*))$/$1~$3$4/,\
+filenamemangle=s/(?:.*?)?[vr]?(\d[\d\.\-\w]*)\.tar\.gz/netcdf-fortran-$1.tar.gz/" \
+https://github.com/Unidata/netcdf-fortran/releases \
+(?:.*/)*(?:rel|v|r|netcdf-fortran|)[\-\_]?(\d[\d\-\.\w]+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) \
+debian uupdate
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/netcdf-fortran.git
More information about the Pkg-grass-devel
mailing list