Merge "Add debian package for utilities/build-info"

This commit is contained in:
Zuul
2022-01-10 18:35:28 +00:00
committed by Gerrit Code Review
10 changed files with 102 additions and 1 deletions
@@ -11,7 +11,7 @@ centOSBuildRoot=".."
jenkinsBuildFileName="BUILD"
jenkinsBuildFile="$root/$jenkinsBuildFileName"
jenkinsBuildFileCentOS="$centOSBuildRoot/$jenkinsBuildFileName"
releaseInfoFile="../release-info.inc"
releaseInfoFile=${1:-../release-info.inc}
destFile="build.info"
destH="build_info.h"
@@ -0,0 +1 @@
usr/include/*
@@ -0,0 +1 @@
etc/*
@@ -0,0 +1,5 @@
build-info (1.0-1) unstable; urgency=medium
* Initial release.
-- Leonardo Fagundes Luz Serrano <Leonardo.FagundesLuzSerrano@windriver.com> Fri, 29 Oct 2021 14:33:14 -0300
@@ -0,0 +1 @@
10
@@ -0,0 +1,21 @@
Source: build-info
Section: admin
Priority: optional
Maintainer: StarlingX Developers <starlingx-discuss@lists.starlingx.io>
Build-Depends: debhelper (>= 13),
git,
Standards-Version: 4.1.2
Homepage: https://www.starlingx.io
Package: build-info
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: StarlingX build information package
This package handles Build Info
Package: build-info-dev
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Build Info - Development files
This package contains symbolic links, header files,
and related items necessary for software development.
@@ -0,0 +1,44 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: build-info
Upstream-Contact: StarlingX Developers <starlingx-discuss@lists.starlingx.io>
Source: https://opendev.org/starlingx/utilities
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'.
+18
View File
@@ -0,0 +1,18 @@
#!/usr/bin/make -f
export LOCAL_ETCDIR = etc
export LOCAL_INCDIR = usr/include
%:
dh $@
override_dh_auto_install:
./collect.sh ./release-info.inc
dh_auto_install
override_dh_install:
install -d -m 755 ${LOCAL_ETCDIR}
install -p -m 644 build.info ${LOCAL_ETCDIR}
install -d -m 755 ${LOCAL_INCDIR}
install -p -m 644 build_info.h ${LOCAL_INCDIR}
dh_install
@@ -0,0 +1 @@
3.0 (quilt)
@@ -0,0 +1,9 @@
---
debname: build-info
debver: 1.0-1
src_path: build-info-1.0
src_files:
- release-info.inc
revision:
dist: $STX_DIST
PKG_GITREVCOUNT: true