debian: Add upstream debian packaging

Add debian pacakging for those who want to build
apt-ostree from source.

This will be the base packaging for StarlingX as well.

Story: 2010844
Task: 48457

Change-Id: Id975657d1fe8c742d7571cce5d011a2bd31a5668
Signed-off-by: Charles Short <charles.short@windriver.com>
This commit is contained in:
Charles Short 2023-07-25 11:38:56 -04:00
parent 75cec62180
commit 444d65fdf1
6 changed files with 99 additions and 0 deletions

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
apt-ostree (0.0.1-1) UNRELEASED; urgency=medium
* Initial release.
-- Chuck Short <charles.short@windriver.com> Tue, 25 Jul 2023 10:51:26 -0400

39
debian/control vendored Normal file
View File

@ -0,0 +1,39 @@
Source: apt-ostree
Section: admin
Priority: optional
Maintainer: StarlingX Developers <starlingx-dev@lists.starlingx.io>
Rules-Requires-Root: no
Build-Depends:
debhelper-compat (= 13),
dh-sequence-python3,
python3-setuptools,
python3-all,
python3-pbr,
python3-click,
python3-oslotest
Standards-Version: 4.6.2
Homepage: https://opendev.org/starlingx/apt-ostree
Package: python3-apt-ostree
Architecture: all
Depends:
${python3:Depends},
${misc:Depends},
python3-click,
Suggests:
python-apt-ostree-doc,
Description: Hybrid Image/Package management system
Hybrid image/package management system.
.
This package installs the library for Python 3.
Package: python-apt-ostree-doc
Section: doc
Architecture: all
Depends:
${sphinxdoc:Depends},
${misc:Depends},
Description: Hybrid Image/package management system documentation
Hybrid package management system.
.
This is the common documentation package.

42
debian/copyright vendored Normal file
View File

@ -0,0 +1,42 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: apt-ostree
Source: https://opendev.org/starlingx/apt-ostree
Files: *
Copyright: (c) 2023 Wind River Systems, Inc
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: 2023 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'.

11
debian/rules vendored Executable file
View File

@ -0,0 +1,11 @@
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable).
# Output every command that modifies files on the build system.
#export DH_VERBOSE = 1
export PYBUILD_NAME=apt-ostree
%:
dh $@ --buildsystem=pybuild

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)

1
debian/source/options vendored Normal file
View File

@ -0,0 +1 @@
extend-diff-ignore = "^[^/]*[.]egg-info/"