TT#4815 Initial working Debian packaging

* Rename package from ngcp-panel-extjs-csc into ngcp-panel-csc
  (to avoid implementation specific package names + have Debian
  package name match git repository name)
* Build-Depend on sencha-cmd (proprietary build tool from Sencha
  for Ext JS which needs to be shipped via our own repositories)
* Add according build + install steps
* Bump Standards-Version to 3.9.8
* Drop unneeded depends on ${perl:Depends}

Change-Id: I3555ccd229f99813e2c11c1b498e75bf6ec0ebde
changes/72/9172/3
Michael Prokop 9 years ago
parent a2287a2c81
commit 603038dfe4

6
debian/control vendored

@ -4,14 +4,14 @@ Priority: extra
Maintainer: Sipwise Development Team <support@sipwise.com>
Build-Depends:
debhelper (>= 9~),
Standards-Version: 3.9.7
sencha-cmd (>= 6.2.0.103-1~),
Standards-Version: 3.9.8
Homepage: https://www.sipwise.com/
Package: ngcp-panel-extjs-csc
Package: ngcp-panel-csc
Architecture: all
Depends:
${misc:Depends},
${perl:Depends},
Description: ExtJS based frontend for endusers to configure their accounts on the Sipwise NGCP
The CSC framework is used by endusers to configure their accounts on the
Sipwise NGCP.

9
debian/rules vendored

@ -5,3 +5,12 @@
%:
dh "$@"
override_dh_auto_build:
dh_auto_build
/opt/Sencha/Cmd/sencha app build -c
override_dh_auto_install:
dh_auto_install
mkdir -p debian/ngcp-panel-csc/usr/share/ngcp-csc/csc/
cp -a build/production/* debian/ngcp-panel-csc/usr/share/ngcp-csc/csc/

Loading…
Cancel
Save