From 7a2b5fe4aa79618cbc22e8c6d5019d3916264f6e Mon Sep 17 00:00:00 2001
From: Thomas Moulard <thomas.moulard@gmail.com>
Date: Tue, 28 Sep 2010 03:18:57 +0200
Subject: [PATCH] Debianize package.

---
 debian/changelog                     |  5 ++++
 debian/compat                        |  1 +
 debian/control                       | 36 ++++++++++++++++++++++++++++
 debian/copyright                     | 23 ++++++++++++++++++
 debian/docs                          |  3 +++
 debian/libdynamic-graph-dev.install  |  2 ++
 debian/libdynamic-graph-doc.doc-base |  9 +++++++
 debian/libdynamic-graph-doc.install  |  1 +
 debian/rules                         | 16 +++++++++++++
 debian/source/format                 |  1 +
 debian/watch                         |  8 +++++++
 11 files changed, 105 insertions(+)
 create mode 100644 debian/changelog
 create mode 100644 debian/compat
 create mode 100644 debian/control
 create mode 100644 debian/copyright
 create mode 100644 debian/docs
 create mode 100644 debian/libdynamic-graph-dev.install
 create mode 100644 debian/libdynamic-graph-doc.doc-base
 create mode 100644 debian/libdynamic-graph-doc.install
 create mode 100755 debian/rules
 create mode 100644 debian/source/format
 create mode 100644 debian/watch

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 00000000..d31ce6ee
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+dynamic-graph (1.0.0.99-1) lucid; urgency=low
+
+  * Initial work.
+
+ -- Thomas Moulard <thomas.moulard@gmail.com>  Wed, 28 Sep 2010 03:15:00 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 00000000..7f8f011e
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 00000000..bed18a5a
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,36 @@
+Source: dynamic-graph
+Priority: extra
+Maintainer: Thomas Moulard <thomas.moulard@gmail.com>
+Build-Depends: debhelper (>= 7.0.50~), cmake (>= 2.6),
+	       doxygen (>= 1.6.3),
+	       pkg-config (>= 0.22),
+	       libboost-dev (>= 1.33.1)
+Standards-Version: 3.8.4
+#Vcs-Git:
+#Vcs-browser:
+Section: libs
+#Homepage:
+
+Package: libdynamic-graph-dev
+Section: libdevel
+Architecture: any
+Depends: ${misc:Depends}
+Suggests: libdynamic-graph-doc
+Description: Dynamic graph C++ library
+ The dynamic graph library allows the representation of data-flow in C++.
+ It provides fast graph evaluation and a simple script language to manipulate
+ the graph actions.
+ .
+ This package contains development files (headers and pkg-config file).
+
+Package: libdynamic-graph-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Suggests: libjrl-mathtools-doc
+Description: documentation for the dynamic graph C++ library
+ The dynamic graph library allows the representation of data-flow in C++.
+ It provides fast graph evaluation and a simple script language to manipulate
+ the graph actions.
+ .
+ This package contains the Doxygen documentation.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 00000000..65a78c40
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,23 @@
+This work was packaged for Debian by:
+
+    Thomas Moulard <thomas.moulard@gmail.com> on Wed, 28 Sep 2010 03:13:00 +0200
+
+It was downloaded from <not yet available>
+
+Upstream Author(s):
+
+    Thomas Moulard <thomas.moulard@gmail.com>
+
+Copyright:
+
+    Copyright (C) 2010 François Bleibel, Olivier Stasse, JRL, CNRS/AIST.
+
+License:
+
+    See `/usr/share/common-licenses/LGPL-3'.
+
+The Debian packaging is:
+
+    Copyright (C) 2010 Thomas Moulard <thomas.moulard@gmail.com>
+    and is licensed under the GPL version 3,
+    see `/usr/share/common-licenses/GPL-3'.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 00000000..46a4ca71
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,3 @@
+AUTHORS
+NEWS
+README.md
diff --git a/debian/libdynamic-graph-dev.install b/debian/libdynamic-graph-dev.install
new file mode 100644
index 00000000..deb99408
--- /dev/null
+++ b/debian/libdynamic-graph-dev.install
@@ -0,0 +1,2 @@
+usr/include/*
+usr/lib/pkgconfig/*
diff --git a/debian/libdynamic-graph-doc.doc-base b/debian/libdynamic-graph-doc.doc-base
new file mode 100644
index 00000000..5a611d71
--- /dev/null
+++ b/debian/libdynamic-graph-doc.doc-base
@@ -0,0 +1,9 @@
+Document: dynamic-graph
+Title: Debian dynamic-graph Manual
+Author: Thomas Moulard <thomas.moulard@gmail.com>
+Abstract: Doxygen documentation of dynamic-graph.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/dynamic-graph/html/index.html
+Files: /usr/share/doc/dynamic-graph/html/*.html
diff --git a/debian/libdynamic-graph-doc.install b/debian/libdynamic-graph-doc.install
new file mode 100644
index 00000000..1afcc5b9
--- /dev/null
+++ b/debian/libdynamic-graph-doc.install
@@ -0,0 +1 @@
+usr/share/doc/dynamic-graph/*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 00000000..f577c64f
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+override_dh_auto_configure:
+	dh_auto_configure -- -DGENERATE_DOC=ON
+
+%:
+	dh  $@
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 00000000..163aaf8d
--- /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 00000000..78019037
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,8 @@
+# Watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# See uscan(1) for format
+
+version=3
+
+#http://github.com/laas/hpp-util/downloads /laas/hpp-util/tarball/v(.*)
-- 
GitLab