[SCM] Packaging for alglib branch, master, updated. debian/3.7.0-4-1-gd579857
Anton Gladky
gladky.anton at gmail.com
Wed May 22 17:47:10 UTC 2013
The following commit has been merged in the master branch:
commit d579857bc2988070acc23840774ee138231bf5b0
Author: Anton Gladky <gladky.anton at gmail.com>
Date: Wed May 22 19:39:10 2013 +0200
Replace libalglib3 by libalglib3.7 package.
diff --git a/debian/control b/debian/control
index bfb5cba..e78cfd5 100644
--- a/debian/control
+++ b/debian/control
@@ -13,7 +13,7 @@ Package: libalglib-dev
Priority: extra
Section: libdevel
Architecture: any
-Depends: libalglib3 (= ${binary:Version}), ${misc:Depends}
+Depends: libalglib3.7 (= ${binary:Version}), ${misc:Depends}
Description: Development files for the alglib library
ALGLIB is a cross-platform numerical analysis and data processing library.
This package support C++. ALGLIB features include:
@@ -33,11 +33,13 @@ Description: Development files for the alglib library
This package contains the development files (headers and documentation) for
ALGLIB.
-Package: libalglib3
+Package: libalglib3.7
Architecture: any
Pre-Depends: ${misc:Pre-Depends}
Multi-Arch: same
Depends: ${shlibs:Depends}, ${misc:Depends}
+Breaks: libalglib3 (<< 3.7.0-4~)
+Replaces: libalglib3 (<< 3.7.0-4~)
Description: Numerical analysis and data processing library
ALGLIB is a cross-platform numerical analysis and data processing library.
This package support C++. ALGLIB features include:
@@ -54,11 +56,13 @@ Description: Numerical analysis and data processing library
* Statistics (descriptive statistics, hypothesis testing)
* Data analysis (classification/regression, including neural networks)
-Package: libalglib3-dbg
+Package: libalglib3.7-dbg
Priority: extra
Section: debug
+Breaks: libalglib3-dbg (<< 3.7.0-4~)
+Replaces: libalglib3-dbg (<< 3.7.0-4~)
Architecture: any
-Depends: libalglib3 (= ${binary:Version}), ${misc:Depends}
+Depends: libalglib3.7 (= ${binary:Version}), ${misc:Depends}
Description: Debugging symbols for the alglib library
ALGLIB is a cross-platform numerical analysis and data processing library.
This package support C++. ALGLIB features include:
diff --git a/debian/libalglib3.install b/debian/libalglib3.7.install
similarity index 100%
rename from debian/libalglib3.install
rename to debian/libalglib3.7.install
diff --git a/debian/patches/01_add_cmake.patch b/debian/patches/01_add_cmake.patch
index e23ff11..7f739b9 100644
--- a/debian/patches/01_add_cmake.patch
+++ b/debian/patches/01_add_cmake.patch
@@ -1,6 +1,6 @@
Description: add cmake-support to the library
Author: Anton Gladky <gladk at debian.org>
-Last-Update: 2013-04-25
+Last-Update: 2013-05-22
--- /dev/null
+++ b/CMakeLists.txt
@@ -11,7 +11,7 @@ Last-Update: 2013-04-25
+INCLUDE(GNUInstallDirs)
+INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/src)
+SET(VERSION 3.7.0)
-+SET(SOVERSION 3)
++SET(SOVERSION 3.7)
+
+FILE(GLOB ALGLIB_SRC_LIB "src/*.cpp")
+FILE(GLOB ALGLIB_HDR_LIB "src/*.h")
diff --git a/debian/patches/series b/debian/patches/series
index 14fdfc3..9e33cbb 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
-01_add_cmake.patch
02_disable_some_tests.patch
+01_add_cmake.patch
+
diff --git a/debian/rules b/debian/rules
index a470c0d..f8388b4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,5 +2,10 @@
%:
dh $@ --parallel
+UPSTREAM_VERSION=3.7
+
override_dh_strip:
- dh_strip --dbg-package=libalglib3-dbg
+ dh_strip --dbg-package=libalglib$(UPSTREAM_VERSION)-dbg
+
+override_dh_autoconfigure:
+ dh_autoconfigure -- -DVERSION="$(UPSTREAM_VERSION).0" -DSOVERSION="$(UPSTREAM_VERSION)"
--
Packaging for alglib
More information about the debian-science-commits
mailing list