SPECS: nagios-notify.spec (NEW) - initial
glen
glen at pld-linux.org
Thu Aug 3 14:33:43 CEST 2006
Author: glen Date: Thu Aug 3 12:33:43 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial
---- Files affected:
SPECS:
nagios-notify.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/nagios-notify.spec
diff -u /dev/null SPECS/nagios-notify.spec:1.1
--- /dev/null Thu Aug 3 14:33:43 2006
+++ SPECS/nagios-notify.spec Thu Aug 3 14:33:38 2006
@@ -0,0 +1,41 @@
+# $Revision$, $Date$
+Summary: Nagios Notify Script
+Name: nagios-notify
+Version: 0.9
+Release: 0.1
+License: GPL v2
+Group: Applications
+Source0: %{name}.sh
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define _sysconfdir /etc/nagios/templates
+
+%description
+nagios-notify is template based notify script for Nagios.
+
+%prep
+%setup -qcT
+install %{SOURCE0} %{name}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_sbindir},%{_sysconfdir}}
+install %{name} $RPM_BUILD_ROOT%{_sbindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%dir %{_sysconfdir}
+%attr(755,root,root) %{_sbindir}/nagios-notify
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2006/08/03 12:33:38 glen
+- initial
+
================================================================
More information about the pld-cvs-commit
mailing list