summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGard Spreemann <gspreemann@gmail.com>2019-01-30 12:57:20 +0100
committerGard Spreemann <gspreemann@gmail.com>2019-01-30 13:14:05 +0100
commit0cfa802d9155817d307617b60726949e2efe3b11 (patch)
treee8afa7481591462de0ec7415f6d0b434dc2ffb79
parent872ca92b33ebe92dff2542cbdee6768e575e80aa (diff)
Initial Debian packaging.
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control37
-rw-r--r--debian/copyright41
-rw-r--r--debian/libphat-dev.install1
-rw-r--r--debian/phat-utils.install1
-rwxr-xr-xdebian/rules7
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch3
9 files changed, 97 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..2701ee9
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+phat (1.5-0) UNRELEASED; urgency=medium
+
+ * Initial release (Closes: #FIXME)
+
+ -- Gard Spreemann <gspreemann@gmail.com> Wed, 30 Jan 2019 12:31:18 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..b4de394
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+11
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..8658973
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,37 @@
+Source: phat
+Maintainer: Gard Spreemann <gspreemann@gmail.com>
+Section: math
+Priority: optional
+Standards-Version: 4.3.0.1
+Build-Depends: cmake, debhelper (>= 11)
+Homepage: https://bitbucket.org/phat-code/phat
+Vcs-Browser: https://git.nonempty.org/debian-phat
+Vcs-Git: https://git.nonempty.org/debian-phat -b debian/sid
+
+Package: libphat-dev
+Section: libdevel
+Architecture: all
+Multi-Arch: foreign
+Depends: ${misc:Depends}
+Suggests: phat-utils
+Description: C++ library for boundary matrix reductions over Z/2Z
+ PHAT is a C++ library for performing the filtered Z/2Z (co)boundary
+ matrix operations commonly needed when computing (persistent)
+ (co)homology in topological data analysis.
+ .
+ This package contains the header files. A standalone program exposing
+ some of the features is available in phat-utils.
+
+Package: phat-utils
+Section: math
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: Utilities from the PHAT library
+ PHAT is a C++ library for performing the filtered Z/2Z (co)boundary
+ matrix operations commonly needed when computing (persistent)
+ (co)homology in topological data analysis.
+ .
+ This package contains some standalone utilities built using the PHAT
+ library, such as persistent homology of a given filtered boundary
+ matrix.
+ \ No newline at end of file
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..5f27ba0
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,41 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: phat
+Source: https://bitbucket.org/phat-code/phat
+
+Files: *
+Copyright: 2013-2019 IST Austria
+License: LGPL-3+
+ PHAT is free software: you can redistribute it and/or modify it under
+ the terms of the GNU Lesser General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or (at
+ your option) any later version.
+ .
+ PHAT 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 Lesser General Public
+ License for more details.
+ .
+ You should have received a copy of the GNU Lesser General Public
+ License along with PHAT. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU Lesser General
+ Public License version 3 can be found in "/usr/share/common-licenses/LGPL-3".
+
+Files: debian/*
+Copyright: 2019 Gard Spreemann <gspreemann@gmail.com>
+License: GPL-3+
+ 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 3 of the License, or
+ (at your option) any later version.
+ .
+ This package 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 <https://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
diff --git a/debian/libphat-dev.install b/debian/libphat-dev.install
new file mode 100644
index 0000000..7c252b1
--- /dev/null
+++ b/debian/libphat-dev.install
@@ -0,0 +1 @@
+include/phat/ usr/include/
diff --git a/debian/phat-utils.install b/debian/phat-utils.install
new file mode 100644
index 0000000..277b349
--- /dev/null
+++ b/debian/phat-utils.install
@@ -0,0 +1 @@
+build/phat usr/bin/ \ No newline at end of file
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..ddd8443
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE = 1
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+%:
+ dh $@ --buildsystem=cmake --builddirectory=build
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..80b57a7
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/phat-$1\.tar\.gz/,uversionmangle=s/-?(RC|rc)/~rc/ \
+ https://bitbucket.org/phat-code/phat/downloads/?tab=tags .*/get/v(\d\S+)\.tar\.gz \ No newline at end of file