Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
>
nagios-plugins-diskio
> check_diskio.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File check_diskio.spec of Package nagios-plugins-diskio
%define version 3.2.6 %define release 1 %define pkgname check_diskio %define _plugindir /usr/lib/nagios/plugins Summary: Nagios plugin to monitor the amount of disk I/O Name: nagios-plugins-diskio Provides: nagios-plugins-check_diskio Version: %{version} Release: %{release} License: GPL Group: Applications/System BuildRoot: %{_tmppath}/%{pkgname}-%{version}-root Source: http://www.id.ethz.ch/people/allid_list/corti/%{pkgname}-%{version}.tar.bz2 BuildArch: noarch BuildRequires: perl-Nagios-Plugin %if 0%{?centos_version} >= 800 BuildRequires: perl(Module::Install) %endif %description Nagios plugin to monitor the amount of disk I/O %prep %setup -q -n %{pkgname}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor \ INSTALLSCRIPT=%{_plugindir} \ INSTALLVENDORSCRIPT=%{_plugindir} %__make #__perl Makefile.PL INSTALLSCRIPT=%{_plugindir} \ # INSTALLSITEMAN3DIR=%{_mandir}/man3 \ # INSTALLSITESCRIPT=%{_plugindir} #__make chmod -x AUTHORS Changes NEWS README INSTALL TODO COPYING %install %__make DESTDIR=%{buildroot} install rm -rf %{buildroot}%{_prefix}/lib/perl5 rm -rf %{buildroot}%{_prefix}/%{_lib}/perl5 rm -rf %{buildroot}%{_datadir}/perl5 %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) %doc AUTHORS Changes NEWS README INSTALL TODO COPYING %dir %{_prefix}/lib/nagios %dir %{_prefix}/lib/nagios/plugins %attr(0755, root, root) %{_plugindir}/%{pkgname} %attr(0755, root, root) %{_mandir}/man1/%{pkgname}.1* %changelog * Sun Oct 24 2010 Carsten Schoene <cs@linux-administrator.com> - 3.2.3-1 - update to release 3.2.3 * Tue May 25 2010 Carsten Schoene <cs@linux-administrator.com> - 3.2.0-1 - update to release 3.2.0 * Sun Apr 18 2010 Carsten Schoeen <cs@linux-administrator.com> - 3.1.1-1 - update to release 3.1.1 * Sun Feb 21 2010 Carsten Schoene <cs@linux-administrator.com> - 3.1.0-1 - update to release 3.1.0 * Wed Jun 10 2009 Carsten Schoene <cs@linux-administrator.com> - 3.0.3-1 - update to release 3.0.3 - support for HP Smart Array card partition naming * Sat May 16 2009 Carsten Schoene <cs@linux-administrator.com> - 3.0.1-1 - update to release 3.0.1 - This release fixes a bug that prevented the plugin from being used in Nagios setups using embedded Perl * Thu Jan 22 2009 Carsten Schoene <cs@linux-administrator.com> - 3.0.0-1 - import to BS * Tue Jan 20 2009 Matteo Corti <matteo.corti@id.ethz.ch> - 3.0.0-0 - multiple devices and LVM * Sun Oct 26 2008 Matteo Corti <matteo.corti@id.ethz.ch> - 2.2.1-0 - added dependency on Class::Accessor::Fast * Thu Apr 10 2008 Matteo Corti <matteo.corti@id.ethz.ch> - 2.2.0-0 - --device can be specified as a mount point * Fri Mar 21 2008 Matteo Corti <matteo.corti@id.ethz.ch> - 2.1.2-0 - fixed missing usage message * Thu Mar 20 2008 Matteo Corti <matteo.corti@id.ethz.ch> - 2.1.1-0 - ePN compatibility * Thu Nov 22 2007 Matteo Corti <matteo.corti@id.ethz.ch> - 2.1.0-0 - upgraded to 2.1.0 * Wed Oct 31 2007 Matteo Corti <matteo.corti@id.ethz.ch> - 2.0.1-0 - upgraded to 2.0.1 (bug fix) * Tue Oct 30 2007 Matteo Corti <matteo.corti@id.ethz.ch> - 2.0.0-0 - upgraded to 2.0.0 * Mon Sep 24 2007 Matteo Corti <matteo.corti@id.ethz.ch> - 1.4.0-0 - First RPM package