[libgenome-perl] 01/01: Solve name space issue by moving gmt to /usr/lib/debian-med/bin
Andreas Tille
tille at debian.org
Sat Jul 4 15:21:14 UTC 2015
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository libgenome-perl.
commit 205ec3992bde59d9f59870218e68cf9964d60a1a
Author: Andreas Tille <tille at debian.org>
Date: Sat Jul 4 17:21:02 2015 +0200
Solve name space issue by moving gmt to /usr/lib/debian-med/bin
---
debian/changelog | 8 ++++++++
debian/control | 1 +
debian/dirs | 2 ++
debian/links | 6 ++++++
debian/rules | 7 +++++++
5 files changed, 24 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index e5df557..266e54b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+libgenome-perl (0.06-3) UNRELEASED; urgency=medium
+
+ * Team upload
+ * Solve name space issue by moving gmt to /usr/lib/debian-med/bin
+ Closes: #790524
+
+ -- Andreas Tille <tille at debian.org> Sat, 04 Jul 2015 16:42:59 +0200
+
libgenome-perl (0.06-2) unstable; urgency=medium
* Team upload.
diff --git a/debian/control b/debian/control
index 8073078..edb3886 100644
--- a/debian/control
+++ b/debian/control
@@ -22,6 +22,7 @@ Depends: ${misc:Depends},
libgetopt-complete-perl,
libio-string-perl,
libur-perl
+Recommends: med-config (>= 2.1)
Description: pipelines, tools, and data management for genomics
This is the base namespace module for the Genome software tree.
.
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..c36fb7f
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1,2 @@
+/usr/lib/debian-med/bin
+/usr/lib/debian-med/share/man/man1
diff --git a/debian/links b/debian/links
new file mode 100644
index 0000000..239e3bf
--- /dev/null
+++ b/debian/links
@@ -0,0 +1,6 @@
+# For non-Debian-Med users the script becomes visible as
+# genome-model-tools to avoid a name space conflict with gmt package
+# see #790524
+usr/lib/debian-med/bin/gmt usr/bin/genome-model-tools
+# Also link the manpage to the Debian Med name space
+usr/lib/debian-med/share/man/man1/gmt.1.gz usr/share/man/man1/genome-model-tools.1.gz
diff --git a/debian/rules b/debian/rules
index f5f93dd..aa6d59c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,7 @@
PACKAGE = $(shell dh_listpackages)
TMP = $(CURDIR)/debian/$(PACKAGE)
+DEBIANMEDPATH = /usr/lib/debian-med
%:
dh $@
@@ -15,8 +16,14 @@ override_dh_auto_build:
pod2man bin/genome > cmd-bindoc/genome.1
pod2man bin/gmt > cmd-bindoc/gmt.1
+override_dh_install:
+ dh_install
+ mv $(TMP)/usr/bin/gmt $(TMP)$(DEBIANMEDPATH)/bin
+
override_dh_installman:
dh_installman
+ mv $(TMP)/usr/share/man/man1/gmt.1 $(TMP)$(DEBIANMEDPATH)/share/man/man1
+ gzip -9n $(TMP)$(DEBIANMEDPATH)/share/man/man1/gmt.1
# Remove empty files
$(RM) -v $(TMP)/usr/share/man/man1/genome-model-tools*
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libgenome-perl.git
More information about the Pkg-perl-cvs-commits
mailing list