summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
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 e3c7e89d..9e8ff154 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 7f8f011e..45a4fb75 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-7
+8
diff --git a/debian/control b/debian/control
index 05635601..e0824a7d 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 00000000..2743b53b
--- /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 eec0e15e..ece5b085 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 93302609..e69de29b 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 00000000..d1349023
--- /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 00000000..73ad3d3e
--- /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 00000000..12c9180a
--- /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 00000000..1b993e87
--- /dev/null
+++ b/debian/libosmovty0.install
@@ -0,0 +1 @@
+usr/lib/libosmovty*.so.*
diff --git a/debian/rules b/debian/rules
index a60ca7ae..89abad91 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