[med-svn] [libsmithwaterman] 01/08: Use d-shlibs

Andreas Tille tille at debian.org
Wed Jun 22 14:40:00 UTC 2016


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

tille pushed a commit to branch master
in repository libsmithwaterman.

commit 69385c9dbc48df11465d46d578f9a5aa02307276
Author: Andreas Tille <tille at debian.org>
Date:   Wed Jun 22 15:53:46 2016 +0200

    Use d-shlibs
---
 debian/control | 51 +++++++++++++++++++++++++++++++++++++++++++--------
 debian/rules   | 12 +++++++++++-
 2 files changed, 54 insertions(+), 9 deletions(-)

diff --git a/debian/control b/debian/control
index 59cca5e..567c6af 100644
--- a/debian/control
+++ b/debian/control
@@ -1,18 +1,53 @@
 Source: libsmithwaterman
-Section: science
-Priority: optional
 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),
-            dh-autoreconf
+               dh-autoreconf,
+               d-shlibs
 Standards-Version: 3.9.8
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/libsmithwaterman.git
 Vcs-Git: https://anonscm.debian.org/git/debian-med/libsmithwaterman.git
 Homepage: https://github.com/ekg/smithwaterman
 
-Package: libsmithwaterman
+Package: libsmithwaterman0
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Description: library to determine similar regions between two strings or nucleotide or protein sequences
+ The Smith–Waterman algorithm performs local sequence alignment; that is,
+ for determining similar regions between two strings or nucleotide or
+ protein sequences. Instead of looking at the total sequence, the
+ Smith–Waterman algorithm compares segments of all possible lengths and
+ optimizes the similarity measure.
+ .
+ This package contains the dynamic library.
+
+Package: libsmithwaterman-dev
+Architecture: any
+Section: libdevel
+Depends: libsmithwaterman0 (= ${binary:Version}),
+         ${shlibs:Depends},
+         ${misc:Depends}
+Description: library to determin similar regions between two strings or nucleotide or protein sequences (devel)
+ The Smith–Waterman algorithm performs local sequence alignment; that is,
+ for determining similar regions between two strings or nucleotide or
+ protein sequences. Instead of looking at the total sequence, the
+ Smith–Waterman algorithm compares segments of all possible lengths and
+ optimizes the similarity measure.
+ .
+ This is the development package containing the statically linked
+ library and the header files.
+
+Package: smithwaterman
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: smith-waterman-gotoh alignment algorithm
- This library is packaged as a precondition for libvcflib.  There was no
- better description found on its homepage.
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Description: determine similar regions between two strings or nucleotide or protein sequences
+ The Smith–Waterman algorithm performs local sequence alignment; that is,
+ for determining similar regions between two strings or nucleotide or
+ protein sequences. Instead of looking at the total sequence, the
+ Smith–Waterman algorithm compares segments of all possible lengths and
+ optimizes the similarity measure.
diff --git a/debian/rules b/debian/rules
index 2e15657..26a205d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,7 +8,7 @@ export LC_ALL=C.UTF-8
 #DEBVERS        := $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$2}')
 #VERSION        := $(shell echo '$(DEBVERS)' | sed -e 's/^[0-9]*://' -e 's/-.*//')
 #DEBFLAVOR      := $(shell dpkg-parsechangelog | awk '/^Distribution:/ {print $$2}')
-#DEBPKGNAME     := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
+DEBPKGNAME     := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
 #DEBIAN_BRANCH  := $(shell awk 'BEGIN{FS="[= ]+"} /debian-branch/ {print $$2}' debian/gbp.conf)
 #GIT_TAG        := $(subst ~,_,$(VERSION))
 
@@ -22,5 +22,15 @@ export LC_ALL=C.UTF-8
 %:
 	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/*/$(DEBPKGNAME).so
+
 get-orig-source:
 	. debian/get-orig-source

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



More information about the debian-med-commit mailing list