[med-svn] r18007 - in trunk/packages/hmmer2/tags: . 2.3.2-8/debian

Laszlo Kajan lkajan at moszumanska.debian.org
Sat Sep 13 19:43:08 UTC 2014


Author: lkajan
Date: 2014-09-13 19:43:07 +0000 (Sat, 13 Sep 2014)
New Revision: 18007

Added:
   trunk/packages/hmmer2/tags/2.3.2-8/
   trunk/packages/hmmer2/tags/2.3.2-8/debian/changelog
   trunk/packages/hmmer2/tags/2.3.2-8/debian/control
   trunk/packages/hmmer2/tags/2.3.2-8/debian/rules
   trunk/packages/hmmer2/tags/2.3.2-8/debian/upstream/
Removed:
   trunk/packages/hmmer2/tags/2.3.2-8/debian/changelog
   trunk/packages/hmmer2/tags/2.3.2-8/debian/control
   trunk/packages/hmmer2/tags/2.3.2-8/debian/rules
Log:
[svn-buildpackage] Tagging hmmer2 2.3.2-8

Deleted: trunk/packages/hmmer2/tags/2.3.2-8/debian/changelog
===================================================================
--- trunk/packages/hmmer2/trunk/debian/changelog	2014-09-13 19:19:24 UTC (rev 18004)
+++ trunk/packages/hmmer2/tags/2.3.2-8/debian/changelog	2014-09-13 19:43:07 UTC (rev 18007)
@@ -1,144 +0,0 @@
-hmmer2 (2.3.2-7) unstable; urgency=low
-
-  * Team upload
-  * debian/control:
-    - Removed myself from the Uploaders.
-    - Removed obsolete DM-Upload-Allowed field.
-    - Use canonical VCS URLs.
-    - Normalised using config-model-edit. 
-    - Build-depend on libperl4-corelibs-perl (Closes: #730921). 
-  * Conforms with Policy 3.9.5.
-
- -- Charles Plessy <plessy at debian.org>  Sun, 01 Dec 2013 09:26:43 +0900
-
-hmmer2 (2.3.2-6) unstable; urgency=low
-
-  [Charles Plessy]
-  * Enabled upstream checks in debian/rules.
-  * Documented how the package is tested in debian/README.Debian
-  * Switched Debhelper to mode 7 (debian/compat, debian/control).
-  * Gathered some metadata about upstream in debian/upstream-metadata.yaml.
-  * Checked conformance with Policy 3.8.3 and incremented Standards-Version
-    in debian/control to reflect it.
-
-  [Laszlo Kajan]
-  * Debhelper 8.
-  * Policy version 3.9.3.
-  * Renaming hmmer version 2 to hmmer2 in order to allow coexistence with
-    hmmer (>=3) in wheezy.
-  * Renaming binaries and man pages:
-
-     hmmalign     => hmm2align    
-     hmmbuild     => hmm2build    
-     hmmcalibrate => hmm2calibrate
-     hmmconvert   => hmm2convert  
-     hmmemit      => hmm2emit     
-     hmmfetch     => hmm2fetch    
-     hmmindex     => hmm2index    
-     hmmpfam      => hmm2pfam     
-     hmmsearch    => hmm2search   
-     
-     hmmcalibrate-pvm => hmm2calibrate-pvm
-     hmmpfam-pvm      => hmm2pfam-pvm
-     hmmsearch-pvm    => hmm2search-pvm
-
-    in order to allow coexistence with those from hmmer (>=3).
-    (Closes: #680539)
-  * debian/rules: remove binary without source documentation
-    Userguide.pdf in get-orig-source target
-
- -- Laszlo Kajan <lkajan at rostlab.org>  Mon, 09 Jul 2012 17:46:31 +0200
-
-hmmer (2.3.2-5) unstable; urgency=low
-
-  * Changed the doc-base section according to the new policy.
-  * debian/control:
-    - Added myself as Uploader.
-    - Increased priority to `optional'
-    - Standards-Version: 3.8.0 (no changes needed)
-
- -- Charles Plessy <plessy at debian.org>  Sun, 06 Jul 2008 23:49:23 +0900
-
-hmmer (2.3.2-4) unstable; urgency=low
-
-  * Moved Homepage tag from long description to tags
-  * Removed XB-Tag because it is actually not used by debtags
-  * Added myself as Uploader
-  * Standards-Version: 3.7.3 (no changes needed)
-  * Added Vcs-Browser, Vcs-Svn
-  * DM-Upload-Allowed: yes
-
- -- Andreas Tille <tille at debian.org>  Tue, 26 Feb 2008 20:40:17 +0100
-
-hmmer (2.3.2-3) unstable; urgency=low
-
-  * Updated hmmer homepage (Closes: #435396). Thanks to Charles Plessy;
-  * Updated watch file;
-  * Moved Matthew Vernon to Uploaders and set Maintainer to Debian-Med
-    Packaging Team <debian-med-packaging at lists.alioth.debian.org>;
-  * Downgraded biosquid to recommends.
-
- -- Nelson A. de Oliveira <naoliv at debian.org>  Tue, 31 Jul 2007 15:15:23 -0300
-
-hmmer (2.3.2-2) unstable; urgency=medium
-
-  * Changed my email address;
-  * Changing priority to extra, instead optional (hmmer has a dependency on
-    pvm and libpmv3 -- Policy 2.5);
-  * Added tags on debian/control;
-  * Medium urgency to get the package with the correct priority on Etch.
-
- -- Nelson A. de Oliveira <naoliv at debian.org>  Wed,  6 Dec 2006 16:27:06 -0200
-
-hmmer (2.3.2-1) unstable; urgency=low
-
-  * New upstream version (Closes: #261293);
-  * Documentation is split in a new package (Closes: #233374, #175481);
-  * "getseq" is not shipped anymore with hmmer, since it was renamed to
-    "sfetch" (Closes: #197658);
-  * New package hmmer-pvm, with PVM enabled binaries;
-  * The package is again non-Debian native;
-  * Using CDBS;
-  * Using debhelper compatibility level 5;
-  * Updated Standards-Version to 3.7.2;
-  * Added doc-base and watch file;
-  * Updated copyright file;
-  * Added me as co-maintainer.
-    From Matthew Vernon:
-    "If you're keen to take hmmer, take it; I'm writing up my thesis at the
-    moment, so my time for Debian is somewhat limited; I took on hmmer
-    because it was orphaned at the time, and I wanted it to stay in the
-    distribution."
-
- -- Nelson A. de Oliveira <naoliv at gmail.com>  Tue, 15 Aug 2006 17:30:32 -0300
-
-hmmer (2.1.4) unstable; urgency=low
-
-  * Change section to science
-
- -- Matthew Vernon <matthew at debian.org>  Tue, 10 Apr 2001 02:51:17 +0100
-
-hmmer (2.1.3) unstable; urgency=low
-
-  * Move from /usr/man to /usr/share/man (closes: #91171)
-  * Move from /usr/doc to /usr/share/doc (closes: #91494)
-
- -- Matthew Vernon <matthew at debian.org>  Mon, 09 Apr 2001 16:12:21 +0100
-	
-hmmer (2.1.2) unstable; urgency=low
-
-  * New maintainer
-
- -- Matthew Vernon <matthew at debian.org>  Tue, 07 Dec 1999 16:30:35 +0000
-
-hmmer (2.1.1-1) unstable; urgency=low
-
-  * New upstream version.
-
- -- John Lapeyre <lapeyre at physics.arizona.edu>  Tue, 30 Mar 1999 16:50:05 -0700
-
-hmmer (2.0-1) unstable; urgency=low
-
-  * Initial Release.
-
- -- John Lapeyre <lapeyre at physics.arizona.edu>  Thu, 13 Aug 1998 21:48:53 -0700

Copied: trunk/packages/hmmer2/tags/2.3.2-8/debian/changelog (from rev 18005, trunk/packages/hmmer2/trunk/debian/changelog)
===================================================================
--- trunk/packages/hmmer2/tags/2.3.2-8/debian/changelog	                        (rev 0)
+++ trunk/packages/hmmer2/tags/2.3.2-8/debian/changelog	2014-09-13 19:43:07 UTC (rev 18007)
@@ -0,0 +1,150 @@
+hmmer2 (2.3.2-8) unstable; urgency=medium
+
+  * Use autotools-dev for arm64.
+
+ -- Laszlo Kajan <lkajan at debian.org>  Sat, 13 Sep 2014 21:21:54 +0200
+
+hmmer2 (2.3.2-7) unstable; urgency=low
+
+  * Team upload
+  * debian/control:
+    - Removed myself from the Uploaders.
+    - Removed obsolete DM-Upload-Allowed field.
+    - Use canonical VCS URLs.
+    - Normalised using config-model-edit. 
+    - Build-depend on libperl4-corelibs-perl (Closes: #730921). 
+  * Conforms with Policy 3.9.5.
+
+ -- Charles Plessy <plessy at debian.org>  Sun, 01 Dec 2013 09:26:43 +0900
+
+hmmer2 (2.3.2-6) unstable; urgency=low
+
+  [Charles Plessy]
+  * Enabled upstream checks in debian/rules.
+  * Documented how the package is tested in debian/README.Debian
+  * Switched Debhelper to mode 7 (debian/compat, debian/control).
+  * Gathered some metadata about upstream in debian/upstream-metadata.yaml.
+  * Checked conformance with Policy 3.8.3 and incremented Standards-Version
+    in debian/control to reflect it.
+
+  [Laszlo Kajan]
+  * Debhelper 8.
+  * Policy version 3.9.3.
+  * Renaming hmmer version 2 to hmmer2 in order to allow coexistence with
+    hmmer (>=3) in wheezy.
+  * Renaming binaries and man pages:
+
+     hmmalign     => hmm2align    
+     hmmbuild     => hmm2build    
+     hmmcalibrate => hmm2calibrate
+     hmmconvert   => hmm2convert  
+     hmmemit      => hmm2emit     
+     hmmfetch     => hmm2fetch    
+     hmmindex     => hmm2index    
+     hmmpfam      => hmm2pfam     
+     hmmsearch    => hmm2search   
+     
+     hmmcalibrate-pvm => hmm2calibrate-pvm
+     hmmpfam-pvm      => hmm2pfam-pvm
+     hmmsearch-pvm    => hmm2search-pvm
+
+    in order to allow coexistence with those from hmmer (>=3).
+    (Closes: #680539)
+  * debian/rules: remove binary without source documentation
+    Userguide.pdf in get-orig-source target
+
+ -- Laszlo Kajan <lkajan at rostlab.org>  Mon, 09 Jul 2012 17:46:31 +0200
+
+hmmer (2.3.2-5) unstable; urgency=low
+
+  * Changed the doc-base section according to the new policy.
+  * debian/control:
+    - Added myself as Uploader.
+    - Increased priority to `optional'
+    - Standards-Version: 3.8.0 (no changes needed)
+
+ -- Charles Plessy <plessy at debian.org>  Sun, 06 Jul 2008 23:49:23 +0900
+
+hmmer (2.3.2-4) unstable; urgency=low
+
+  * Moved Homepage tag from long description to tags
+  * Removed XB-Tag because it is actually not used by debtags
+  * Added myself as Uploader
+  * Standards-Version: 3.7.3 (no changes needed)
+  * Added Vcs-Browser, Vcs-Svn
+  * DM-Upload-Allowed: yes
+
+ -- Andreas Tille <tille at debian.org>  Tue, 26 Feb 2008 20:40:17 +0100
+
+hmmer (2.3.2-3) unstable; urgency=low
+
+  * Updated hmmer homepage (Closes: #435396). Thanks to Charles Plessy;
+  * Updated watch file;
+  * Moved Matthew Vernon to Uploaders and set Maintainer to Debian-Med
+    Packaging Team <debian-med-packaging at lists.alioth.debian.org>;
+  * Downgraded biosquid to recommends.
+
+ -- Nelson A. de Oliveira <naoliv at debian.org>  Tue, 31 Jul 2007 15:15:23 -0300
+
+hmmer (2.3.2-2) unstable; urgency=medium
+
+  * Changed my email address;
+  * Changing priority to extra, instead optional (hmmer has a dependency on
+    pvm and libpmv3 -- Policy 2.5);
+  * Added tags on debian/control;
+  * Medium urgency to get the package with the correct priority on Etch.
+
+ -- Nelson A. de Oliveira <naoliv at debian.org>  Wed,  6 Dec 2006 16:27:06 -0200
+
+hmmer (2.3.2-1) unstable; urgency=low
+
+  * New upstream version (Closes: #261293);
+  * Documentation is split in a new package (Closes: #233374, #175481);
+  * "getseq" is not shipped anymore with hmmer, since it was renamed to
+    "sfetch" (Closes: #197658);
+  * New package hmmer-pvm, with PVM enabled binaries;
+  * The package is again non-Debian native;
+  * Using CDBS;
+  * Using debhelper compatibility level 5;
+  * Updated Standards-Version to 3.7.2;
+  * Added doc-base and watch file;
+  * Updated copyright file;
+  * Added me as co-maintainer.
+    From Matthew Vernon:
+    "If you're keen to take hmmer, take it; I'm writing up my thesis at the
+    moment, so my time for Debian is somewhat limited; I took on hmmer
+    because it was orphaned at the time, and I wanted it to stay in the
+    distribution."
+
+ -- Nelson A. de Oliveira <naoliv at gmail.com>  Tue, 15 Aug 2006 17:30:32 -0300
+
+hmmer (2.1.4) unstable; urgency=low
+
+  * Change section to science
+
+ -- Matthew Vernon <matthew at debian.org>  Tue, 10 Apr 2001 02:51:17 +0100
+
+hmmer (2.1.3) unstable; urgency=low
+
+  * Move from /usr/man to /usr/share/man (closes: #91171)
+  * Move from /usr/doc to /usr/share/doc (closes: #91494)
+
+ -- Matthew Vernon <matthew at debian.org>  Mon, 09 Apr 2001 16:12:21 +0100
+	
+hmmer (2.1.2) unstable; urgency=low
+
+  * New maintainer
+
+ -- Matthew Vernon <matthew at debian.org>  Tue, 07 Dec 1999 16:30:35 +0000
+
+hmmer (2.1.1-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- John Lapeyre <lapeyre at physics.arizona.edu>  Tue, 30 Mar 1999 16:50:05 -0700
+
+hmmer (2.0-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- John Lapeyre <lapeyre at physics.arizona.edu>  Thu, 13 Aug 1998 21:48:53 -0700

Deleted: trunk/packages/hmmer2/tags/2.3.2-8/debian/control
===================================================================
--- trunk/packages/hmmer2/trunk/debian/control	2014-09-13 19:19:24 UTC (rev 18004)
+++ trunk/packages/hmmer2/tags/2.3.2-8/debian/control	2014-09-13 19:43:07 UTC (rev 18007)
@@ -1,70 +0,0 @@
-Source: hmmer2
-Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
-Uploaders: Matthew Vernon <matthew at debian.org>,
-           Nelson A. de Oliveira <naoliv at debian.org>,
-           Andreas Tille <tille at debian.org>,
-           Laszlo Kajan <lkajan at rostlab.org>
-Section: science
-Priority: optional
-Build-Depends: debhelper (>= 8),
-               pvm-dev,
-               autotools-dev,
-               libperl4-corelibs-perl
-Standards-Version: 3.9.5
-Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/hmmer2/trunk/
-Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/hmmer2/trunk/
-Homepage: http://hmmer.janelia.org/
-
-Package: hmmer2
-Architecture: any
-Depends: ${shlibs:Depends},
-         ${misc:Depends}
-Recommends: biosquid
-Suggests: hmmer2-doc (>= ${source:Version}),
-          hmmer2-pvm (>= ${binary:Version})
-Description: profile hidden Markov models for protein sequence analysis
- HMMER is an implementation of profile hidden Markov model methods for
- sensitive searches of biological sequence databases using multiple sequence
- alignments as queries.
- .
- Given a multiple sequence alignment as input, HMMER builds a statistical
- model called a "hidden Markov model" which can then be used as a query into
- a sequence database to find (and/or align) additional homologues of the
- sequence family.
-
-Package: hmmer2-pvm
-Architecture: any
-Depends: ${shlibs:Depends},
-         ${misc:Depends},
-         pvm
-Suggests: hmmer2-doc (>= ${binary:Version})
-Description: HMMER programs with PVM (Parallel Virtual Machine) support
- HMMER is an implementation of profile hidden Markov model methods for
- sensitive searches of biological sequence databases using multiple sequence
- alignments as queries.
- .
- Given a multiple sequence alignment as input, HMMER builds a statistical
- model called a "hidden Markov model" which can then be used as a query into
- a sequence database to find (and/or align) additional homologues of the
- sequence family.
- .
- This package contains HMMER programs compiled with PVM support.
-
-Package: hmmer2-doc
-Architecture: all
-Section: doc
-Depends: ${shlibs:Depends},
-         ${misc:Depends}
-Recommends: hmmer2 (>= ${source:Version}),
-            xpdf-reader | pdf-viewer
-Description: profile hidden Markov models for protein sequence analysis (docs)
- HMMER is an implementation of profile hidden Markov model methods for
- sensitive searches of biological sequence databases using multiple sequence
- alignments as queries.
- .
- Given a multiple sequence alignment as input, HMMER builds a statistical
- model called a "hidden Markov model" which can then be used as a query into
- a sequence database to find (and/or align) additional homologues of the
- sequence family.
- .
- This package contains documents and example files for the hmmer2 package.

Copied: trunk/packages/hmmer2/tags/2.3.2-8/debian/control (from rev 18005, trunk/packages/hmmer2/trunk/debian/control)
===================================================================
--- trunk/packages/hmmer2/tags/2.3.2-8/debian/control	                        (rev 0)
+++ trunk/packages/hmmer2/tags/2.3.2-8/debian/control	2014-09-13 19:43:07 UTC (rev 18007)
@@ -0,0 +1,70 @@
+Source: hmmer2
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Matthew Vernon <matthew at debian.org>,
+           Nelson A. de Oliveira <naoliv at debian.org>,
+           Andreas Tille <tille at debian.org>,
+           Laszlo Kajan <lkajan at debian.org>
+Section: science
+Priority: optional
+Build-Depends: debhelper (>= 8),
+               pvm-dev,
+               autotools-dev,
+               libperl4-corelibs-perl
+Standards-Version: 3.9.5
+Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/hmmer2/trunk/
+Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/hmmer2/trunk/
+Homepage: http://hmmer.janelia.org/
+
+Package: hmmer2
+Architecture: any
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Recommends: biosquid
+Suggests: hmmer2-doc (>= ${source:Version}),
+          hmmer2-pvm (>= ${binary:Version})
+Description: profile hidden Markov models for protein sequence analysis
+ HMMER is an implementation of profile hidden Markov model methods for
+ sensitive searches of biological sequence databases using multiple sequence
+ alignments as queries.
+ .
+ Given a multiple sequence alignment as input, HMMER builds a statistical
+ model called a "hidden Markov model" which can then be used as a query into
+ a sequence database to find (and/or align) additional homologues of the
+ sequence family.
+
+Package: hmmer2-pvm
+Architecture: any
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         pvm
+Suggests: hmmer2-doc (>= ${binary:Version})
+Description: HMMER programs with PVM (Parallel Virtual Machine) support
+ HMMER is an implementation of profile hidden Markov model methods for
+ sensitive searches of biological sequence databases using multiple sequence
+ alignments as queries.
+ .
+ Given a multiple sequence alignment as input, HMMER builds a statistical
+ model called a "hidden Markov model" which can then be used as a query into
+ a sequence database to find (and/or align) additional homologues of the
+ sequence family.
+ .
+ This package contains HMMER programs compiled with PVM support.
+
+Package: hmmer2-doc
+Architecture: all
+Section: doc
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Recommends: hmmer2 (>= ${source:Version}),
+            xpdf-reader | pdf-viewer
+Description: profile hidden Markov models for protein sequence analysis (docs)
+ HMMER is an implementation of profile hidden Markov model methods for
+ sensitive searches of biological sequence databases using multiple sequence
+ alignments as queries.
+ .
+ Given a multiple sequence alignment as input, HMMER builds a statistical
+ model called a "hidden Markov model" which can then be used as a query into
+ a sequence database to find (and/or align) additional homologues of the
+ sequence family.
+ .
+ This package contains documents and example files for the hmmer2 package.

Deleted: trunk/packages/hmmer2/tags/2.3.2-8/debian/rules
===================================================================
--- trunk/packages/hmmer2/trunk/debian/rules	2014-09-13 19:19:24 UTC (rev 18004)
+++ trunk/packages/hmmer2/tags/2.3.2-8/debian/rules	2014-09-13 19:43:07 UTC (rev 18007)
@@ -1,44 +0,0 @@
-#!/usr/bin/make -f
-# DH_VERBOSE=1
-
-export CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
-export CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
-export CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
-export LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
-
-# lkajan: The following violates point 4.9 of the Debian policy: "get-orig-source [...] may be invoked in any directory [...]" as uscan needs to find the watch file.
-.PHONY: get-orig-source
-get-orig-source:
-	set -e; \
-	t=$$(mktemp -d) || exit 1; \
-	trap "rm -rf -- '$$t'" EXIT; \
-	pwd; \
-	uscan --no-conf --force-download --rename --destdir "$$t"; \
-	( cd "$$t"; \
-		gunzip *.tar.gz; \
-		tar --owner=root --group=root --mode=a+rX --delete -f *.tar --wildcards 'hmmer-*/Userguide.pdf'; \
-		xz --best *.tar; \
-	); \
-	mv $$t/*.tar.xz ./
-
-.PHONY: override_dh_auto_configure
-override_dh_auto_configure:
-	dh_auto_configure -- --enable-threads --enable-lfs --enable-pvm
-
-.PHONY: override_dh_auto_install
-override_dh_auto_install:
-	dh_auto_install -- prefix=$(CURDIR)/debian/tmp
-	# lkajan: rename binaries and man pages like this: s/hmm/hmm2/ - except hmmer.1, rename that to hmmer2.1:
-	rename 's/^hmm/hmm2/;' $(CURDIR)/debian/tmp/bin/*
-	cd $(CURDIR)/debian/tmp/bin; rename 's/^hmm/hmm2/;' *
-	cd $(CURDIR)/debian/tmp/share/man/man1; rename 's/^hmm/hmm2/;' *
-	mv $(CURDIR)/debian/tmp/share/man/man1/hmm2er.1 $(CURDIR)/debian/tmp/share/man/man1/hmmer2.1
-	# lkajan: resolve man page hypen issue:
-	sed -i -e 's/--/\\-\\-/g;s/-\([[:alpha:]]\)\b/\\-\1/g;' $(CURDIR)/debian/tmp/share/man/man1/*
-
-.PHONY: override_dh_installchangelogs
-override_dh_installchangelogs:
-	dh_installchangelogs -k 00README
-
-%:
-	dh $@ --parallel

Copied: trunk/packages/hmmer2/tags/2.3.2-8/debian/rules (from rev 18005, trunk/packages/hmmer2/trunk/debian/rules)
===================================================================
--- trunk/packages/hmmer2/tags/2.3.2-8/debian/rules	                        (rev 0)
+++ trunk/packages/hmmer2/tags/2.3.2-8/debian/rules	2014-09-13 19:43:07 UTC (rev 18007)
@@ -0,0 +1,44 @@
+#!/usr/bin/make -f
+# DH_VERBOSE=1
+
+export CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
+export CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
+export CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
+export LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
+
+# lkajan: The following violates point 4.9 of the Debian policy: "get-orig-source [...] may be invoked in any directory [...]" as uscan needs to find the watch file.
+.PHONY: get-orig-source
+get-orig-source:
+	set -e; \
+	t=$$(mktemp -d) || exit 1; \
+	trap "rm -rf -- '$$t'" EXIT; \
+	pwd; \
+	uscan --no-conf --force-download --rename --destdir "$$t"; \
+	( cd "$$t"; \
+		gunzip *.tar.gz; \
+		tar --owner=root --group=root --mode=a+rX --delete -f *.tar --wildcards 'hmmer-*/Userguide.pdf'; \
+		xz --best *.tar; \
+	); \
+	mv $$t/*.tar.xz ./
+
+.PHONY: override_dh_auto_configure
+override_dh_auto_configure:
+	dh_auto_configure -- --enable-threads --enable-lfs --enable-pvm
+
+.PHONY: override_dh_auto_install
+override_dh_auto_install:
+	dh_auto_install -- prefix=$(CURDIR)/debian/tmp
+	# lkajan: rename binaries and man pages like this: s/hmm/hmm2/ - except hmmer.1, rename that to hmmer2.1:
+	rename 's/^hmm/hmm2/;' $(CURDIR)/debian/tmp/bin/*
+	cd $(CURDIR)/debian/tmp/bin; rename 's/^hmm/hmm2/;' *
+	cd $(CURDIR)/debian/tmp/share/man/man1; rename 's/^hmm/hmm2/;' *
+	mv $(CURDIR)/debian/tmp/share/man/man1/hmm2er.1 $(CURDIR)/debian/tmp/share/man/man1/hmmer2.1
+	# lkajan: resolve man page hypen issue:
+	sed -i -e 's/--/\\-\\-/g;s/-\([[:alpha:]]\)\b/\\-\1/g;' $(CURDIR)/debian/tmp/share/man/man1/*
+
+.PHONY: override_dh_installchangelogs
+override_dh_installchangelogs:
+	dh_installchangelogs -k 00README
+
+%:
+	dh $@ --parallel --with autotools-dev




More information about the debian-med-commit mailing list