c63ad80c23
1. Rename Titanium Cloud to StarlingX for .spec files 2. Rename Titanium Cloud to StarlingX for .service file Test: After the de-brand change, bootimage.iso has built in the flock layer and installed on the dev machine to validate the changes. Please note, doing de-brand changes in batches, this is batch2 changes. Change-Id: I63ab8cda38c45240198f37d1f30c95e0b02da3e1 Story: 2006387 Task: 36204 Signed-off-by: Sharath Kumar K <sharath.kumar@intel.com>
46 lines
1.3 KiB
RPMSpec
46 lines
1.3 KiB
RPMSpec
Summary: CGTS Platform Fault Management Documentation Package
|
|
Name: fm-doc
|
|
Version: 1.0
|
|
Release: %{tis_patch_ver}%{?_tis_dist}
|
|
License: Apache-2.0
|
|
Group: base
|
|
Packager: Wind River <info@windriver.com>
|
|
URL: unknown
|
|
BuildRequires: fm-api-doc
|
|
BuildRequires: fm-common-doc
|
|
BuildRequires: python-yaml
|
|
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
%define cgcs_doc_deploy_dir /opt/deploy/cgcs_doc
|
|
|
|
%description
|
|
A yaml file description of the CGTS Alarms and Customer Logs generated by
|
|
the StarlingX System. Also included and used at build time is a simple syntax
|
|
checker to ensure no duplicate IDs are used, and generally the correct
|
|
field values are documented.
|
|
|
|
%prep
|
|
%setup
|
|
|
|
%install
|
|
CGCS_DOC_DEPLOY=$RPM_BUILD_ROOT/%{cgcs_doc_deploy_dir}
|
|
install -d $CGCS_DOC_DEPLOY
|
|
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/fm/
|
|
install -m 744 events.yaml $RPM_BUILD_ROOT/%{_sysconfdir}/fm/
|
|
install -m 644 events.yaml $CGCS_DOC_DEPLOY
|
|
install -m 755 checkEventYaml $CGCS_DOC_DEPLOY
|
|
install -m 644 parseEventYaml.py $CGCS_DOC_DEPLOY
|
|
install -m 644 check_missing_alarms.py $CGCS_DOC_DEPLOY
|
|
pushd $CGCS_DOC_DEPLOY
|
|
cp %{cgcs_doc_deploy_dir}/constants.py %{cgcs_doc_deploy_dir}/fmAlarm.h .
|
|
./checkEventYaml
|
|
rm constants.py* fmAlarm.h*
|
|
popd
|
|
|
|
%files
|
|
%license LICENSE
|
|
%defattr(-,root,root,-)
|
|
%{cgcs_doc_deploy_dir}/*
|
|
%{_sysconfdir}/fm/events.yaml
|