From 4b4ffe746baafdc709e4ab7dd4afc98a2f4ff579 Mon Sep 17 00:00:00 2001 From: Themis Zamani Date: Tue, 27 Nov 2018 12:51:33 +0200 Subject: [PATCH] Add spec file to b2share --- nagios-plugins-eudat-b2share.spec | 39 +++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 nagios-plugins-eudat-b2share.spec diff --git a/nagios-plugins-eudat-b2share.spec b/nagios-plugins-eudat-b2share.spec new file mode 100644 index 0000000..f80630a --- /dev/null +++ b/nagios-plugins-eudat-b2share.spec @@ -0,0 +1,39 @@ +Name: nagios-plugins-eudat-b2share +Version: 0.5 +Release: 1%{?dist} +Summary: Nagios probe for B2SHARE +License: GPLv3+ +Packager: Themis Zamani + +Source: %{name}-%{version}.tar.gz +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version} +AutoReqProv: no + +%description +Nagios probe to check functionality of B2SHARE service + +%prep +%setup -q + +%define _unpackaged_files_terminate_build 0 + +%install + +install -d %{buildroot}/%{_libexecdir}/argo-monitoring/probes/eudat-b2share +install -d %{buildroot}/%{_sysconfdir}/nagios/plugins/eudat-b2share +install -m 755 check_b2share.py %{buildroot}/%{_libexecdir}/argo-monitoring/probes/eudat-b2share/check_b2share.py + +%files +%dir /%{_libexecdir}/argo-monitoring +%dir /%{_libexecdir}/argo-monitoring/probes/ +%dir /%{_libexecdir}/argo-monitoring/probes/eudat-b2share + +%attr(0755,root,root) /%{_libexecdir}/argo-monitoring/probes//eudat-b2share/check_b2share.py + +%changelog +* Tue Nov 27 2018 Themis Zamani - 0.1-1 +- Initial version of the package. +* Tue Nov 27 2018 Harri Hirvonsalo - 0.1-1 +- Initial version of the package. +