aboutsummaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-08-12 11:47:12 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-08-12 15:29:54 +0200
commit9a935e27b59b5b51713d0030970c8c758e2ba385 (patch)
treebb70a590063055e8e7591a3c3857180c5d79d923 /debian
parent9b037a6a7a16bf580906e3197a54a366ac26060c (diff)
debian: Split libosmocore into various libs and address lintian warnings
Package the various libraries separately. This will allow to install libosmogsm3 and libosmogsm4 in parallel. E: libosmocore-dev: non-empty-dependency_libs-in-la-file usr/lib/libosmocore.la E: libosmocore-dev: non-empty-dependency_libs-in-la-file usr/lib/libosmogb.la E: libosmocore-dev: non-empty-dependency_libs-in-la-file usr/lib/libosmogsm.la E: libosmocore-dev: non-empty-dependency_libs-in-la-file usr/lib/libosmovty.la W: libosmocore-dbg: wrong-bug-number-in-closes l54:#nnnn W: libosmocore: wrong-bug-number-in-closes l54:#nnnn W: libosmocore: package-name-doesnt-match-sonames libosmocodec0 libosmocore4 libosmogb2 libosmogsm4 libosmovty0
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat2
-rw-r--r--debian/control38
-rw-r--r--debian/libosmocodec0.install1
-rw-r--r--debian/libosmocore-dev.install1
-rw-r--r--debian/libosmocore.install2
-rw-r--r--debian/libosmocore4.install1
-rw-r--r--debian/libosmogb2.install1
-rw-r--r--debian/libosmogsm4.install1
-rw-r--r--debian/libosmovty0.install1
-rwxr-xr-xdebian/rules6
11 files changed, 49 insertions, 10 deletions
diff --git a/debian/changelog b/debian/changelog
index e3c7e89..9e8ff15 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
-libosmocore (0.6.3) UNRELEASED; urgency=low
+libosmocore (0.6.3+git1-1) UNRELEASED; urgency=low
* New upstream release with new primitives, USSD fixes.
+ * Split libosmocore into several package. One lib per package.
-- Holger Hans Peter Freyther <holger@freyther.de> Fri, 09 Aug 2013 17:47:30 +0200
@@ -51,6 +52,6 @@ libosmocore (0.1.27) natty; urgency=low
libosmocore (0.1.17-1) unstable; urgency=low
- * Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
+ * Initial release
-- Harald Welte <laforge@gnumonks.org> Tue, 24 Aug 2010 10:55:04 +0200
diff --git a/debian/compat b/debian/compat
index 7f8f011..45a4fb7 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-7
+8
diff --git a/debian/control b/debian/control
index 0563560..e0824a7 100644
--- a/debian/control
+++ b/debian/control
@@ -2,8 +2,8 @@ Source: libosmocore
Section: libs
Priority: optional
Maintainer: Harald Welte <laforge@gnumonks.org>
-Build-Depends: debhelper (>= 7.0.50), autotools-dev, autoconf, automake, libtool, dh-autoreconf, libdpkg-perl, git, doxygen
-Standards-Version: 3.9.2
+Build-Depends: debhelper (>= 8.0.0), autotools-dev, autoconf, automake, libtool, dh-autoreconf, libdpkg-perl, git, doxygen
+Standards-Version: 3.9.3
Homepage: http://bb.osmocom.org/trac/wiki/libosmocore
Vcs-Git: git://git.osmocom.org/libosmocore.git
Vcs-Browser: http://git.osmocom.org/gitweb?p=libosmocore.git;a=summary
@@ -11,13 +11,43 @@ Vcs-Browser: http://git.osmocom.org/gitweb?p=libosmocore.git;a=summary
Package: libosmocore
Section: libs
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends: libosmocodec0, libosmocore4, libosmogb2, libosmogsm4, libosmovty0, ${misc:Depends}
Description: Open Source MObile COMmunications CORE library
+Package: libosmocodec0
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Osmo codec library
+
+Package: libosmocore4
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Osmo Core library
+
+Package: libosmogb2
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Osmo GPRS GB library
+
+Package: libosmogsm4
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Osmo GSM utility library
+
+Package: libosmovty0
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Osmo VTY library
+
Package: libosmocore-dev
Section: libdevel
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, libosmocore
+Depends: ${misc:Depends}, libosmocore
Description: Development headers for Open Source MObile COMmunications CORE library
Package: libosmocore-utils
diff --git a/debian/libosmocodec0.install b/debian/libosmocodec0.install
new file mode 100644
index 0000000..2743b53
--- /dev/null
+++ b/debian/libosmocodec0.install
@@ -0,0 +1 @@
+usr/lib/libosmocodec*.so.*
diff --git a/debian/libosmocore-dev.install b/debian/libosmocore-dev.install
index eec0e15..ece5b08 100644
--- a/debian/libosmocore-dev.install
+++ b/debian/libosmocore-dev.install
@@ -3,3 +3,4 @@ usr/lib/lib*.a
usr/lib/lib*.so
usr/lib/lib*.la
usr/lib/pkgconfig/*
+usr/share/doc/libosmocore/*
diff --git a/debian/libosmocore.install b/debian/libosmocore.install
index 9330260..e69de29 100644
--- a/debian/libosmocore.install
+++ b/debian/libosmocore.install
@@ -1,2 +0,0 @@
-usr/lib/lib*.so.*
-usr/share/doc/libosmocore/*
diff --git a/debian/libosmocore4.install b/debian/libosmocore4.install
new file mode 100644
index 0000000..d134902
--- /dev/null
+++ b/debian/libosmocore4.install
@@ -0,0 +1 @@
+usr/lib/libosmocore*.so.*
diff --git a/debian/libosmogb2.install b/debian/libosmogb2.install
new file mode 100644
index 0000000..73ad3d3
--- /dev/null
+++ b/debian/libosmogb2.install
@@ -0,0 +1 @@
+usr/lib/libosmogb*.so.*
diff --git a/debian/libosmogsm4.install b/debian/libosmogsm4.install
new file mode 100644
index 0000000..12c9180
--- /dev/null
+++ b/debian/libosmogsm4.install
@@ -0,0 +1 @@
+usr/lib/libosmogsm*.so.*
diff --git a/debian/libosmovty0.install b/debian/libosmovty0.install
new file mode 100644
index 0000000..1b993e8
--- /dev/null
+++ b/debian/libosmovty0.install
@@ -0,0 +1 @@
+usr/lib/libosmovty*.so.*
diff --git a/debian/rules b/debian/rules
index a60ca7a..89abad9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,11 +14,15 @@ DEBVERS := $(shell echo '$(DEBIAN)' | cut -d- -f1)
VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/[+-].*//' -e 's/~//g')
%:
- dh --with autoreconf $@ --fail-missing
+ dh $@ --with autoreconf --fail-missing
override_dh_strip:
dh_strip --dbg-package=libosmocore-dbg
+override_dh_install:
+ sed -i "/dependency_libs/ s/'.*'/''/" `find . -name '*.la'`
+ dh_install
+
override_dh_autoreconf:
echo $(VERSION) > .tarball-version
dh_autoreconf