[SCM] givaro: library for arithmetic and algebraic computations branch, master, updated. debian/3.2.13-1.1-18-g28d0d1f

Lifeng Sun lifongsun at gmail.com
Fri Aug 12 08:57:49 UTC 2011


The following commit has been merged in the master branch:
commit 28d0d1fa0c3d61450dab3526339e9d6ec0d6f1ec
Author: Lifeng Sun <lifongsun at gmail.com>
Date:   Fri Aug 12 10:26:36 2011 +0800

    Add doc packages: givaro-dev-doc, givaro-user-doc.

diff --git a/debian/changelog b/debian/changelog
index fa1adba..d781203 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,13 +2,14 @@ givaro (3.4.2-1) unstable; urgency=low
 
   * New maintainer.
   * New upstream.
+  * New packages: givaro-user-doc, givaro-dev-doc.
   * Repackage using debhelper instead of cdbs.
   * Support multiarch.
   * Set source format to 3.0 (quilt).
   * Remove Makefiles in examples. (Closes: #528275)
   * Get rid of *.la. (Closes: #633164)
 
- -- Lifeng Sun <lifongsun at gmail.com>  Tue, 09 Aug 2011 12:40:14 +0800
+ -- Lifeng Sun <lifongsun at gmail.com>  Fri, 12 Aug 2011 14:32:40 +0800
 
 givaro (3.2.13-1.1) unstable; urgency=low
 
diff --git a/debian/control b/debian/control
index 670fa3f..ed72218 100644
--- a/debian/control
+++ b/debian/control
@@ -4,13 +4,14 @@ Priority: optional
 Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
 Uploaders: Lifeng Sun <lifongsun at gmail.com>
 Homepage: http://ljk.imag.fr/CASYS/LOGICIELS/givaro/
-Build-Depends: autotools-dev, debhelper (>= 7.0.50~), libtool, automake1.10, libgmp-dev
+Build-Depends: autotools-dev, debhelper (>= 7.0.50~), libtool, automake1.10, libgmp-dev, doxygen-latex
 Standards-Version: 3.8.0
 
 Package: libgivaro-dev
 Section: libdevel
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}, libgivaro0 (= ${binary:Version})
+Suggests: givaro-dev-doc, givaro-user-doc
 Description: arithmetic and algebraic computations - development files
  Givaro is a C++ library for arithmetic and algebraic computations.
  Its main features are implementations of the basic arithmetic of many
@@ -52,3 +53,48 @@ Description: arithmetic and algebraic computations
  which permits parallel programming.
  .
  This package contains runtime files for Givaro.
+
+Package: givaro-user-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Description: User Documentation for Givaro
+ Givaro is a C++ library for arithmetic and algebraic computations.
+ Its main features are implementations of the basic arithmetic of many
+ mathematical entities: Primes fields, Extensions Fields, Finite
+ Fields, Finite Rings, Polynomials, Algebraic numbers, and Arbitrary
+ precision integers and rationals (C++ wrappers over gmp).
+ .
+ Givaro also provides data-structures and templated classes for the
+ manipulation of basic algebraic objects, such as vectors, matrices
+ (dense, sparse, structured), univariate polynomials (and therefore
+ recursive multivariate).
+ .
+ It contains different program modules and is fully compatible with
+ the LinBox linear algebra library and the Athapascan environment,
+ which permits parallel programming.
+ .
+ This package contains User Documentation for Givaro.
+
+Package: givaro-dev-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Description: Developer Documentation for Givaro
+ Givaro is a C++ library for arithmetic and algebraic computations.
+ Its main features are implementations of the basic arithmetic of many
+ mathematical entities: Primes fields, Extensions Fields, Finite
+ Fields, Finite Rings, Polynomials, Algebraic numbers, and Arbitrary
+ precision integers and rationals (C++ wrappers over gmp).
+ .
+ Givaro also provides data-structures and templated classes for the
+ manipulation of basic algebraic objects, such as vectors, matrices
+ (dense, sparse, structured), univariate polynomials (and therefore
+ recursive multivariate).
+ .
+ It contains different program modules and is fully compatible with
+ the LinBox linear algebra library and the Athapascan environment,
+ which permits parallel programming.
+ .
+ This package contains Developer Documentation for Givaro.
+
diff --git a/debian/givaro-dev-doc.doc-base b/debian/givaro-dev-doc.doc-base
new file mode 100644
index 0000000..c966231
--- /dev/null
+++ b/debian/givaro-dev-doc.doc-base
@@ -0,0 +1,9 @@
+Document: givaro-dev-doc
+Title: Documentation of Givaro for Developers
+Author: Thierry Gautier, Jean-Louis Roch, Gilles Villard, Jean-Guillaume Dumas, Pascal Giorgi, Clement Pernet
+Abstract: Developer's Reference of Givaro
+Section: Science/Mathematics
+
+Format: HTML
+Index: /usr/share/doc/givaro-dev-doc/html/index.html
+Files: /usr/share/doc/givaro-dev-doc/html/*.html
diff --git a/debian/givaro-dev-doc.install b/debian/givaro-dev-doc.install
new file mode 100644
index 0000000..8cf302d
--- /dev/null
+++ b/debian/givaro-dev-doc.install
@@ -0,0 +1 @@
+docs/givaro-dev-html/* usr/share/doc/givaro-dev-doc/html
diff --git a/debian/givaro-user-doc.doc-base b/debian/givaro-user-doc.doc-base
new file mode 100644
index 0000000..0d1eccf
--- /dev/null
+++ b/debian/givaro-user-doc.doc-base
@@ -0,0 +1,9 @@
+Document: givaro-user-doc
+Title: Documentation of Givaro for Users
+Author: Thierry Gautier, Jean-Louis Roch, Gilles Villard, Jean-Guillaume Dumas, Pascal Giorgi, Clement Pernet
+Abstract: User's Guide of Givaro
+Section: Science/Mathematics
+
+Format: HTML
+Index: /usr/share/doc/givaro-user-doc/html/index.html
+Files: /usr/share/doc/givaro-user-doc/html/*.html
diff --git a/debian/givaro-user-doc.install b/debian/givaro-user-doc.install
new file mode 100644
index 0000000..5d605b3
--- /dev/null
+++ b/debian/givaro-user-doc.install
@@ -0,0 +1 @@
+docs/givaro-html/* usr/share/doc/givaro-user-doc/html
diff --git a/debian/rules b/debian/rules
index c49b448..eba86b1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,5 +30,26 @@ override_dh_auto_configure:
 override_dh_installexamples:
 	dh_installexamples -XMakefile -XMakefile.am -XMakefile.in
 
-%:
+build-arch:
+	dh build
+
+build-indep:
+	dh_testdir
+	mkdir -p docs/givaro-dev-html
+	$(MAKE) -C docs docs_dev
+	rm -f docs/givaro-*html/COPYING
+	
+build: build-arch
+
+binary-arch: build-arch
+	dh $@
+
+binary-indep: build-indep
 	dh $@
+
+binary: binary-arch binary-indep
+
+clean:
+	dh $@
+
+.PHONY: build build-arch build-indep binary binary-arch binary-indep clean

-- 
givaro: library for arithmetic and algebraic computations



More information about the debian-science-commits mailing list