debian: Split libosmo-sabp from libosmo-ranap package

Related: OS#4342
Change-Id: I936220e95a3334d8052bb2c52fbf335a8a5c3711
changes/16/16716/2
Pau Espin 3 years ago
parent d48430d4fb
commit d5d3efb546
  1. 22
      debian/control
  2. 6
      debian/libosmo-ranap-dev.install
  3. 2
      debian/libosmo-ranap2.install
  4. 3
      debian/libosmo-sabp-dev.install
  5. 1
      debian/libosmo-sabp0.install
  6. 1
      debian/rules

22
debian/control vendored

@ -57,3 +57,25 @@ Architecture: any
Multi-Arch: same
Depends: libosmo-ranap2 (= ${binary:Version}), ${misc:Depends}
Description: Osmocom code for the Iuh interface (HNBAP, RUA, RANAP)
Package: libosmo-sabp0
Section: libs
Architecture: any
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: Osmocom code for the Iuh interface (SABP)
Package: libosmo-sabp-dbg
Section: debug
Architecture: any
Multi-Arch: same
Depends: libosmo-sabp0 (= ${binary:Version}), ${misc:Depends}
Description: Osmocom code for the Iuh interface (SABP)
Package: libosmo-sabp-dev
Section: libdevel
Architecture: any
Multi-Arch: same
Depends: libosmo-sabp0 (= ${binary:Version}), ${misc:Depends}
Description: Osmocom code for the Iuh interface (SABP)

@ -1,3 +1,3 @@
usr/include
usr/lib/*/*.so
usr/lib/*/pkgconfig/*.pc
usr/include/osmocom/ranap
usr/lib/*/libosmo-ranap.so
usr/lib/*/pkgconfig/libosmo-ranap.pc

@ -1 +1 @@
usr/lib/*/*.so.*
usr/lib/*/libosmo-ranap*.so.*

@ -0,0 +1,3 @@
usr/include/osmocom/sabp
usr/lib/*/libosmo-sabp.so
usr/lib/*/pkgconfig/libosmo-sabp.pc

@ -0,0 +1 @@
usr/lib/*/libosmo-sabp*.so.*

1
debian/rules vendored

@ -11,6 +11,7 @@ VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/[+-].*//' -e 's/~//g')
# See https://www.debian.org/doc/manuals/developers-reference/best-pkging-practices.html#bpp-dbg
override_dh_strip:
dh_strip -plibosmo-ranap2 --dbg-package=libosmo-ranap-dbg
dh_strip -plibosmo-sabp0 --dbg-package=libosmo-sabp-dbg
dh_strip -posmo-hnbgw --dbg-package=osmo-hnbgw-dbg
# Print test results in case of a failure

Loading…
Cancel
Save