laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-remsim/+/28563 ) Change subject: Install + package remsim-apitool as separate sub-package ...................................................................... Install + package remsim-apitool as separate sub-package As the script depends on python3, let's put it into a new osmo-remsim-apitool package. Closes: OS#5612 Change-Id: I11d779f66833b5294ffeb422ce6b2a705719a899 --- M contrib/Makefile.am R contrib/osmo-remsim-apitool M contrib/osmo-remsim.spec.in M debian/control A debian/osmo-remsim-apitool.install 5 files changed, 27 insertions(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/osmo-remsim refs/changes/63/28563/1 diff --git a/contrib/Makefile.am b/contrib/Makefile.am index 17f56ed..3db49a4 100644 --- a/contrib/Makefile.am +++ b/contrib/Makefile.am @@ -1,3 +1,5 @@ SUBDIRS = etc_default systemd -EXTRA_DIST = remsim-apitool.py owhw-event-script.sh +EXTRA_DIST = owhw-event-script.sh + +bin_SCRIPTS = osmo-remsim-apitool diff --git a/contrib/remsim-apitool.py b/contrib/osmo-remsim-apitool similarity index 100% rename from contrib/remsim-apitool.py rename to contrib/osmo-remsim-apitool diff --git a/contrib/osmo-remsim.spec.in b/contrib/osmo-remsim.spec.in index 3097b8f..150a8ec 100644 --- a/contrib/osmo-remsim.spec.in +++ b/contrib/osmo-remsim.spec.in @@ -95,6 +95,17 @@ it maintains a list of clients + bankds connected to it, as well as the dynamic SIM card mappings between them. +%package -n osmo-remsim-apitool +Summary: Osmocom Remote SIM - API tool for Server +License: GPL-2.0-or-later +Group: Productivity/Telephony/Servers +Requires: python3 + +%description -n osmo-remsim-apitool +This is a small python tool for generating API requests to remsim-server, +which can be used by the system administrator to introspect and/or modify +the state (mostly slotmaps). + %package -n osmo-remsim-bankd Summary: Osmocom Remote SIM - Bank Daemon License: GPL-2.0-or-later @@ -191,6 +202,9 @@ %{_bindir}/osmo-remsim-server %{_unitdir}/osmo-remsim-server.service +%files -n osmo-remsim-server +%{_bindir}/osmo-remsim-apitool + %files -n osmo-remsim-bankd %{_bindir}/osmo-remsim-bankd %{_unitdir}/osmo-remsim-bankd.service diff --git a/debian/control b/debian/control index 7a847b8..4fdba3c 100644 --- a/debian/control +++ b/debian/control @@ -51,6 +51,15 @@ it maintains a list of clients + bankds connected to it, as well as the dynamic SIM card mappings between them. +Package: osmo-remsim-apitool +Architecture: any +Multi-Arch: same +Depends: ${shlibs:Depends}, ${misc:Depends}, python3 +Description: Osmocom Remote SIM - API tool for server + This is a small python tool for generating API requests to remsim-server, + which can be used by the system administrator to introspect and/or modify + the state (mostly slotmaps). + Package: osmo-remsim-bankd Architecture: any Multi-Arch: same diff --git a/debian/osmo-remsim-apitool.install b/debian/osmo-remsim-apitool.install new file mode 100644 index 0000000..fd47f34 --- /dev/null +++ b/debian/osmo-remsim-apitool.install @@ -0,0 +1 @@ +usr/bin/osmo-remsim-apitool -- To view, visit https://gerrit.osmocom.org/c/osmo-remsim/+/28563 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-remsim Gerrit-Branch: master Gerrit-Change-Id: I11d779f66833b5294ffeb422ce6b2a705719a899 Gerrit-Change-Number: 28563 Gerrit-PatchSet: 1 Gerrit-Owner: laforge <laforge@osmocom.org> Gerrit-MessageType: newchange