%define debug_package %{nil} Summary: A Nagios plugin to check if veeam linux agent is backing up Name: nagios-okplugin-check_veeam_agent_backup Version: 1.0.2.0 Release: 1%{dist} License: GPLv3+ Group: Applications/System URL: https://github.com/opinkerfi/check_veeam_agent_backup/issues Source0: nagios-okplugin-check_veeam_agent_backup-1.0.2.0.tar.xz Requires: nagios-nrpe Requires: veeam Requires: veeamsnap BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Packager: Samúel Jón Gunnarsson %description A Nagios plugin to check if veeam linux agent is doing successful backups %prep %setup -q -n nagios-okplugin-check_veeam_agent_backup-1.0.2.0 %build %install rm -rf %{buildroot} install -D -p -m 0755 check_veeam_agent_backup.sh %{buildroot}%{_libdir}/nagios/plugins/check_veeam_agent_backup.sh install -D -p -m 0755 nrpe.d/check_veeam_agent_backup.cfg %{buildroot}/etc/nrpe.d/check_veeam_agent_backup.cfg %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc README LICENSE %{_libdir}/nagios/plugins/* /etc/nrpe.d/check_veeam_agent_backup.cfg %post restorecon -v %{_libdir}/nagios/plugins/check_veeam_agent_backup.sh usermod -a -G veeam nrpe %changelog * Wed Oct 11 2017 PackPack - 1.0.2.0-1 - Automated build * Wed Oct 10 2017 Samúel Jón Gunnarsson 1.0.2-1 - Removed sudo command dependency, using veeam group instead. Updated README. * Wed Oct 10 2017 Samúel Jón Gunnarsson 1.0.1-1 - Added nrpe.d configuration item for the command * Wed Sep 27 2017 Samúel Jón Gunnarsson 1.0.0-1 - Initial packaging