[geographiclib] 03/04: Create -doc package as these are very large

Ross Gammon ross-guest at moszumanska.debian.org
Sat Dec 13 18:56:30 UTC 2014


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

ross-guest pushed a commit to branch master
in repository geographiclib.

commit f19450e06bf2d322af32b3057ce0114cf82ac178
Author: Ross Gammon <rossgammon at mail.dk>
Date:   Sat Dec 13 19:13:16 2014 +0100

    Create -doc package as these are very large
---
 debian/control                                       | 20 +++++++++++++++++---
 ...lib-tools.doc-base => geographiclib-doc.doc-base} |  0
 debian/geographiclib-doc.install                     |  2 ++
 debian/geographiclib-tools.install                   |  2 --
 4 files changed, 19 insertions(+), 5 deletions(-)

diff --git a/debian/control b/debian/control
index 96917ca..51e4467 100644
--- a/debian/control
+++ b/debian/control
@@ -19,11 +19,11 @@ X-Python-Version: >= 2.6
 
 Package: geographiclib-tools
 Architecture: any
-Depends: libjs-mathjax,
-         ${shlibs:Depends},
+Depends: ${shlibs:Depends},
          ${misc:Depends}
 Recommends: bzip2
-Suggests: proj-bin
+Suggests: proj-bin,
+          geographiclib-doc
 Description: C++ library to solve some geodesic problems -- tools
  GeographicLib is a small set of C++ classes for converting between
  geographic, UTM, UPS, MGRS, geocentric, and local cartesian coordinates,
@@ -32,6 +32,19 @@ Description: C++ library to solve some geodesic problems -- tools
  .
  This package contains some core tools based on the GeographicLib library.
 
+Package: geographiclib-doc
+Architecture: all
+Section: doc
+Depends: libjs-mathjax,
+         ${misc:Depends}
+Description: C++ library to solve some geodesic problems -- documentation
+ GeographicLib is a small set of C++ classes for converting between
+ geographic, UTM, UPS, MGRS, geocentric, and local cartesian coordinates,
+ for geoid calculations, and for computing geodesic. It is a suitable
+ replacement for the core functionality provided by NGA Geotrans.
+ .
+ This package contains the documentation for the GeographicLib tools.
+
 Package: libgeographic14
 Architecture: any
 Section: libs
@@ -59,6 +72,7 @@ Replaces: libgeographiclib-dev
 Depends: libgeographic14 (= ${binary:Version}),
          ${shlibs:Depends},
          ${misc:Depends}
+Suggests: geographiclib-doc
 Description: C++ library to solve some geodesic problems -- development files
  GeographicLib is a small set of C++ classes for converting between
  geographic, UTM, UPS, MGRS, geocentric, and local cartesian coordinates,
diff --git a/debian/geographiclib-tools.doc-base b/debian/geographiclib-doc.doc-base
similarity index 100%
rename from debian/geographiclib-tools.doc-base
rename to debian/geographiclib-doc.doc-base
diff --git a/debian/geographiclib-doc.install b/debian/geographiclib-doc.install
new file mode 100644
index 0000000..ebea7ca
--- /dev/null
+++ b/debian/geographiclib-doc.install
@@ -0,0 +1,2 @@
+usr/share/doc/geographiclib/html
+usr/share/doc/geographiclib/scripts
diff --git a/debian/geographiclib-tools.install b/debian/geographiclib-tools.install
index 9b5ccc6..ae2d59d 100644
--- a/debian/geographiclib-tools.install
+++ b/debian/geographiclib-tools.install
@@ -1,5 +1,3 @@
-usr/share/doc/geographiclib/html
-usr/share/doc/geographiclib/scripts
 usr/share/man/man1
 usr/share/man/man8
 usr/bin/CartConvert

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/geographiclib.git



More information about the Pkg-grass-devel mailing list