[SCM] Debian packaging for openturns www.openturns.org branch, debian, updated. debian/1.0-4-12-gd8d102d

Denis Barbier bouzim at gmail.com
Mon Dec 3 07:04:15 UTC 2012


The following commit has been merged in the debian branch:
commit 957eec646d04ad29e914e149a5552d96f72b5495
Author: Denis Barbier <bouzim at gmail.com>
Date:   Wed Nov 28 21:00:22 2012 +0100

    Initial work for the future 1.1 upstream version
    
    Bump soname to 0.2.

diff --git a/debian/control b/debian/control
index 9b75d2e..cacaff5 100644
--- a/debian/control
+++ b/debian/control
@@ -10,7 +10,7 @@ Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/opentur
 Vcs-Git: git://anonscm.debian.org/debian-science/packages/openturns.git
 X-Python-Version: current
 
-Package: libopenturns0.1
+Package: libopenturns0.2
 Section: libs
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}, r-other-rot (= ${binary:Version})
@@ -45,7 +45,7 @@ Description: dynamic libraries for OpenTURNS
 Package: libopenturns-dev
 Section: libdevel
 Architecture: any
-Depends: ${misc:Depends}, libopenturns0.1 (= ${binary:Version})
+Depends: ${misc:Depends}, libopenturns0.2 (= ${binary:Version})
 Replaces: openturns-wrapper
 Breaks: openturns-wrapper
 Description: headers and development libraries for OpenTURNS
@@ -87,7 +87,7 @@ Description: debug symbols for OpenTURNS
 Package: python-openturns
 Section: python
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, libopenturns0.1 (= ${binary:Version}), ${python:Depends}, python-rpy2, ghostscript, python-qt4
+Depends: ${shlibs:Depends}, ${misc:Depends}, libopenturns0.2 (= ${binary:Version}), ${python:Depends}, python-rpy2, ghostscript, python-qt4
 Provides: ${python:Provides}
 Description: Python front-end of OpenTURNS (aka TUI)
  OpenTURNS is a powerful and generic tool to treat and quantify
diff --git a/debian/libopenturns0.1.install b/debian/libopenturns0.1.install
deleted file mode 100644
index 2ade63e..0000000
--- a/debian/libopenturns0.1.install
+++ /dev/null
@@ -1,4 +0,0 @@
-usr/lib/libOT*.so.0*
-usr/lib/openturns-1.0/wrappers/wrapper*.dtd
-usr/lib/openturns-1.0/wrappers/generic.*
-etc/openturns-1.0
diff --git a/debian/libopenturns0.1.lintian-overrides b/debian/libopenturns0.1.lintian-overrides
deleted file mode 100644
index 1631d02..0000000
--- a/debian/libopenturns0.1.lintian-overrides
+++ /dev/null
@@ -1 +0,0 @@
-libopenturns0.1 binary: package-name-doesnt-match-sonames libOT0.1 libOTbind0.1
diff --git a/debian/libopenturns0.2.install b/debian/libopenturns0.2.install
new file mode 100644
index 0000000..cbcab04
--- /dev/null
+++ b/debian/libopenturns0.2.install
@@ -0,0 +1,4 @@
+usr/lib/libOT*.so.0*
+usr/lib/openturns-1.*/wrappers/wrapper*.dtd
+usr/lib/openturns-1.*/wrappers/generic.*
+etc/openturns-1.*
diff --git a/debian/libopenturns0.2.lintian-overrides b/debian/libopenturns0.2.lintian-overrides
new file mode 100644
index 0000000..bd45f6e
--- /dev/null
+++ b/debian/libopenturns0.2.lintian-overrides
@@ -0,0 +1 @@
+libopenturns0.2 binary: package-name-doesnt-match-sonames libOT0.2 libOTbind0.2
diff --git a/debian/openturns-examples.install b/debian/openturns-examples.install
index 4e978b4..aa1306a 100644
--- a/debian/openturns-examples.install
+++ b/debian/openturns-examples.install
@@ -1,8 +1,8 @@
 usr/share/openturns/examples/* usr/lib/openturns/examples/
 usr/share/openturns/examples/*.py
-usr/lib/openturns-1.0/wrappers/external_code_threads*
-usr/lib/openturns-1.0/wrappers/minimal_wrapper*
-usr/lib/openturns-1.0/wrappers/poutre*
-usr/lib/openturns-1.0/wrappers/testwrapper*
-usr/lib/openturns-1.0/wrappers/Test*
-usr/lib/openturns-1.0/wrappers/wrapper.xml
+usr/lib/openturns-1.*/wrappers/external_code_threads*
+usr/lib/openturns-1.*/wrappers/minimal_wrapper*
+usr/lib/openturns-1.*/wrappers/poutre*
+usr/lib/openturns-1.*/wrappers/testwrapper*
+usr/lib/openturns-1.*/wrappers/Test*
+usr/lib/openturns-1.*/wrappers/wrapper.xml
diff --git a/debian/patches/debian-soname.patch b/debian/patches/debian-soname.patch
index 5440643..efd68ae 100644
--- a/debian/patches/debian-soname.patch
+++ b/debian/patches/debian-soname.patch
@@ -17,8 +17,8 @@ Index: openturns/lib/src/CMakeLists.txt
  add_library ( OT SHARED ${SOURCEFILES} ${BUILT_SOURCEFILES} )
 -set_target_properties ( OT OTbind PROPERTIES SOVERSION 0 )
 -set_target_properties ( OT OTbind PROPERTIES VERSION 0.0.0 )
-+set_target_properties ( OT OTbind PROPERTIES SOVERSION 0.1 )
-+set_target_properties ( OT OTbind PROPERTIES VERSION 0.1.0 )
++set_target_properties ( OT OTbind PROPERTIES SOVERSION 0.2 )
++set_target_properties ( OT OTbind PROPERTIES VERSION 0.2.0 )
  if ( BISON_FOUND )
    add_dependencies ( OT generate_csv_parser )
  endif ( BISON_FOUND )
diff --git a/debian/rules b/debian/rules
index e13ebac..79a058b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -63,8 +63,8 @@ override_dh_auto_configure: debian/tmp/usr/lib/R/site-library/rotRPackage
             -DCMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING='$(ldflags)' \
             -DCMAKE_INSTALL_PREFIX:PATH=/usr \
             -DOPENTURNS_LIBRARY_PATH:PATH=lib \
-            -DOPENTURNS_SYSCONFIG_PATH:PATH=/etc/openturns-1.0 \
-            -DOPENTURNS_WRAPPER_PATH:PATH=lib/openturns-1.0/wrappers \
+            -DOPENTURNS_SYSCONFIG_PATH:PATH=/etc/openturns-1.1 \
+            -DOPENTURNS_WRAPPER_PATH:PATH=lib/openturns-1.1/wrappers \
             -DOPENTURNS_SYSTEM_INSTALL:BOOL=ON \
             -DINSTALL_DESTDIR:PATH=$(CURDIR)/debian/tmp \
             -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python \
@@ -92,7 +92,7 @@ override_dh_makeshlibs:
 	dh_makeshlibs -Xpyshared
 
 override_dh_strip:
-	dh_strip -plibopenturns0.1 --dbg-package=libopenturns-dbg
+	dh_strip -plibopenturns0.2 --dbg-package=libopenturns-dbg
 	dh_strip
 
 override_dh_python2:

-- 
Debian packaging for openturns www.openturns.org



More information about the debian-science-commits mailing list