[udunits] 02/02: debian/ from 2.2.17-1
Alastair McKinstry
mckinstry at moszumanska.debian.org
Mon Jun 15 09:22:16 UTC 2015
This is an automated email from the git hooks/post-receive script.
mckinstry pushed a commit to tag debian_2.2.17-1
in repository udunits.
commit 69b43e8385f83714f9b0d724096eafb710fc2fb5
Author: Alastair McKinstry <mckinstry at debian.org>
Date: Mon May 4 15:05:56 2015 +0100
debian/ from 2.2.17-1
---
debian/changelog | 133 +++++++++++++++++++++++++++++++++
debian/compat | 1 +
debian/control | 45 ++++++++++++
debian/copyright | 63 ++++++++++++++++
debian/libudunits2-0.dirs | 3 +
debian/libudunits2-0.docs | 0
debian/libudunits2-0.install | 7 ++
debian/libudunits2-0.shlibs | 1 +
debian/libudunits2-0.symbols | 132 +++++++++++++++++++++++++++++++++
debian/libudunits2-dev.docs | 4 +
debian/libudunits2-dev.info | 1 +
debian/libudunits2-dev.install | 1 +
debian/patches/config_fixes.patch | 32 ++++++++
debian/patches/pkg-config.patch | 43 +++++++++++
debian/patches/series | 2 +
debian/rules | 35 +++++++++
debian/source/format | 1 +
debian/source/options | 1 +
debian/udunits-bin.dirs | 1 +
debian/udunits-bin.docs | 4 +
debian/udunits-bin.info | 1 +
debian/udunits-bin.install | 1 +
debian/udunits2.ver | 150 ++++++++++++++++++++++++++++++++++++++
debian/watch | 7 ++
24 files changed, 669 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..314c1e1
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,133 @@
+udunits (2.2.17-1) UNRELEASED; urgency=medium
+
+ * New upstream release.
+
+ -- Alastair McKinstry <mckinstry at debian.org> Wed, 17 Sep 2014 11:59:23 +0100
+
+udunits (2.2.14-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Add symbols file for libudunits2-0
+ * Add symbol versioning to libudunits2-0.
+
+ -- Alastair McKinstry <mckinstry at debian.org> Thu, 19 Jun 2014 21:06:48 +0100
+
+udunits (2.2.11-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Alastair McKinstry <mckinstry at debian.org> Fri, 16 May 2014 18:44:14 +0100
+
+udunits (2.2.4-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Now use 'xz' compression.
+
+ -- Alastair McKinstry <mckinstry at debian.org> Tue, 04 Mar 2014 13:10:40 +0000
+
+udunits (2.2.0-1) unstable; urgency=medium
+
+ * New upstream release. Refresth pkg-config patch.
+ * Standards-Version: 3.9.5
+ * config_fixes.patch needed for autoreconf to work
+
+ -- Alastair McKinstry <mckinstry at debian.org> Tue, 31 Dec 2013 00:20:27 +0000
+
+udunits (2.1.23-4) unstable; urgency=low
+
+ * Standards-Version: 3.9.4
+ * debhelper version 9, Add dependency on 9 now.
+ * Pass LDFLAGS properly, to enable hardening.
+ * Remove M-A: same from -dev package. Closes: #706168.
+
+ -- Alastair McKinstry <mckinstry at debian.org> Fri, 24 May 2013 09:10:22 +0100
+
+udunits (2.1.23-3) unstable; urgency=low
+
+ * ld-as-needed patch not robust. Use new dh_autoreconf --as-needed
+ method. Closes: #652223*
+
+ -- Alastair McKinstry <mckinstry at debian.org> Fri, 16 Dec 2011 12:03:35 +0000
+
+udunits (2.1.23-2) unstable; urgency=low
+
+ * Move to debhelper >> 7, from cdbs.
+ * Add LDFLAGS=" -Wl,--as-needed" to remove unnecessary dependencies.
+ Include patch to fix libtool reordering.
+ * Multiarch support.
+ * Docs: Add BACKLOG to docs; ship less docs in library, but all docs
+ in -dev and -bin packages.
+
+ -- Alastair McKinstry <mckinstry at debian.org> Tue, 13 Sep 2011 10:04:53 +0100
+
+udunits (2.1.23-1) unstable; urgency=low
+
+ * New upstream release. Library version number 0.0.0 -> 0.1.0
+ * Move Standards-Version: 3.9.2
+
+ -- Alastair McKinstry <mckinstry at debian.org> Sat, 18 Jun 2011 04:56:19 +0100
+
+udunits (2.1.15-4) unstable; urgency=low
+
+ * Add patch from Stefan Tibus to fix typo in definition. Closes: #585848.
+
+ -- Alastair McKinstry <mckinstry at debian.org> Sat, 19 Jun 2010 19:53:50 +0100
+
+udunits (2.1.15-3) unstable; urgency=low
+
+ * Fix typo in static libs definition of udunits.pc.
+
+ -- Alastair McKinstry <mckinstry at debian.org> Wed, 09 Jun 2010 18:41:47 +0100
+
+udunits (2.1.15-2) unstable; urgency=low
+
+ * Add udunits.pc pkg-config file. Used in cmor package among others.
+
+ -- Alastair McKinstry <mckinstry at debian.org> Sun, 06 Jun 2010 21:09:26 +0100
+
+udunits (2.1.15-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Alastair McKinstry <mckinstry at debian.org> Thu, 03 Jun 2010 20:18:44 +0100
+
+udunits (2.1.14-1) unstable; urgency=low
+
+ * New upstream.
+ * Move to Standards-Version: 3.8.4.
+ * Now in Source format 3.0
+
+ -- Alastair McKinstry <mckinstry at debian.org> Thu, 22 Apr 2010 10:52:04 +0100
+
+udunits (2.1.8-3) unstable; urgency=low
+
+ * Add autoreconf, to ensure build works.
+ * Add missing -dev documentation (pdf, info files).
+
+ -- Alastair McKinstry <mckinstry at debian.org> Sun, 08 Nov 2009 17:34:17 +0000
+
+udunits (2.1.8-2) unstable; urgency=low
+
+ * FTBFS: automake,texlive needed in Build-Depends. Closes: #535653, #545259.
+
+ -- Alastair McKinstry <mckinstry at debian.org> Fri, 11 Sep 2009 21:49:03 +0100
+
+udunits (2.1.8-1) unstable; urgency=low
+
+ * New upstream release.
+ * Add autoconf to Build-Depends:
+ * Add dpkg (>= 1.15.4) | install-info as required by policy. (Thanks Lintian).
+
+ -- Alastair McKinstry <mckinstry at debian.org> Tue, 08 Sep 2009 14:15:15 +0100
+
+udunits (2.1.7-1) unstable; urgency=low
+
+ * Initial release. (Closes: #532430)
+ * Changes since REJECTED:
+ - Added necessary download location to debian/copyright
+ - Moved to Standards-Release 3.8.3.
+ - Add DEB_AUTO_UPDATE_LIBTOOL to debian/rules to fix libtool version skew.
+ - Add expat copyright tdebian/copyright.
+ - Add autoreconf, to cope with libtool changes in build environmnent.
+
+ -- Alastair McKinstry <mckinstry at debian.org> Wed, 02 Sep 2009 19:57:57 +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..7a2dddd
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,45 @@
+Source: udunits
+Section: utils
+Priority: optional
+Maintainer: Alastair McKinstry <mckinstry at debian.org>
+Build-Depends: debhelper (>= 9), gfortran, libexpat-dev, libcunit1, libcunit1-dev, texinfo, libtool, autotools-dev, autoconf, automake, texlive, , dh-autoreconf (>= 4~)
+Standards-Version: 3.9.5
+Homepage: http://www.unidata.ucar.edu/software/udunits/
+
+Package: libudunits2-0
+Section: libs
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}, dpkg (>= 1.15.4) | install-info
+Description: Library for handling of units of physical quantities
+ The UDUNITS package supports units of physical quantities (e.g., meters,
+ seconds). Specifically, it supports conversion between string and binary
+ representations of units, arithmetic manipulation of units, and conversion of
+ numeric values between compatible units. The package is written in the
+ C programming language.
+
+Package: libudunits2-dev
+Section: libdevel
+Architecture: any
+Depends: libudunits2-0 ( = ${binary:Version}), ${misc:Depends}
+Recommends: pkg-config
+Description: Development files for the libunits physical units package
+ The UDUNITS package supports units of physical quantities (e.g., meters,
+ seconds). Specifically, it supports conversion between string and binary
+ representations of units, arithmetic manipulation of units, and conversion of
+ numeric values between compatible units. The package is written in the
+ C programming language.
+ .
+ This package provides the include files and static libraries for development.
+
+Package: udunits-bin
+Section: utils
+Architecture: any
+Multi-Arch: foreign
+Depends: ${misc:Depends}, ${shlibs:Depends}, dpkg (>= 1.15.4) | install-info
+Description: Utility for handling units of physical quantities
+ udunits is a utility for handling units of physical quantities. It supports
+ conversion between string and binary representations of units,
+ arithmetic manipulation of units, and conversion of numeric values between
+ compatible units. The package is written in the C programming language.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..65032ff
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,63 @@
+This package was debianised by Alastair McKinstry <mckinstry at debian.org>
+on Monday, 8 June 2009.
+
+Copyright 2008, 2009 University Corporation for Atmospheric Research
+
+Downloaded from: http://www.unidata.ucar.edu/software/udunits/
+
+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.
+
+Expat
+=====
+
+udunits uses an external copy of expat, but contains the expat
+source code, which has the following copyright notice:
+
+Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd
+ and Clark Cooper
+Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006 Expat maintainers.
+
+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.
+
diff --git a/debian/libudunits2-0.dirs b/debian/libudunits2-0.dirs
new file mode 100644
index 0000000..3609bb4
--- /dev/null
+++ b/debian/libudunits2-0.dirs
@@ -0,0 +1,3 @@
+usr/share/xml
+usr/share/info
+usr/lib
diff --git a/debian/libudunits2-0.docs b/debian/libudunits2-0.docs
new file mode 100644
index 0000000..e69de29
diff --git a/debian/libudunits2-0.install b/debian/libudunits2-0.install
new file mode 100644
index 0000000..f37bcfb
--- /dev/null
+++ b/debian/libudunits2-0.install
@@ -0,0 +1,7 @@
+usr/lib/*/libudunits2.so.0.1.0
+usr/share/xml/udunits/udunits2.xml
+usr/share/xml/udunits/udunits2-accepted.xml
+usr/share/xml/udunits/udunits2-base.xml
+usr/share/xml/udunits/udunits2-common.xml
+usr/share/xml/udunits/udunits2-derived.xml
+usr/share/xml/udunits/udunits2-prefixes.xml
diff --git a/debian/libudunits2-0.shlibs b/debian/libudunits2-0.shlibs
new file mode 100644
index 0000000..aac127a
--- /dev/null
+++ b/debian/libudunits2-0.shlibs
@@ -0,0 +1 @@
+libudunits2 0 libudunits2-0
diff --git a/debian/libudunits2-0.symbols b/debian/libudunits2-0.symbols
new file mode 100644
index 0000000..18177ba
--- /dev/null
+++ b/debian/libudunits2-0.symbols
@@ -0,0 +1,132 @@
+libudunits2.so.0 libudunits2-0 #MINVER#
+ UDUNITS_2.2.14 at UDUNITS_2.2.14 2.2.14
+ cv_combine at UDUNITS_2.2.14 2.2.14
+ cv_convert_double at UDUNITS_2.2.14 2.2.14
+ cv_convert_doubles at UDUNITS_2.2.14 2.2.14
+ cv_convert_float at UDUNITS_2.2.14 2.2.14
+ cv_convert_floats at UDUNITS_2.2.14 2.2.14
+ cv_free at UDUNITS_2.2.14 2.2.14
+ cv_get_expression at UDUNITS_2.2.14 2.2.14
+ cv_get_galilean at UDUNITS_2.2.14 2.2.14
+ cv_get_inverse at UDUNITS_2.2.14 2.2.14
+ cv_get_log at UDUNITS_2.2.14 2.2.14
+ cv_get_offset at UDUNITS_2.2.14 2.2.14
+ cv_get_pow at UDUNITS_2.2.14 2.2.14
+ cv_get_scale at UDUNITS_2.2.14 2.2.14
+ cv_get_trivial at UDUNITS_2.2.14 2.2.14
+ utAdd at UDUNITS_2.2.14 2.2.14
+ utCalendar at UDUNITS_2.2.14 2.2.14
+ utClear at UDUNITS_2.2.14 2.2.14
+ utConvert at UDUNITS_2.2.14 2.2.14
+ utCopy at UDUNITS_2.2.14 2.2.14
+ utDivide at UDUNITS_2.2.14 2.2.14
+ utFind at UDUNITS_2.2.14 2.2.14
+ utFree at UDUNITS_2.2.14 2.2.14
+ utGetPrefixByName at UDUNITS_2.2.14 2.2.14
+ utGetPrefixBySymbol at UDUNITS_2.2.14 2.2.14
+ utHasOrigin at UDUNITS_2.2.14 2.2.14
+ utIni at UDUNITS_2.2.14 2.2.14
+ utInit at UDUNITS_2.2.14 2.2.14
+ utInvCalendar at UDUNITS_2.2.14 2.2.14
+ utInvert at UDUNITS_2.2.14 2.2.14
+ utIsInit at UDUNITS_2.2.14 2.2.14
+ utIsTime at UDUNITS_2.2.14 2.2.14
+ utMultiply at UDUNITS_2.2.14 2.2.14
+ utPrint at UDUNITS_2.2.14 2.2.14
+ utRaise at UDUNITS_2.2.14 2.2.14
+ utScale at UDUNITS_2.2.14 2.2.14
+ utScan at UDUNITS_2.2.14 2.2.14
+ utShift at UDUNITS_2.2.14 2.2.14
+ utTerm at UDUNITS_2.2.14 2.2.14
+ ut_accept_visitor at UDUNITS_2.2.14 2.2.14
+ ut_add_name_prefix at UDUNITS_2.2.14 2.2.14
+ ut_add_symbol_prefix at UDUNITS_2.2.14 2.2.14
+ ut_are_convertible at UDUNITS_2.2.14 2.2.14
+ ut_clone at UDUNITS_2.2.14 2.2.14
+ ut_compare at UDUNITS_2.2.14 2.2.14
+ ut_create_buffer at UDUNITS_2.2.14 2.2.14
+ ut_decode_time at UDUNITS_2.2.14 2.2.14
+ ut_delete_buffer at UDUNITS_2.2.14 2.2.14
+ ut_divide at UDUNITS_2.2.14 2.2.14
+ ut_encode_clock at UDUNITS_2.2.14 2.2.14
+ ut_encode_date at UDUNITS_2.2.14 2.2.14
+ ut_encode_time at UDUNITS_2.2.14 2.2.14
+ ut_flex_debug at UDUNITS_2.2.14 2.2.14
+ ut_flush_buffer at UDUNITS_2.2.14 2.2.14
+ ut_form_plural at UDUNITS_2.2.14 2.2.14
+ ut_format at UDUNITS_2.2.14 2.2.14
+ ut_free at UDUNITS_2.2.14 2.2.14
+ ut_free_system at UDUNITS_2.2.14 2.2.14
+ ut_get_converter at UDUNITS_2.2.14 2.2.14
+ ut_get_dimensionless_unit_one at UDUNITS_2.2.14 2.2.14
+ ut_get_name at UDUNITS_2.2.14 2.2.14
+ ut_get_path_xml at UDUNITS_2.2.14 2.2.14
+ ut_get_status at UDUNITS_2.2.14 2.2.14
+ ut_get_symbol at UDUNITS_2.2.14 2.2.14
+ ut_get_system at UDUNITS_2.2.14 2.2.14
+ ut_get_unit_by_name at UDUNITS_2.2.14 2.2.14
+ ut_get_unit_by_symbol at UDUNITS_2.2.14 2.2.14
+ ut_handle_error_message at UDUNITS_2.2.14 2.2.14
+ ut_ignore at UDUNITS_2.2.14 2.2.14
+ ut_invert at UDUNITS_2.2.14 2.2.14
+ ut_is_dimensionless at UDUNITS_2.2.14 2.2.14
+ ut_log at UDUNITS_2.2.14 2.2.14
+ ut_map_name_to_unit at UDUNITS_2.2.14 2.2.14
+ ut_map_symbol_to_unit at UDUNITS_2.2.14 2.2.14
+ ut_map_unit_to_name at UDUNITS_2.2.14 2.2.14
+ ut_map_unit_to_symbol at UDUNITS_2.2.14 2.2.14
+ ut_multiply at UDUNITS_2.2.14 2.2.14
+ ut_new_base_unit at UDUNITS_2.2.14 2.2.14
+ ut_new_dimensionless_unit at UDUNITS_2.2.14 2.2.14
+ ut_new_system at UDUNITS_2.2.14 2.2.14
+ ut_offset at UDUNITS_2.2.14 2.2.14
+ ut_offset_by_time at UDUNITS_2.2.14 2.2.14
+ ut_parse at UDUNITS_2.2.14 2.2.14
+ ut_raise at UDUNITS_2.2.14 2.2.14
+ ut_read_xml at UDUNITS_2.2.14 2.2.14
+ ut_root at UDUNITS_2.2.14 2.2.14
+ ut_same_system at UDUNITS_2.2.14 2.2.14
+ ut_scale at UDUNITS_2.2.14 2.2.14
+ ut_scan_buffer at UDUNITS_2.2.14 2.2.14
+ ut_scan_bytes at UDUNITS_2.2.14 2.2.14
+ ut_scan_string at UDUNITS_2.2.14 2.2.14
+ ut_set_error_message_handler at UDUNITS_2.2.14 2.2.14
+ ut_set_second at UDUNITS_2.2.14 2.2.14
+ ut_set_status at UDUNITS_2.2.14 2.2.14
+ ut_switch_to_buffer at UDUNITS_2.2.14 2.2.14
+ ut_trim at UDUNITS_2.2.14 2.2.14
+ ut_unmap_name_to_unit at UDUNITS_2.2.14 2.2.14
+ ut_unmap_symbol_to_unit at UDUNITS_2.2.14 2.2.14
+ ut_unmap_unit_to_name at UDUNITS_2.2.14 2.2.14
+ ut_unmap_unit_to_symbol at UDUNITS_2.2.14 2.2.14
+ ut_write_to_stderr at UDUNITS_2.2.14 2.2.14
+ utalloc at UDUNITS_2.2.14 2.2.14
+ utchar at UDUNITS_2.2.14 2.2.14
+ utdebug at UDUNITS_2.2.14 2.2.14
+ uterror at UDUNITS_2.2.14 2.2.14
+ utfree at UDUNITS_2.2.14 2.2.14
+ utget_debug at UDUNITS_2.2.14 2.2.14
+ utget_in at UDUNITS_2.2.14 2.2.14
+ utget_leng at UDUNITS_2.2.14 2.2.14
+ utget_lineno at UDUNITS_2.2.14 2.2.14
+ utget_out at UDUNITS_2.2.14 2.2.14
+ utget_text at UDUNITS_2.2.14 2.2.14
+ utimFreeSystem at UDUNITS_2.2.14 2.2.14
+ utin at UDUNITS_2.2.14 2.2.14
+ utleng at UDUNITS_2.2.14 2.2.14
+ utlex at UDUNITS_2.2.14 2.2.14
+ utlex_destroy at UDUNITS_2.2.14 2.2.14
+ utlineno at UDUNITS_2.2.14 2.2.14
+ utlval at UDUNITS_2.2.14 2.2.14
+ utnerrs at UDUNITS_2.2.14 2.2.14
+ utout at UDUNITS_2.2.14 2.2.14
+ utparse at UDUNITS_2.2.14 2.2.14
+ utpop_buffer_state at UDUNITS_2.2.14 2.2.14
+ utpush_buffer_state at UDUNITS_2.2.14 2.2.14
+ utrealloc at UDUNITS_2.2.14 2.2.14
+ utrestart at UDUNITS_2.2.14 2.2.14
+ utset_debug at UDUNITS_2.2.14 2.2.14
+ utset_in at UDUNITS_2.2.14 2.2.14
+ utset_lineno at UDUNITS_2.2.14 2.2.14
+ utset_out at UDUNITS_2.2.14 2.2.14
+ uttext at UDUNITS_2.2.14 2.2.14
diff --git a/debian/libudunits2-dev.docs b/debian/libudunits2-dev.docs
new file mode 100644
index 0000000..8f5354f
--- /dev/null
+++ b/debian/libudunits2-dev.docs
@@ -0,0 +1,4 @@
+lib/*.pdf
+lib/*.html
+ANNOUNCEMENT
+BACKLOG
diff --git a/debian/libudunits2-dev.info b/debian/libudunits2-dev.info
new file mode 100644
index 0000000..d5fa2ab
--- /dev/null
+++ b/debian/libudunits2-dev.info
@@ -0,0 +1 @@
+lib/*.info
diff --git a/debian/libudunits2-dev.install b/debian/libudunits2-dev.install
new file mode 100644
index 0000000..b39583a
--- /dev/null
+++ b/debian/libudunits2-dev.install
@@ -0,0 +1 @@
+usr/include/* usr/include
diff --git a/debian/patches/config_fixes.patch b/debian/patches/config_fixes.patch
new file mode 100644
index 0000000..1a0423b
--- /dev/null
+++ b/debian/patches/config_fixes.patch
@@ -0,0 +1,32 @@
+Author: Alastair McKinstry <mckinstry at debian.org>
+Description: Fixes needed to make autoreconf work.
+Last-Updated: 2014-03-03
+Forwarded: no
+
+Index: udunits-2.2.4/configure.ac
+===================================================================
+--- udunits-2.2.4.orig/configure.ac 2014-03-04 13:16:08.478805790 +0000
++++ udunits-2.2.4/configure.ac 2014-03-04 13:17:54.665718262 +0000
+@@ -127,8 +127,6 @@
+
+ AC_CONFIG_FILES([Makefile
+ udunits.pc
+- lib/Makefile
+- lib/xmlFailures/Makefile
+- lib/xmlSuccesses/Makefile
++ lib/Makefile
+ prog/Makefile])
+ AC_OUTPUT
+Index: udunits-2.2.4/lib/Makefile.am
+===================================================================
+--- udunits-2.2.4.orig/lib/Makefile.am 2014-03-04 13:16:08.478805790 +0000
++++ udunits-2.2.4/lib/Makefile.am 2014-03-04 13:16:08.470805997 +0000
+@@ -5,7 +5,7 @@
+ # redistribution conditions.
+ #
+ ## Process this file with automake to produce Makefile.in
+-SUBDIRS = xmlFailures xmlSuccesses
++SUBDIRS =
+ lib_LTLIBRARIES = libudunits2.la
+ libudunits2_la_SOURCES = unitcore.c converter.c formatter.c \
+ idToUnitMap.c idToUnitMap.h \
diff --git a/debian/patches/pkg-config.patch b/debian/patches/pkg-config.patch
new file mode 100644
index 0000000..c62b35f
--- /dev/null
+++ b/debian/patches/pkg-config.patch
@@ -0,0 +1,43 @@
+Author: Alastair McKinstry <mckinstry at debian.org>
+Description: Add pkgconfig file to udunits2
+Last-Updated: 2014-03-03
+Forwarded: no
+
+Index: udunits-2.2.4/udunits.pc.in
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ udunits-2.2.4/udunits.pc.in 2014-03-04 13:15:27.329647342 +0000
+@@ -0,0 +1,10 @@
++prefix=@prefix@
++exec_prefix=${prefix}
++libdir=@libdir@
++
++Name: udunits
++Description: Library for handling of units of physical quantities
++Version: @PACKAGE_VERSION@
++Libs: -L${libdir} -ludunits2
++Libs.private: -L${libdir} -ludunits2 -lexpat
++CFlags: -I${prefix}/include
+Index: udunits-2.2.4/configure.ac
+===================================================================
+--- udunits-2.2.4.orig/configure.ac 2014-03-04 13:15:27.333647684 +0000
++++ udunits-2.2.4/configure.ac 2014-03-04 13:15:27.329647342 +0000
+@@ -126,6 +126,7 @@
+ AC_PROG_LIBTOOL
+
+ AC_CONFIG_FILES([Makefile
++ udunits.pc
+ lib/Makefile
+ lib/xmlFailures/Makefile
+ lib/xmlSuccesses/Makefile
+Index: udunits-2.2.4/Makefile.am
+===================================================================
+--- udunits-2.2.4.orig/Makefile.am 2014-03-04 13:15:27.333647684 +0000
++++ udunits-2.2.4/Makefile.am 2014-03-04 13:15:58.090514714 +0000
+@@ -67,3 +67,6 @@
+
+ $(srcdir)/version.texi: $(srcdir)/stamp-vti
+ @cp $(srcdir)/stamp-vti $@
++
++pkgconfigdir = $(libdir)/pkgconfig
++pkgconfig_DATA = @PACKAGE at .pc
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..6428fe7
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+pkg-config.patch
+config_fixes.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..fef6770
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,35 @@
+#!/usr/bin/make -f
+
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+LIBDIR:=debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)
+PKGLIBDIR:=debian/libudunits2-0/usr/lib/$(DEB_HOST_MULTIARCH)
+DEVLIBDIR:=debian/libudunits2-dev/usr/lib/$(DEB_HOST_MULTIARCH)
+VERFILE:=$(shell pwd)/debian/udunits2.ver
+
+# magic debhelper rule
+%:
+ dh $@ --with autoreconf
+
+override_dh_autoreconf:
+ dh_autoreconf --as-needed
+
+override_dh_auto_configure:
+ LDFLAGS=" -Wl,--as-needed -Wl,--version-script,${VERFILE} $(LDFLAGS)" \
+ dh_auto_configure -- --datarootdir=/usr/share/xml
+
+override_dh_auto_install:
+ dh_auto_install
+ dh_installchangelogs CHANGE_LOG
+ $(MAKE) pdf html info
+ cp udunits2.info debian/libudunits2-0/usr/share/info
+ cp prog/*info debian/udunits-bin/usr/share/info
+ mkdir -p $(DEVLIBDIR)/pkgconfig
+ cp $(LIBDIR)/*.a $(DEVLIBDIR)
+ cp $(LIBDIR)/pkgconfig/* $(DEVLIBDIR)/pkgconfig
+ # hacks because dh_links doesn't do multiarch yet
+ dh_link -p libudunits2-dev /usr/lib/$(DEB_HOST_MULTIARCH)/libudunits2.so.0.1.0 /usr/lib/$(DEB_HOST_MULTIARCH)/libudunits2.so
+ dh_link -p libudunits2-0 /usr/lib/$(DEB_HOST_MULTIARCH)/libudunits2.so.0.1.0 /usr/lib/$(DEB_HOST_MULTIARCH)/libudunits2.so.0
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/source/options b/debian/source/options
new file mode 100644
index 0000000..b7bc1f2
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+compression = "xz"
diff --git a/debian/udunits-bin.dirs b/debian/udunits-bin.dirs
new file mode 100644
index 0000000..d2d3f1b
--- /dev/null
+++ b/debian/udunits-bin.dirs
@@ -0,0 +1 @@
+usr/share/info
diff --git a/debian/udunits-bin.docs b/debian/udunits-bin.docs
new file mode 100644
index 0000000..9e48aa7
--- /dev/null
+++ b/debian/udunits-bin.docs
@@ -0,0 +1,4 @@
+prog/*.pdf
+prog/*.html
+ANNOUNCEMENT
+BACKLOG
diff --git a/debian/udunits-bin.info b/debian/udunits-bin.info
new file mode 100644
index 0000000..de24cfd
--- /dev/null
+++ b/debian/udunits-bin.info
@@ -0,0 +1 @@
+prog/*.info
diff --git a/debian/udunits-bin.install b/debian/udunits-bin.install
new file mode 100644
index 0000000..7b8550c
--- /dev/null
+++ b/debian/udunits-bin.install
@@ -0,0 +1 @@
+usr/bin/udunits2
diff --git a/debian/udunits2.ver b/debian/udunits2.ver
new file mode 100644
index 0000000..84f2576
--- /dev/null
+++ b/debian/udunits2.ver
@@ -0,0 +1,150 @@
+/* if something doesn't begin with ut*, cv* assume it's not part of the
+ * official interface. See what breaks and fix it.
+ * -- amck, 2014-06-20
+ */
+
+UDUNITS_2.2.14 {
+ global:
+ utAdd;
+ utCalendar;
+ utClear;
+ utConvert;
+ utCopy;
+ utDivide;
+ utFind;
+ utFree;
+ utGetPrefixByName;
+ utGetPrefixBySymbol;
+ utHasOrigin;
+ utIni;
+ utInit;
+ utInvCalendar;
+ utInvert;
+ utIsInit;
+ utIsTime;
+ utMultiply;
+ utPrint;
+ utRaise;
+ utScale;
+ utScan;
+ utShift;
+ utTerm;
+ ut_accept_visitor;
+ ut_add_name_prefix;
+ ut_add_symbol_prefix;
+ ut_are_convertible;
+ ut_clone;
+ ut_compare;
+ ut_create_buffer;
+ ut_decode_time;
+ ut_delete_buffer;
+ ut_divide;
+ ut_encode_clock;
+ ut_encode_date;
+ ut_encode_time;
+ ut_flex_debug;
+ ut_flush_buffer;
+ ut_form_plural;
+ ut_format;
+ ut_free;
+ ut_free_system;
+ ut_get_converter;
+ ut_get_dimensionless_unit_one;
+ ut_get_name;
+ ut_get_path_xml;
+ ut_get_status;
+ ut_get_symbol;
+ ut_get_system;
+ ut_get_unit_by_name;
+ ut_get_unit_by_symbol;
+ ut_handle_error_message;
+ ut_ignore;
+ ut_invert;
+ ut_is_dimensionless;
+ ut_log;
+ ut_map_name_to_unit;
+ ut_map_symbol_to_unit;
+ ut_map_unit_to_name;
+ ut_map_unit_to_symbol;
+ ut_multiply;
+ ut_new_base_unit;
+ ut_new_dimensionless_unit;
+ ut_new_system;
+ ut_offset;
+ ut_offset_by_time;
+ ut_parse;
+ ut_raise;
+ ut_read_xml;
+ ut_root;
+ ut_same_system;
+ ut_scale;
+ ut_scan_buffer;
+ ut_scan_bytes;
+ ut_scan_string;
+ ut_set_error_message_handler;
+ ut_set_second;
+ ut_set_status;
+ ut_switch_to_buffer;
+ ut_trim;
+ ut_unmap_name_to_unit;
+ ut_unmap_symbol_to_unit;
+ ut_unmap_unit_to_name;
+ ut_unmap_unit_to_symbol;
+ ut_write_to_stderr;
+ utalloc;
+ utchar;
+ utdebug;
+ uterror;
+ utfree;
+ utget_debug;
+ utget_in;
+ utget_leng;
+ utget_lineno;
+ utget_out;
+ utget_text;
+ utimFreeSystem;
+ utin;
+ utleng;
+ utlex;
+ utlex_destroy;
+ utlineno;
+ utlval;
+ utnerrs;
+ utout;
+ utparse;
+ utpop_buffer_state;
+ utpush_buffer_state;
+ utrealloc;
+ utrestart;
+ utset_debug;
+ utset_in;
+ utset_lineno;
+ utset_out;
+ uttext;
+ cv_combine;
+ cv_convert_double;
+ cv_convert_doubles;
+ cv_convert_float;
+ cv_convert_floats;
+ cv_free;
+ cv_get_expression;
+ cv_get_galilean;
+ cv_get_inverse;
+ cv_get_log;
+ cv_get_offset;
+ cv_get_pow;
+ cv_get_scale;
+ cv_get_trivial;
+ local:
+ coreFreeSystem;
+ gregorianDateToJulianDay;
+ itumFreeSystem;
+ julianDayToGregorianDate;
+ smFind;
+ smFree;
+ smNew;
+ smRemove;
+ smSearch;
+ uaiFree;
+ uaiNew;
+};
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..3e40312
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,7 @@
+# format version number, currently 3; this line is compulsory!
+version=3
+
+# This the format for an FTP site:
+# Full-site-with-pattern [Version [Action]]
+ftp://ftp.unidata.ucar.edu/pub/udunits/udunits-(.*)\.tar\.Z debian uupdate
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/udunits.git
More information about the debian-science-commits
mailing list