[med-svn] [crux] 01/05: Really add crux-toolkit packaging - feel free to continue packaging

Andreas Tille tille at debian.org
Tue Dec 5 12:44:06 UTC 2017


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

tille pushed a commit to branch master
in repository crux.

commit 7c554d3b1e28e0fa62dfe2dd6589df90848fffd2
Author: Andreas Tille <tille at debian.org>
Date:   Mon Oct 5 12:44:47 2015 +0000

    Really add crux-toolkit packaging - feel free to continue packaging
---
 debian/changelog         |  5 +++++
 debian/compat            |  1 +
 debian/control           | 18 ++++++++++++++++++
 debian/copyright         | 18 ++++++++++++++++++
 debian/get-orig-source   | 34 ++++++++++++++++++++++++++++++++++
 debian/rules             |  9 +++++++++
 debian/source/format     |  1 +
 debian/upstream/metadata | 21 +++++++++++++++++++++
 debian/watch             |  1 +
 9 files changed, 108 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..367f57a
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+crux-toolkit (0.0.r16826-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #<bug>)
+
+ -- Andreas Tille <tille at debian.org>  Tue, 29 Sep 2015 15:21:50 +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..cd07d6c
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,18 @@
+Source: crux-toolkit
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Andreas Tille <tille at debian.org>
+Section: science
+Priority: optional
+Build-Depends: debhelper (>= 9)
+Standards-Version: 3.9.6
+Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/crux-toolkit/trunk/
+Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/crux-toolkit/trunk/
+Homepage: http://cruxtoolkit.sourceforge.net/
+
+Package: crux-toolkit
+Architecture: any
+Depends: ${misc:Depends},
+         ${shlibs:Depends}
+Description: toolkit for tandem mass spectrometry analysis 
+ Crux is a software toolkit for tandem mass spectrometry analysis, with a
+ focus on peptide identification.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..831340b
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,18 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: crux-toolkit
+Source: http://sourceforge.net/p/cruxtoolkit/code/HEAD/tree/crux-toolkit/
+
+Files: *
+Copyright: 2008-2014
+License: Apache-2.0
+Comment: License is specified at Sourceforge page
+         http://sourceforge.net/projects/cruxtoolkit/
+
+Files: debian/*
+Copyright: 2015 Andreas Tille <tille at debian.org>
+License: Apache-2.0
+
+License: Apache-2.0
+ On Debian systems you can find the full text of the Apache License V2.0
+ at /usr/share/common-licenses/Apache-2.0
+
diff --git a/debian/get-orig-source b/debian/get-orig-source
new file mode 100755
index 0000000..821b7f4
--- /dev/null
+++ b/debian/get-orig-source
@@ -0,0 +1,34 @@
+#!/bin/sh
+# if you need to repack for whatever reason you can
+# use this script via uscan or directly
+#
+# FIXME: currently the code is not conform to Debian Policy
+#        http://www.debian.org/doc/debian-policy/ch-source.html
+#        "get-orig-source (optional)"
+#        This target may be invoked in any directory, ...
+# --> currently it is assumed the script is called in the
+#     source directory featuring the debian/ dir
+
+COMPRESS=xz
+
+set -e
+set -x
+NAME=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
+VERSION=`dpkg-parsechangelog | awk '/^Version:/ { print $2 }' | sed 's/\([0-9\.]\+\)-[0-9]\+$/\1/'`
+
+## NO tags no branches
+SVNURI="svn://svn.code.sf.net/p/cruxtoolkit/code/crux/trunk/"
+revision=`LANG=C svn info ${SVNURI} | grep "^Last Changed Rev:" | sed 's/Last Changed Rev: *//'`
+VERSION=`echo ${VERSION}| sed "s/.r[0-9]\+$//"`.r${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 || true
+
+find ${TARDIR} -name .svnignore -delete                                                                   
+
+GZIP="--best --no-name" tar --owner=root --group=root --mode=a+rX -caf "$NAME"_"$VERSION".orig.tar.${COMPRESS} "${TARDIR}"
+rm -rf ${TARDIR}
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..7759a80
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+
+# DH_VERBOSE := 1
+
+%:
+	dh $@
+
+get-orig-source:
+	sh 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/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..9efcec4
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,21 @@
+Reference:
+ - Author: Sean McIlwain and Kaipo Tamura and Attila Kertesz-Farkas and Charles E. Grant and Benjamin Diament and Barbara Frewen and J. Jeffry Howbert and Michael R. Hoopmann and Lukas Käll and Jimmy K. Eng and Michael J. MacCoss and William Stafford Noble
+   Title: "Crux: rapid open source protein tandem mass spectrometry analysis"
+   Journal: 2014
+   Year: Journal of Proteome Research
+   Volume: 13
+   Number: 10
+   Pages: 4488-4491
+   DOI: 10.1021/pr500741y
+   PMID: 25182276
+   URL: http://pubs.acs.org/doi/abs/10.1021/pr500741y
+ - Author: Christopher Y. Park and Aaron A. Klammer and Lukas Kall and Michael MacCoss and William Stafford Noble
+   Title: Rapid and accurate peptide identification from tandem mass spectra
+   Journal: Journal of Proteome Research
+   Year: 2008
+   Volume: 7
+   Number: 7
+   Pages: 3022-3027
+   DOI: 10.1021/pr800127y
+   PMID: 18505281
+   URL: http://pubs.acs.org/doi/abs/10.1021/pr800127y
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..d8ef91e
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1 @@
+# There is no tarball download location, this software is only available in SVN

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/crux.git



More information about the debian-med-commit mailing list