2e293e0894
Story: 2005542 Task: 30714 Change-Id: If1573deac5f1a0f0cfe8bb8c5fba5b4bb2e1a7c3 Signed-off-by: Erich Cordoba <erich.cordoba.malibran@intel.com>
47 lines
972 B
RPMSpec
47 lines
972 B
RPMSpec
Summary: Titanuim Server influxdb Extensions Package
|
|
Name: influxdb-extensions
|
|
Version: 1.0
|
|
Release: 0%{?_tis_dist}.%{tis_patch_ver}
|
|
License: ASL 2.0
|
|
Group: base
|
|
Packager: Wind River <info@windriver.com>
|
|
URL: unknown
|
|
|
|
# create the files tarball
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
source1: influxdb.service
|
|
Source2: influxdb.conf.pmon
|
|
|
|
Requires: systemd
|
|
Requires: influxdb
|
|
Requires: /bin/systemctl
|
|
|
|
%description
|
|
Titanium Cloud influxdb extensions
|
|
|
|
%define debug_package %{nil}
|
|
%define local_unit_dir %{_sysconfdir}/systemd/system
|
|
|
|
%prep
|
|
%setup
|
|
|
|
%build
|
|
|
|
%install
|
|
install -m 755 -d %{buildroot}%{_sysconfdir}
|
|
install -m 755 -d %{buildroot}%{_sysconfdir}/influxdb
|
|
install -m 755 -d %{buildroot}%{local_unit_dir}
|
|
|
|
install -m 644 %{SOURCE1} %{buildroot}%{local_unit_dir}
|
|
install -m 600 %{SOURCE2} %{buildroot}%{_sysconfdir}/influxdb
|
|
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%config(noreplace) %{local_unit_dir}/influxdb.service
|
|
%{_sysconfdir}/influxdb/*
|