From 599134bc5e30bd074423928de80d8d56bc0037d8 Mon Sep 17 00:00:00 2001 From: Pall Sigurdsson Date: Wed, 14 Mar 2012 14:16:31 +0000 Subject: [PATCH] Automatic commit of package [nagios-okplugin-check_rhcs] release [0.0.3-1]. --- check_rhcs/nagios-okplugin-check_rhcs.spec | 55 ++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 check_rhcs/nagios-okplugin-check_rhcs.spec diff --git a/check_rhcs/nagios-okplugin-check_rhcs.spec b/check_rhcs/nagios-okplugin-check_rhcs.spec new file mode 100644 index 0000000..3c47890 --- /dev/null +++ b/check_rhcs/nagios-okplugin-check_rhcs.spec @@ -0,0 +1,55 @@ +%define debug_package %{nil} + +%define plugin_name check_rhcs +%define version 0.0.3 + + +Summary: A Nagios plugin to check Red Hat Cluster suite (rhel5 and rhel6) +Name: nagios-okplugin-%{plugin_name} +Version: %{version} +Release: 1%{?dist} +License: GPLv2+ +Group: Applications/System +URL: http://opensource.is/trac/wiki/%{plugin_name} +Source0: http://opensource.ok.is/trac/browser/nagios-plugins/%{plugin_name}/releases/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Packager: Pall Sigurdsson + + +%description +%{summary} + +%prep +%setup -q +perl -pi -e "s|/usr/lib|%{_libdir}|g" nrpe.d/%{plugin_name}.cfg + +%build + + +%install +rm -rf %{buildroot} +check_rhcs check_rhcs_cman_group.sh check_rhcs_manualfencing.sh +install -D -p -m 0755 check_rhcs %{buildroot}%{_libdir}/nagios/plugins/check_rhcs +install -D -p -m 0755 check_rhcs_cman_group.sh %{buildroot}%{_libdir}/nagios/plugins/check_rhcs_cman_group.sh +install -D -p -m 0755 check_rhcs_manualfencing.sh %{buildroot}%{_libdir}/nagios/plugins/check_rhcs_manualfencing.sh + +install -D -p -m 0755 nrpe.d/%{plugin_name}.cfg %{buildroot}/etc/nrpe.d/%{plugin_name}.cfg + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +#%doc README LICENSE +%{_libdir}/nagios/plugins/* +/etc/nrpe.d/%{plugin_name}.cfg + +%changelog +* Wed Mar 14 2012 Pall Sigurdsson 0.0.3-1 +- new package built with tito + +* Wed Mar 14 2012 Pall Sigurdsson 0.0.3-1 +- new package built with tito + +* Mon Mar 12 2012 Pall Sigurdsson 0.0.2-1 +- new package built with tito