Name: snmpcheck Version: 1.8 Release: 4%{?dist} Summary: An utility to get information via SNMP protocols Group: Applications/Internet License: GPLv3+ URL: http://www.nothink.org/perl/snmpcheck/ Source0: http://www.nothink.org/perl/snmpcheck/downloads/%{name}-%{version}.pl #Manual page Source1: snmpcheck.1 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description snmpcheck supports the following enumerations: * Contact * Description * Devices * Domain * Hardware and storage information * Hostname * IIS statistics * IP forwarding * Listening UDP ports * Location * Motd * Mountpoints * Network interfaces * Network services * Processes * Routing information * Software components (Windows programs or RPMs etc.) * System Uptime * TCP connections * Total Memory * Uptime * User accounts * Web server information (IIS) %prep %build %install rm -rf %{buildroot} install -d %{buildroot}%{_bindir} install -p -m 0755 %{SOURCE0} %{buildroot}%{_bindir}/%{name} install -d %{buildroot}%{_mandir}/man1 install -p -m 0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/%{name}.1 %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %{_bindir}/%{name} %{_mandir}/man1/%{name}.1.* %changelog * Sun May 27 2012 Michal Ambroz - 1.8-4 - modifications based on the review comments * Sun May 20 2012 Michal Ambroz - 1.8-3 - fixed manpage * Sun Jan 22 2012 Michal Ambroz - 1.8-2 - added manpage * Sun Jan 22 2012 Michal Ambroz - 1.8-1 - bump to version 1.8 * Sat Feb 13 2010 Nikolay Ulyanitsky - 1.7-1 - Initial package build