[med-svn] [hail] 02/07: Initial packaging of hail

Kevin Murray daube-guest at moszumanska.debian.org
Sat Jan 9 23:12:24 UTC 2016


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

daube-guest pushed a commit to branch master
in repository hail.

commit 149a8dbd7d8a918a6e37e0d75b9238bf43d73862
Author: Kevin Murray <spam at kdmurray.id.au>
Date:   Sun Jul 12 16:22:48 2015 +1000

    Initial packaging of hail
---
 debian/.gitignore              |  3 +++
 debian/changelog               |  5 +++++
 debian/compat                  |  1 +
 debian/control                 | 15 +++++++++++++++
 debian/copyright               | 28 ++++++++++++++++++++++++++++
 debian/files                   |  1 +
 debian/hail.install            |  1 +
 debian/hail.manpages           |  1 +
 debian/patches/makefile-cflags |  8 ++++++++
 debian/patches/series          |  1 +
 debian/rules                   | 11 +++++++++++
 debian/source/format           |  1 +
 12 files changed, 76 insertions(+)

diff --git a/debian/.gitignore b/debian/.gitignore
new file mode 100644
index 0000000..23f6d8e
--- /dev/null
+++ b/debian/.gitignore
@@ -0,0 +1,3 @@
+*.log
+*.dirs
+*.substvars
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..db85035
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+hail (0.1.0-1) UNRELEASED; urgency=medium
+
+  * Initial debian release. (Closes: #XXXXX)
+
+ -- Kevin Murray <spam at kdmurray.id.au>  Sat, 14 Feb 2015 01:36:06 +1100
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..341ec49
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,15 @@
+Source: hail
+Maintainer: Kevin Murray <spam at kdmurray.id.au>
+Section: science
+Priority: optional
+Standards-Version: 3.9.6
+Build-Depends: debhelper (>= 9)
+Homepage: https://github.com/kdmurray91/hail
+
+Package: hail
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: extract sets of lines from a file, by line number
+ Hail extracts lines from a file, taken on stdin, and prints them on stdout.
+ It gets its name from a contraction of head and tail, the common alternative
+ to this program. It supports multiple ranges, and open ended ranges.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..0315206
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,28 @@
+Format: http://dep.debian.net/deps/dep5
+Upstream-Name: hail
+Source: https://github.com/kdmurray91/hail
+
+Files: debian/*
+Copyright: 2014 Kevin Murray
+License: GPL-3+
+
+Files: *
+Copyright: 2014 Kevin Murray
+License: GPL-3+
+
+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 <http://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/files b/debian/files
new file mode 100644
index 0000000..b33f35a
--- /dev/null
+++ b/debian/files
@@ -0,0 +1 @@
+hail_0.1.0-1_amd64.deb science optional
diff --git a/debian/hail.install b/debian/hail.install
new file mode 100644
index 0000000..63509b8
--- /dev/null
+++ b/debian/hail.install
@@ -0,0 +1 @@
+hail usr/bin
diff --git a/debian/hail.manpages b/debian/hail.manpages
new file mode 100644
index 0000000..c476c0c
--- /dev/null
+++ b/debian/hail.manpages
@@ -0,0 +1 @@
+hail.1
diff --git a/debian/patches/makefile-cflags b/debian/patches/makefile-cflags
new file mode 100644
index 0000000..3f56777
--- /dev/null
+++ b/debian/patches/makefile-cflags
@@ -0,0 +1,8 @@
+--- a/Makefile
++++ b/Makefile
+@@ -1,4 +1,5 @@
+ CC      ?= gcc
++CFLAGS  ?=
+ CFLAGS  +=-O3 -std=gnu99
+ PREFIX  ?= $(HOME)
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..82d3d5d
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+makefile-cflags
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..b847f7f
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
+
+# The upstream makefile only reads CFLAGS
+CFLAGS += $(LDFLAGS) $(CPPFLAGS)
+
+
+%:
+	dh $@
+
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)

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



More information about the debian-med-commit mailing list