[med-svn] [libbpp-raa] 12/13: Library transition and upload to unstable

Andreas Tille tille at debian.org
Thu Apr 21 16:05:01 UTC 2016


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

tille pushed a commit to branch master
in repository libbpp-raa.

commit 9463d9e86fc3df0c22e83c699dee3469679f2d32
Author: Andreas Tille <tille at debian.org>
Date:   Thu Apr 21 17:52:40 2016 +0200

    Library transition and upload to unstable
---
 debian/changelog              |   7 ++-
 debian/control                |  22 +++++---
 debian/libbpp-raa-dev.install |   3 -
 debian/libbpp-raa1.install    |   1 -
 debian/rules                  | 127 +++++-------------------------------------
 5 files changed, 32 insertions(+), 128 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index fe2b1e6..1c9f803 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-libbpp-raa (2.2.0-1) UNRELEASED; urgency=medium
+libbpp-raa (2.2.0-1) unstable; urgency=medium
 
   * New upstream version
   * Moved packaging to Git
@@ -8,8 +8,11 @@ libbpp-raa (2.2.0-1) UNRELEASED; urgency=medium
   * cme fix dpkg-control
   * debhelper 9
   * Source package in Section: science
+  * short dh rules file using d-shlibs
+  * Library transition
+    Closes: #791098
 
- -- Andreas Tille <tille at debian.org>  Thu, 21 Apr 2016 17:35:32 +0200
+ -- Andreas Tille <tille at debian.org>  Thu, 21 Apr 2016 17:52:34 +0200
 
 libbpp-raa (2.1.0-1) unstable; urgency=low
 
diff --git a/debian/control b/debian/control
index 03b31af..f1d6c8b 100644
--- a/debian/control
+++ b/debian/control
@@ -6,9 +6,9 @@ Section: science
 Priority: optional
 Build-Depends: debhelper (>= 9),
                cmake,
+               d-shlibs,
                zlib1g-dev,
-               libbpp-seq-dev (>= 2.2.0),
-               zlib1g
+               libbpp-seq-dev (>= 2.2.0)
 Standards-Version: 3.9.8
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/libbpp-raa.git
 Vcs-Git: https://anonscm.debian.org/git/debian-med/libbpp-raa.git
@@ -17,23 +17,27 @@ Homepage: http://biopp.univ-montp2.fr/wiki/index.php/Main_Page
 Package: libbpp-raa-dev
 Architecture: any
 Section: libdevel
-Depends: libbpp-raa1 (= ${binary:Version}),
+Depends: libbpp-raa1v5 (= ${binary:Version}),
          ${misc:Depends},
-         zlib1g-dev,
          libbpp-seq-dev (>= 2.2.0)
-Description: Bio++ Remote Acnuc Access library development files.
+Description: Bio++ Remote Acnuc Access library development files
  This library contains utilitary and classes to query public databases
  (GenBank, EMBL, SwissProt, etc) using acnuc.
  It is part of the Bio++ project.
+ .
+ This package contains header files and static library.
 
-Package: libbpp-raa1
+Package: libbpp-raa1v5
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends},
          ${misc:Depends},
-         zlib1g,
-         libbpp-seq9 (>= 2.2.0)
-Description: Bio++ Remote Acnuc Access library.
+         libbpp-seq9v5 (>= 2.2.0)
+Conflicts: libbpp-raa1
+Replaces: libbpp-raa1
+Description: Bio++ Remote Acnuc Access library
  This library contains utilitary and classes to query public databases
  (GenBank, EMBL, SwissProt, etc) using acnuc.
  It is part of the Bio++ project.
+ .
+ This package contains the dynamic library.
diff --git a/debian/libbpp-raa-dev.install b/debian/libbpp-raa-dev.install
deleted file mode 100644
index 7d74f2b..0000000
--- a/debian/libbpp-raa-dev.install
+++ /dev/null
@@ -1,3 +0,0 @@
-debian/tmp/usr/include/*
-debian/tmp/usr/lib/lib*.a
-debian/tmp/usr/lib/lib*.so
diff --git a/debian/libbpp-raa1.install b/debian/libbpp-raa1.install
deleted file mode 100644
index c45ebcf..0000000
--- a/debian/libbpp-raa1.install
+++ /dev/null
@@ -1 +0,0 @@
-debian/tmp/usr/lib/lib*.so.*
diff --git a/debian/rules b/debian/rules
index aa1aeed..8262cf4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,121 +1,22 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
-
-# 24/01/10 Modification for use with CMake by Julien Dutheil.
-
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+## When the following is set, the package does not build:
+# export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
-# These are used for cross-compiling and for saving the configure script
-# from having to guess our platform (since we know it already)
-DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-
-
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
-
-# shared library versions
-version=`ls src/lib*.so.* | \
- awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
-major=`ls src/lib*.so.* | \
- awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
-
-configure:
-	cmake -DCMAKE_INSTALL_PREFIX=/usr .
-
-config.status: configure
-	dh_testdir
-
-build: build-arch build-indep
-build-arch: build-stamp
-build-indep: build-stamp
-build-stamp:  config.status
-	dh_testdir
-
-	# Add here commands to compile the package.
-	$(MAKE)
-
-	touch $@
-
-clean:
-	dh_testdir
-	dh_testroot
-
-	# Add here commands to clean up after the build process.
-	[ ! -f Makefile ] || $(MAKE) clean;
-	[ ! -f Makefile ] || rm Makefile;
-	[ ! -f src/Makefile ] || rm src/Makefile;
-	rm -f config.sub config.guess
-	rm -f build-stamp
-	rm -f CMakeCache.txt
-	rm -f *.cmake
-	rm -f src/*.cmake
-	#rm -f test/*.cmake
-	rm -rf CMakeFiles
-	rm -rf src/CMakeFiles
-	#rm -rf test/CMakeFiles
-	rm -rf _CPack_Packages
-	#rm -rf Testing
-	#rm -f DartConfiguration.tcl
-
-	dh_clean 
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_prep
-	dh_installdirs
-
-	# Add here commands to install the package into debian/tmp
-	$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
-
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
+%:
+	dh $@
 
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs ChangeLog
-	dh_installdocs
-	dh_installexamples
+override_dh_install:
 	dh_install
-#	dh_installmenu
-#	dh_installdebconf	
-#	dh_installlogrotate
-#	dh_installemacsen
-#	dh_installpam
-#	dh_installmime
-#	dh_installinit
-#	dh_installcron
-#	dh_installinfo
-	dh_installman
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-#	dh_perl
-#	dh_python
-	dh_makeshlibs
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
+	d-shlibmove --commit \
+		    --multiarch \
+		    --v5 \
+		    --devunversioned \
+		    --override s/libbpp-core2-dev/libbpp-core-dev/ \
+		    --override s/libbpp-seq9-dev/libbpp-seq-dev/ \
+		    --exclude-la \
+                    --movedev debian/tmp/usr/include/* usr/include \
+                    debian/tmp/usr/lib/*.so
 
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install 

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



More information about the debian-med-commit mailing list