[med-svn] [libmuscle] 02/02: Add packaging files

Andreas Tille tille at debian.org
Fri Apr 17 19:56:06 UTC 2015


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

tille pushed a commit to branch master
in repository libmuscle.

commit d77c4e18eb8ddf4eb549c80e5aaa7456e8a4e0c2
Author: Andreas Tille <tille at debian.org>
Date:   Fri Apr 17 21:55:20 2015 +0200

    Add packaging files
---
 debian/README.Debian   | 12 ++++++++++++
 debian/changelog       |  6 ++++++
 debian/compat          |  1 +
 debian/control         | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
 debian/copyright       | 26 ++++++++++++++++++++++++++
 debian/get-orig-source | 34 ++++++++++++++++++++++++++++++++++
 debian/rules           | 21 +++++++++++++++++++++
 debian/source/format   |  1 +
 debian/watch           |  1 +
 9 files changed, 150 insertions(+)

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..0da4d0c
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,12 @@
+libMuscle for Debian
+--------------------
+
+libMUSCLE is an adaptation of Robert C Edgar's MUSCLE 3.7.
+libMUSCLE was written by Aaron Darling <darling at cs.wisc.edu> and
+Todd J Treangen <treangen at gmail.com>
+It contains bugfixes and new features to the original 3.7 code. 
+
+This library is packaged as a precondition of the Mauve multiple genome
+alignment package.
+
+ -- Andreas Tille <tille at debian.org>  Thu, 14 Feb 2008 22:13:45 +0100
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..66d8c05
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+libmuscle (3.7+4565-1) UNRELEASED; urgency=medium
+
+  * Initial release (Closes: #??????)
+
+ -- Andreas Tille <tille at debian.org>  Tue, 15 Apr 2014 16:01:23 +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..3740a17
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,48 @@
+Source: libmuscle
+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
+Standards-Version: 3.9.6
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/libmuscle.git
+Vcs-Git: git://anonscm.debian.org/debian-med/libmuscle.git
+Homepage: http://sourceforge.net/p/mauve/code/HEAD/tree/muscle/trunk/
+
+Package: libmuscle-3.7-dev
+Architecture: any
+Section: libdevel
+Depends: libmuscle-3.7-1 (= ${binary:Version}),
+         ${misc:Depends},
+         ${devlibs:Depends}
+Description: Multiple alignment program of protein sequences library
+ MUSCLE is a multiple alignment program for protein sequences. MUSCLE
+ stands for multiple sequence comparison by log-expectation. In the
+ authors tests, MUSCLE achieved the highest scores of all tested
+ programs on several alignment accuracy benchmarks, and is also one of
+ the fastest programs out there.
+ .
+ This library was derived from the original MUSCLE and turned into
+ a library.
+ .
+ This package contains the static library and header files.
+
+Package: libmuscle-3.7-1
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Description: Multiple alignment program of protein sequences library
+ MUSCLE is a multiple alignment program for protein sequences. MUSCLE
+ stands for multiple sequence comparison by log-expectation. In the
+ authors tests, MUSCLE achieved the highest scores of all tested
+ programs on several alignment accuracy benchmarks, and is also one of
+ the fastest programs out there.
+ .
+ This library was derived from the original MUSCLE and turned into
+ a library.
+ .
+ This package contains the dynamic library.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..c9b2cbd
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,26 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: libGenome
+Upstream-Contact: Aaron Darling <darling at cs.wisc.edu>
+Source: http://sourceforge.net/p/mauve/code/HEAD/tree/muscle/trunk/
+
+Files: *
+Copyright: 2003-2009 Aaron Darling <darling at cs.wisc.edu>
+License: PD-dedication
+ MUSCLE is public domain software
+ The MUSCLE software, including object and source code, is hereby donated
+ to the public domain.
+ .
+ Disclaimer of warranty
+ THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
+ EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+
+Files: debian/*
+Copyright: 2015 Andreas Tille <tille at debian.org>
+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 version 2 of the License.
+ .
+ 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..eab4036
--- /dev/null
+++ b/debian/get-orig-source
@@ -0,0 +1,34 @@
+#!/bin/sh
+# get source for libmuscle 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/muscle/trunk"
+revision=`LANG=C svn info ${SVNURI} | grep "^Last Changed Rev:" | sed 's/Last Changed Rev: *//'`
+VERSION=`echo ${VERSION}| sed "s/+[0-9]\+$//"`+${revision}
+
+echo $VERSION
+
+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/libmuscle.git



More information about the debian-med-commit mailing list