[med-svn] [libmems] 02/02: Add packaging files
Andreas Tille
tille at debian.org
Fri Apr 17 20:36:46 UTC 2015
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository libmems.
commit d76820a00e9a8b4dbcdd3db141110ba2c96ef652
Author: Andreas Tille <tille at debian.org>
Date: Fri Apr 17 22:36:08 2015 +0200
Add packaging files
---
debian/README.Debian | 7 +++++++
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++
debian/copyright | 21 +++++++++++++++++++
debian/get-orig-source | 32 +++++++++++++++++++++++++++++
debian/rules | 21 +++++++++++++++++++
debian/source/format | 1 +
debian/watch | 1 +
9 files changed, 144 insertions(+)
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..5cc7e5c
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,7 @@
+libMems for Debian
+------------------
+
+This library is packaged as a precondition of the Mauve
+multiple genome alignment package.
+
+ -- Andreas Tille <tille at debian.org> Fri, 17 Apr 2015 15:38:22 +0200
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..64789f3
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+libmems (1.6.0+4725-1) UNRELEASED; urgency=medium
+
+ * Initial release (Closes: #??????)
+
+ -- Andreas Tille <tille at debian.org> Fri, 17 Apr 2015 15:38:22 +0200
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..f9c9a64
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,55 @@
+Source: libmems
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Andreas Tille <tille at debian.org>
+Section: libs
+Priority: optional
+Build-Depends: debhelper (>= 9),
+ dh-autoreconf,
+ d-shlibs,
+ pkg-config,
+ libgenome-1.3-dev,
+ libboost-filesystem-dev,
+ libboost-iostreams-dev,
+ libboost-program-options-dev,
+ libmuscle-3.7-dev
+Standards-Version: 3.9.6
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/libmems.git
+Vcs-Git: git://anonscm.debian.org/debian-med/libmems.git
+Homepage: http://sourceforge.net/p/mauve/code/HEAD/tree/libMems/trunk/
+
+Package: libmems-1.6-dev
+Architecture: any
+Section: libdevel
+Depends: libmems-1.6-1 (= ${binary:Version}),
+ ${misc:Depends},
+ ${devlibs:Depends}
+Provides: libmems-1.6-dev
+Description: library to support DNA string matching and comparative genomics
+ libMems is a freely available software development library to support DNA
+ string matching and comparative genomics. Among other things, libMems
+ implements an algorithm to perform approximate multi-MUM and multi-MEM
+ identification. The algorithm uses spaced seed patterns in conjunction
+ with a seed-and-extend style hashing method to identify matches. The method
+ is efficient, requiring a maximum of only 16 bytes per base of the largest
+ input sequence, and this data can be stored externally (i.e. on disk) to
+ further reduce memory requirements.
+ .
+ This is the development package containing the statically linked
+ library and the header files.
+
+Package: libmems-1.6-1
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends},
+ ${misc:Depends}
+Description: library to support DNA string matching and comparative genomics
+ libMems is a freely available software development library to support DNA
+ string matching and comparative genomics. Among other things, libMems
+ implements an algorithm to perform approximate multi-MUM and multi-MEM
+ identification. The algorithm uses spaced seed patterns in conjunction
+ with a seed-and-extend style hashing method to identify matches. The method
+ is efficient, requiring a maximum of only 16 bytes per base of the largest
+ input sequence, and this data can be stored externally (i.e. on disk) to
+ further reduce memory requirements.
+ .
+ This package contains the dynamic library.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..516ac9b
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,21 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: libMems
+Upstream-Contact: Aaron Darling <darling at cs.wisc.edu>
+Source: http://sourceforge.net/p/mauve/code/HEAD/tree/libMems/trunk/
+
+Files: *
+Copyright: 2003 - 2014 Aaron Darling -- darling at cs.wisc.edu
+License: GPL-2+
+
+Files: debian/*
+Copyright: 2015 Andreas Tille <tille at debian.org>
+License: GPL-2+
+
+License: GPL-2+
+ This package 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 2 of the License, or
+ (at your option) any later version.
+ .
+ On Debian systems, the complete text of the licenses can be found in:
+ GPL-2 - `/usr/share/common-licenses/GPL-2'
diff --git a/debian/get-orig-source b/debian/get-orig-source
new file mode 100755
index 0000000..b4e3897
--- /dev/null
+++ b/debian/get-orig-source
@@ -0,0 +1,32 @@
+#!/bin/sh
+# get source for libMems from SVN because there is no source tarball distribution
+
+set -e
+NAME=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
+
+if ! echo $@ | grep -q upstream-version ; then
+ VERSION=`dpkg-parsechangelog | awk '/^Version:/ { print $2 }' | sed 's/\([0-9\.]\+\)-[0-9]\+$/\1/'`
+else
+ VERSION=`echo $@ | sed "s?^.*--upstream-version \([0-9.]\+\) .*${NAME}.*?\1?"`
+ if echo "$VERSION" | grep -q "upstream-version" ; then
+ echo "Unable to parse version number"
+ exit
+ fi
+fi
+
+SVNURI="svn://svn.code.sf.net/p/mauve/code/libMems/trunk"
+revision=`LANG=C svn info ${SVNURI} | grep "^Last Changed Rev:" | sed 's/Last Changed Rev: *//'`
+VERSION=`echo ${VERSION}| sed "s/+[0-9]\+$//"`+${revision}
+
+TARDIR=${NAME}-${VERSION}
+
+mkdir -p ../tarballs
+cd ../tarballs
+# svn export conserves time stamps of the files, checkout does not
+LC_ALL=C svn export ${SVNURI} ${TARDIR} >/dev/null 2>/dev/null
+
+cd ${TARDIR}
+cd ..
+
+tar --owner=root --group=root --mode=a+rX -caf "$NAME"_"$VERSION".orig.tar.xz "${TARDIR}"
+rm -rf "${NAME}"-"$VERSION"
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..e96fdda
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,21 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@ --with autoreconf
+
+override_dh_install:
+ dh_install
+ d-shlibmove --commit \
+ --multiarch \
+ --devunversioned \
+ --exclude-la \
+ --movedev debian/tmp/usr/include/* usr/include \
+ --movedev "debian/tmp/usr/lib/*/pkgconfig/*.pc" usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig \
+ debian/tmp/usr/lib/*/*.so
+
+#override_dh_auto_test:
+# echo 'Disable test since some header (gnDNXSource.h) seems to be missing.'
+
+get-orig-source:
+ . debian/get-orig-source
+
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..f456eb8
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1 @@
+# There is no tarball download location, libMuscle is only avaolable in SVN
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/libmems.git
More information about the debian-med-commit
mailing list