2023-09-18 18:10:43 +02:00
|
|
|
%define name pandora_gotty
|
|
|
|
%define version 1.0
|
|
|
|
%define release 1%{?dist}
|
|
|
|
Summary: pandora_gptty for Pandora FMS
|
|
|
|
Name: %{name}
|
|
|
|
Version: %{version}
|
|
|
|
Release: %{release}
|
|
|
|
License: GPL
|
|
|
|
Vendor: PandoraFMS
|
|
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
URL: https://pandorafms.com
|
|
|
|
Group: System/Monitoring
|
|
|
|
Packager: PandoraFMS
|
|
|
|
BuildArch: x86_64
|
|
|
|
Provides: %{name}-%{version}
|
|
|
|
|
|
|
|
%description
|
|
|
|
pandora_gotty for Pandora FMS.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
|
|
|
|
mkdir -p %{buildroot}/etc/pandora_gotty/
|
|
|
|
cp %{name} $RPM_BUILD_ROOT/%{_bindir}
|
2023-09-19 10:44:41 +02:00
|
|
|
cp pandora_gotty.conf %{buildroot}/etc/pandora_gotty/
|
2023-09-18 18:10:43 +02:00
|
|
|
%clean
|
|
|
|
rm -Rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2023-09-19 10:44:41 +02:00
|
|
|
%config(noreplace) /etc/pandora_gotty/pandora_gotty.conf
|
2023-09-18 18:10:43 +02:00
|
|
|
%{_bindir}/%{name}
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Mon Sep 18 2023 PandoraFMS - 1.0-1
|
|
|
|
- Initial RPM release
|