SPECS: nagios-plugin-gwfl-snmp.spec (NEW) -PLD initial release
luzik
luzik at pld-linux.org
Mon Aug 6 07:22:22 CEST 2007
Author: luzik Date: Mon Aug 6 05:22:22 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
-PLD initial release
---- Files affected:
SPECS:
nagios-plugin-gwfl-snmp.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/nagios-plugin-gwfl-snmp.spec
diff -u /dev/null SPECS/nagios-plugin-gwfl-snmp.spec:1.1
--- /dev/null Mon Aug 6 07:22:22 2007
+++ SPECS/nagios-plugin-gwfl-snmp.spec Mon Aug 6 07:22:17 2007
@@ -0,0 +1,58 @@
+# $Revision$, $Date$
+%define _proj_name gwfl-nagios-plugins
+Summary: GWFL snmp checks for nagios
+Summary(pl.UTF-8): -
+Name: nagios-plugin-gwfl-snmp
+Version: 2.1
+Release: 1
+License: GPL v2
+Group: Networking
+Source0: http://gwfl.daimonic.org/files/%{_proj_name}-%{version}.tar.gz
+# Source0-md5: 14d3fa6075107d7a2decb02724d506e2
+Patch0: %{_proj_name}.v2.patch
+URL: http://gwfl.daimonic.org/index.pl?p=nagiosplugs
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+GWFL snmp checks for nagios check_snmp_mem_free check_snmp_mem_used
+check_snmp_cpu check_snmp_disk check_snmp_fans check_snmp_load
+check_snmp_phydrv check_snmp_psus check_snmp_swap check_snmp_temps
+check_snmp_totalprocs
+
+%description -l pl.UTF-8
+GWFL snmp checks for nagios check_snmp_mem_free check_snmp_mem_used
+check_snmp_cpu check_snmp_disk check_snmp_fans check_snmp_load
+check_snmp_phydrv check_snmp_psus check_snmp_swap check_snmp_temps
+check_snmp_totalprocs
+
+%prep
+%setup -q -n %{_proj_name}-%{version}
+%patch0 -p 1
+
+%build
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_libdir}/nagios/plugins
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT%{_libdir}/nagios/plugins
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog README
+%attr(755,root,root) %{_libdir}/nagios/plugins/*
+
+%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 2007/08/06 05:22:17 luzik
+-PLD initial release
+
================================================================
More information about the pld-cvs-commit
mailing list