Skip to content
Commits on Source (3)
......@@ -7,7 +7,8 @@ pbbam (0.18.0+dfsg-1) UNRELEASED; urgency=medium
* Upstream switched from cmake to meson
* debhelper 11
* Point Vcs fields to salsa.debian.org
* Standards-Version: 4.2.0
* Standards-Version: 4.2.1
* Use d-shlibs
[ Fabian Kloetzl ]
* fix dependency check for meson
......
Source: pbbam
Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Uploaders: Afif Elghraoui <afif@debian.org>
Section: libs
Section: science
Priority: optional
Build-Depends: debhelper (>= 11~),
dh-exec,
d-shlibs,
meson,
pkg-config,
python,
......@@ -17,14 +18,13 @@ Build-Depends: debhelper (>= 11~),
libgtest-dev,
python-cram,
samtools
Standards-Version: 4.2.0
Standards-Version: 4.2.1
Vcs-Browser: https://salsa.debian.org/med-team/pbbam
Vcs-Git: https://salsa.debian.org/med-team/pbbam.git
Homepage: http://pbbam.readthedocs.org/en/latest/index.html
Package: pbbamtools
Architecture: any
Section: science
Depends: ${shlibs:Depends},
${misc:Depends},
libpbbam (= ${binary:Version})
......@@ -42,9 +42,10 @@ Description: processing Pacific Biosciences binary alignment/map files
This package provides command-line utilities for working with PacBio BAM
files.
Package: libpbbam
Package: libpbbam0.18.0
Architecture: any
Multi-Arch: same
Section: libs
Depends: ${shlibs:Depends},
${misc:Depends}
Pre-Depends: ${misc:Pre-Depends}
......@@ -62,7 +63,7 @@ Description: Pacific Biosciences binary alignment/map (BAM) library
Package: libpbbam-dev
Architecture: any
Section: libdevel
Depends: libpbbam (= ${binary:Version}),
Depends: libpbbam0.18.0 (= ${binary:Version}),
libhts-dev,
libssl-dev,
${misc:Depends}
......
#!/usr/bin/dh-exec
*/lib/* usr/lib/${DEB_HOST_MULTIARCH}
# Upstream has not yet stabilized the API.
# This library is so far only used by a closely-related set of programs.
shlib-without-versioned-soname usr/lib/x86_64-linux-gnu/libpbbam.so libpbbam.so
# Because of the lack of versioned soname, the library itself contains
# the libpbbam.so file, so there's no need for a symlink.
dev-pkg-without-shlib-symlink usr/lib/x86_64-linux-gnu/libpbbam.so usr/lib/x86_64-linux-gnu/libpbbam.so
......@@ -25,8 +25,6 @@ generated_data_dir = $(CURDIR)/gendata
override_dh_auto_test: $(subst .t.in,.deb.t,$(wildcard tests/src/cram/pb*.t.in))
mkdir -p $(generated_data_dir)
python tests/scripts/generate_data.py $(CURDIR)/tests/data $(generated_data_dir)
# remove dfsg extension from test cases
sed -i -e 's/+dfsg//g' -e 's?\(/build/$(DEB_SOURCE)-[0-9.]\+\)/?\1+dfsg/?' tests/src/cram/*
# Fix broken PATH
synthetic_movie_all_path=`find $$PWD -name synthetic_movie_all.subreadset.xml` ; \
sed -i -e "s?.GENERATEDDATADIR/synthetic_movie_all.subreadset.xml?$${synthetic_movie_all_path}?" tests/src/cram/pbbamify*
......@@ -53,5 +51,17 @@ override_dh_auto_clean:
-e 's|@PacBioBAM_TestsDir@|$(CURDIR)/tests|g' \
-e 's|@PacBioBAM_VERSION@|$(DEB_VERSION_UPSTREAM)|g' \
-e 's|@GeneratedTestDataDir@|$(generated_data_dir)|g' \
-e 's|+dfsg||g' -e 's|\(/build/$(DEB_SOURCE)-[0-9.]\+\)/|\1+dfsg/|' \
$< > $@
override_dh_install:
dh_install
d-shlibmove --commit \
--multiarch \
--devunversioned \
--exclude-la \
--exclude-a \
--override s/libhts2-dev/libhts-dev/ \
--movedev debian/tmp/usr/include/* usr/include \
--movedev "debian/tmp/usr/lib/*/pkgconfig/*.pc" usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig \
debian/tmp/usr/lib/*/*.so