diff --git a/service-mgmt-tools/debian/deb_folder/changelog b/service-mgmt-tools/debian/deb_folder/changelog new file mode 100644 index 00000000..aa02a010 --- /dev/null +++ b/service-mgmt-tools/debian/deb_folder/changelog @@ -0,0 +1,5 @@ +sm-tools (1.0-1) unstable; urgency=medium + + * Initial release. + + -- Leonardo Fagundes Luz Serrano Tue, 28 Sep 2021 16:25:51 +0000 diff --git a/service-mgmt-tools/debian/deb_folder/compat b/service-mgmt-tools/debian/deb_folder/compat new file mode 100644 index 00000000..f599e28b --- /dev/null +++ b/service-mgmt-tools/debian/deb_folder/compat @@ -0,0 +1 @@ +10 diff --git a/service-mgmt-tools/debian/deb_folder/control b/service-mgmt-tools/debian/deb_folder/control new file mode 100644 index 00000000..d350db3b --- /dev/null +++ b/service-mgmt-tools/debian/deb_folder/control @@ -0,0 +1,54 @@ +Source: sm-tools +Section: admin +Priority: optional +Maintainer: StarlingX Developers +Build-Depends: debhelper (>= 13), + dh-python, + python3-all, + python3-setuptools, + python3-wheel +Build-Depends-Indep: + python3-eventlet, + python3-httplib2, + python3-iso8601, + python3-jsonpatch, + python3-keystonemiddleware, + python3-kombu, + python3-mysqldb, + python3-oslo.config, + python3-pecan, + python3-prettytable, + python3-psutil, + python3-sqlalchemy, + python3-migrate, + python3-wsme +Standards-Version: 4.1.2 +Homepage: https://www.starlingx.io +Rules-Requires-Root: no + +Package: sm-tools +Architecture: all +Depends: python3:any, ${python3:Depends}, ${misc:Depends}, + python3-eventlet, + python3-httplib2, + python3-iso8601, + python3-jsonpatch, + python3-keystonemiddleware, + python3-kombu, + python3-mysqldb, + python3-oslo.config, + python3-pecan, + python3-prettytable, + python3-psutil, + python3-sqlalchemy, + python3-migrate, + python3-wsme +Description: Service Management Tools + This is the python3 version of the package. + +Package: sm-tools-wheels +Architecture: all +Depends: ${misc:Depends} +Description: Contains python wheels for Service Management Tools + This is the support package for the PEP 427 wheel version of the package, + required for using pip inside a virtual environment. diff --git a/service-mgmt-tools/debian/deb_folder/copyright b/service-mgmt-tools/debian/deb_folder/copyright new file mode 100644 index 00000000..e7294d69 --- /dev/null +++ b/service-mgmt-tools/debian/deb_folder/copyright @@ -0,0 +1,44 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: sm-tools +Upstream-Contact: StarlingX Developers +Source: https://opendev.org/starlingx/ha + +Files: * +Copyright: + (c) 2013-2021 Wind River Systems, Inc + (c) Others (See individual files for more details) +License: Apache-2 + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + . + https://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + . + On Debian-based systems the full text of the Apache version 2.0 license + can be found in `/usr/share/common-licenses/Apache-2.0'. + +# If you want to use GPL v2 or later for the /debian/* files use +# the following clauses, or change it to suit. Delete these two lines +Files: debian/* +Copyright: 2021 Wind River Systems, Inc +License: Apache-2 + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + . + https://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + . + On Debian-based systems the full text of the Apache version 2.0 license + can be found in `/usr/share/common-licenses/Apache-2.0'. diff --git a/service-mgmt-tools/debian/deb_folder/rules b/service-mgmt-tools/debian/deb_folder/rules new file mode 100755 index 00000000..f157a932 --- /dev/null +++ b/service-mgmt-tools/debian/deb_folder/rules @@ -0,0 +1,18 @@ +#!/usr/bin/make -f + +export PYBUILD_NAME=sm-tools + +%: + dh $@ --with python3 --buildsystem=pybuild + +override_dh_install: + python3 setup.py install -f --install-layout=deb --root=$(CURDIR)/debian/tmp + + python3 setup.py bdist_wheel \ + --universal \ + -d $(CURDIR)/debian/sm-tools-wheels/usr/share/python3-wheels + + dh_install + +override_dh_python3: + dh_python3 --shebang=/usr/bin/python3 diff --git a/service-mgmt-tools/debian/deb_folder/sm-tools.dirs b/service-mgmt-tools/debian/deb_folder/sm-tools.dirs new file mode 100644 index 00000000..b5deb123 --- /dev/null +++ b/service-mgmt-tools/debian/deb_folder/sm-tools.dirs @@ -0,0 +1,2 @@ +usr/lib/python3/dist-packages/sm_tools-1.0.0.egg-info +usr/lib/python3/dist-packages/sm_tools diff --git a/service-mgmt-tools/debian/deb_folder/sm-tools.install b/service-mgmt-tools/debian/deb_folder/sm-tools.install new file mode 100644 index 00000000..6b675870 --- /dev/null +++ b/service-mgmt-tools/debian/deb_folder/sm-tools.install @@ -0,0 +1,2 @@ +usr/lib/python3/dist-packages/* +usr/bin/* diff --git a/service-mgmt-tools/debian/deb_folder/source/format b/service-mgmt-tools/debian/deb_folder/source/format new file mode 100644 index 00000000..163aaf8d --- /dev/null +++ b/service-mgmt-tools/debian/deb_folder/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/service-mgmt-tools/debian/deb_folder/source/options b/service-mgmt-tools/debian/deb_folder/source/options new file mode 100644 index 00000000..cb61fa52 --- /dev/null +++ b/service-mgmt-tools/debian/deb_folder/source/options @@ -0,0 +1 @@ +extend-diff-ignore = "^[^/]*[.]egg-info/" diff --git a/service-mgmt-tools/debian/meta_data.yaml b/service-mgmt-tools/debian/meta_data.yaml new file mode 100644 index 00000000..607a1f12 --- /dev/null +++ b/service-mgmt-tools/debian/meta_data.yaml @@ -0,0 +1,7 @@ +--- +debname: sm-tools +debver: 1.0-1 +src_path: sm-tools +revision: + dist: $STX_DIST + PKG_GITREVCOUNT: true