[med-svn] [Git][med-team/isovic-seqlib][master] d-shlibs

Andreas Tille (@tille) gitlab at salsa.debian.org
Tue Nov 23 13:44:27 GMT 2021



Andreas Tille pushed to branch master at Debian Med / isovic-seqlib


Commits:
d7458232 by Andreas Tille at 2021-11-23T14:44:13+01:00
d-shlibs

- - - - -


3 changed files:

- debian/control
- debian/patches/autoconf.patch
- debian/rules


Changes:

=====================================
debian/control
=====================================
@@ -4,6 +4,7 @@ Priority: optional
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
 Uploaders: Andreas Tille <tille at debian.org>
 Build-Depends: debhelper-compat (= 13),
+               d-shlibs,
                libdivsufsort-dev,
                libseqan2-dev,
                libgtest-dev
@@ -13,9 +14,12 @@ Vcs-Git: https://salsa.debian.org/med-team/isovic-seqlib.git
 Homepage: https://github.com/isovic/seqlib/
 Rules-Requires-Root: no
 
-Package: libisovic-seqlib
+Package: libisovic-seqlib0
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Section: libs
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Multi-Arch: same
 Description: library for sequence analysis projects
  This library for sequence analysis projects is packaged as a
  predependency for graphlan2 and its predependencies.
@@ -24,3 +28,20 @@ Description: library for sequence analysis projects
  There is a name space clash in upstream space which was not
  resolved yet - thus the name is prefixed by the author.
 
+
+Package: libisovic-seqlib-dev
+Architecture: any
+Section: libdevel
+Depends: libisovic-seqlib0 (= ${binary:Version}),
+         ${shlibs:Depends},
+         ${misc:Depends},
+Multi-Arch: same
+Description: library for sequence analysis projects (devel)
+ This library for sequence analysis projects is packaged as a
+ predependency for graphlan2 and its predependencies.
+ .
+ Note: There is another library libseqlib packaged for Debian.
+ There is a name space clash in upstream space which was not
+ resolved yet - thus the name is prefixed by the author.
+ .
+ This package contains the development files.


=====================================
debian/patches/autoconf.patch
=====================================
@@ -44,10 +44,11 @@ Description: Create a proper library from the code to enable
 +
 --- /dev/null
 +++ b/test_src/Makefile.am
-@@ -0,0 +1,3 @@
-+noinst_PROGRAMS = test_lis
-+test_lis_SOURCES = test_lis.cc
-+LDADD           = $(top_builddir)/src/libisovic_seqlib.la -lgtest -lpthread
+@@ -0,0 +1,4 @@
++EXTRA_DIST = test_lis.cc
++#noinst_PROGRAMS = test_lis
++#test_lis_SOURCES = test_lis.cc
++#LDADD           = $(top_builddir)/src/libisovic_seqlib.la -lgtest -lpthread
 --- /dev/null
 +++ b/configure.ac
 @@ -0,0 +1,63 @@


=====================================
debian/rules
=====================================
@@ -4,15 +4,6 @@
 export LC_ALL=C.UTF-8
 
 include /usr/share/dpkg/default.mk
-# this provides:
-# DEB_SOURCE: the source package name
-# DEB_VERSION: the full version of the package (epoch + upstream vers. + revision)
-# DEB_VERSION_EPOCH_UPSTREAM: the package's version without the Debian revision
-# DEB_VERSION_UPSTREAM_REVISION: the package's version without the Debian epoch
-# DEB_VERSION_UPSTREAM: the package's upstream version
-# DEB_DISTRIBUTION: the distribution(s) listed in the current entry of debian/changelog
-# SOURCE_DATE_EPOCH: the source release date as seconds since the epoch, as
-#                    specified by <https://reproducible-builds.org/specs/source-date-epoch/>
 
 # for hardening you might like to uncomment this:
 # export DEB_BUILD_MAINT_OPTIONS=hardening=+all
@@ -20,12 +11,13 @@ include /usr/share/dpkg/default.mk
 %:
 	dh $@
 
-### When overriding auto_test make sure DEB_BUILD_OPTIONS will be respected
-#override_dh_auto_test:
-#ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-#	do_stuff_for_testing
-#endif
+override_dh_install:
+	dh_install
+	d-shlibmove --commit \
+		    --multiarch \
+		    --devunversioned \
+		    --exclude-la \
+		    --movedev debian/tmp/usr/include/* usr/include \
+		    debian/tmp/usr/lib/*/*.so
+	find debian -name "lib*.la" -delete
 
-### If you **really** can not use uscan (even not with mode=git) use a debian/get-orig-script
-#get-orig-source:
-#	. debian/get-orig-source



View it on GitLab: https://salsa.debian.org/med-team/isovic-seqlib/-/commit/d7458232a141117301a5cd180befd03c5e7f254b

-- 
View it on GitLab: https://salsa.debian.org/med-team/isovic-seqlib/-/commit/d7458232a141117301a5cd180befd03c5e7f254b
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20211123/7163f7d2/attachment-0001.htm>


More information about the debian-med-commit mailing list