This is an automated email from the git hooks/post-receive script. sebastic-guest pushed a commit to branch master in repository netcdf-libcf.
commit 29e8e3c949b12a1c433c1e501292d8b66755a058 Author: Bas Couwenberg <sebas...@xs4all.nl> Date: Sat Jan 17 18:53:17 2015 +0100 Add initial Debian packaging. --- debian/changelog | 5 + debian/compat | 1 + debian/control | 101 +++++++++++++++++++ debian/copyright | 245 +++++++++++++++++++++++++++++++++++++++++++++++ debian/gbp.conf | 16 ++++ debian/libcf-dev.install | 3 + debian/libcf0.examples | 1 + debian/libcf0.install | 1 + debian/libcf0.symbols | 1 + debian/rules | 27 ++++++ debian/source/format | 1 + debian/watch | 6 ++ 12 files changed, 408 insertions(+) diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..bd0a1cf --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +netcdf-libcf (1.0~beta10-1) UNRELEASED; urgency=medium + + * Initial release (Closes: #775584) + + -- Bas Couwenberg <sebas...@xs4all.nl> Fri, 16 Jan 2015 15:38:05 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..d09f896 --- /dev/null +++ b/debian/control @@ -0,0 +1,101 @@ +Source: netcdf-libcf +Maintainer: Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org> +Uploaders: Francesco Paolo Lovergine <fran...@debian.org>, + Nico Schlömer <nico.schloe...@gmail.com>, + Bas Couwenberg <sebas...@xs4all.nl> +Section: science +Priority: optional +Build-Depends: debhelper (>= 9), + dh-autoreconf, + gfortran, + python-all, + dh-python, + libnetcdf-dev, + libhdf5-dev, + libblas-dev, + liblapack-dev, + pkg-config, + zlib1g-dev +Standards-Version: 3.9.6 +Vcs-Browser: http://anonscm.debian.org/cgit/pkg-grass/netcdf-libcf.git +Vcs-Git: git://anonscm.debian.org/pkg-grass/netcdf-libcf.git +Homepage: http://www.unidata.ucar.edu/software/libcf/ + +Package: libcf0 +Architecture: any +Section: libs +Depends: ${shlibs:Depends}, + ${misc:Depends} +Pre-Depends: ${misc:Pre-Depends} +Description: netCDF CF library for Climate and Forecast files + 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 + machine-independent format for representing scientific data. + Together, the interface, library, and format support the creation, + access, and sharing of scientific data. + . + LibCF, the NetCDF CF Library, is a run-time C shared library that uses the + NetCDF API to manage Climate and Forecasts standards compliant data files. + . + This package contains the netCDF CF shared library. + +Package: libcf-dev +Architecture: any +Section: libdevel +Depends: libcf0 (= ${binary:Version}), + ${misc:Depends} +Recommends: pkg-config +Suggests: netcdf-bin, + netcdf-doc +Description: netCDF CF library for Climate and Forecast data - headers + 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. + . + LibCF, the NetCDF CF Library, is a run-time C shared library that uses the + NetCDF API to manage Climate and Forecasts standards compliant data files. + . + This package contains headers for the netCDF CF library. + +Package: libcf-dbg +Architecture: any +Section: debug +Priority: extra +Depends: libcf0 (= ${binary:Version}), + ${misc:Depends} +Suggests: gdb +Description: netCDF CF library for Climate and Forecast data - debug symbols + 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. + . + LibCF, the NetCDF CF Library, is a run-time C shared library that uses the + NetCDF API to manage Climate and Forecasts standards compliant data files. + . + This package contains debugging symbols for the netCDF CF library. + +Package: python-cf +Architecture: all +Section: python +Depends: ${python:Depends}, + ${misc:Depends} +Description: netCDF CF library for Climate and Forecast data - Python module + 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. + . + LibCF, the NetCDF CF Library, is a run-time C shared library that uses the + NetCDF API to manage Climate and Forecasts standards compliant data files. + . + This package contains the Python bindings for the netCDF CF library. + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..a3cf109 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,245 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: NetCDF C++ +Upstream-Contact: University Corporation for Atmospheric Research/Unidata +Source: https://github.com/Unidata/netcdf-cxx4/releases + +Files: * +Copyright: 1993-2011, University Corporation for Atmospheric Research/Unidata +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 + cxx4/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/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..21d0417 --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,16 @@ +[DEFAULT] + +# The default name for the upstream branch is "upstream". +# Change it if the name is different (for instance, "master"). +upstream-branch = upstream + +# The default name for the Debian branch is "master". +# Change it if the name is different (for instance, "debian/unstable"). +debian-branch = master + +# git-import-orig uses the following names for the upstream tags. +# Change the value if you are not using git-import-orig +upstream-tag = upstream/%(version)s + +# Always use pristine-tar. +pristine-tar = True diff --git a/debian/libcf-dev.install b/debian/libcf-dev.install new file mode 100644 index 0000000..a3c8f6c --- /dev/null +++ b/debian/libcf-dev.install @@ -0,0 +1,3 @@ +usr/include/* +usr/lib/*/lib*.a +usr/lib/*/lib*.so diff --git a/debian/libcf0.examples b/debian/libcf0.examples new file mode 100644 index 0000000..e39721e --- /dev/null +++ b/debian/libcf0.examples @@ -0,0 +1 @@ +examples/* diff --git a/debian/libcf0.install b/debian/libcf0.install new file mode 100644 index 0000000..3ddde58 --- /dev/null +++ b/debian/libcf0.install @@ -0,0 +1 @@ +usr/lib/*/lib*.so.* diff --git a/debian/libcf0.symbols b/debian/libcf0.symbols new file mode 100644 index 0000000..7444666 --- /dev/null +++ b/debian/libcf0.symbols @@ -0,0 +1 @@ +libcf.so.0 libcf0 #MINVER# diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..f2450a0 --- /dev/null +++ b/debian/rules @@ -0,0 +1,27 @@ +#!/usr/bin/make -f + +#export DH_VERBOSE=1 + +UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' | sed -e 's/~.*//; s/^[0-9]://') + +%: + dh $@ --with autoreconf,python2 --parallel + +override_dh_auto_configure: + dh_auto_configure -- --with-netcdf=/usr \ + --with-lapack-libdir=/usr/lib/lapack \ + --with-blas-lib=/usr/lib/libblas/libblas.so + +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=libcf-dbg + +override_dh_makeshlibs: + dh_makeshlibs -- -c0 -v$(UPSTREAM_VERSION) + 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) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..70c2e85 --- /dev/null +++ b/debian/watch @@ -0,0 +1,6 @@ +version=3 +opts="pasv,\ +dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\ +uversionmangle=s/(\d)-((?:RC|rc|pre|dev|gamma|beta|alpha|b|a)\d+)$/$1~$2/" \ +ftp://ftp.unidata.ucar.edu/pub/libcf/ \ +libcf-([\d\.]+(?:-(?:RC|rc|pre|dev|gamma|beta|alpha|b|a)\d+)?)\.tar\.gz -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/netcdf-libcf.git _______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel