Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
>
nagios-plugins-check_dir
> check_dir.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File check_dir.spec of Package nagios-plugins-check_dir (Revision 4)
Currently displaying revision
4
,
show latest
%define version 2.1.5 %define release 0 %define pkgname nagios-plugins-check_dir %define srcname check_dir %define _nagdir %{_prefix}/lib/nagios %define _plugindir %{_nagdir}/plugins Summary: Nagios plugin to monitor the number of files in one or more directories. Name: %{pkgname} Version: %{version} Release: %{release} License: GPL Group: Applications/System BuildRoot: %{_tmppath}/%{name}-%{version}-root Source: http://www.id.ethz.ch/people/allid_list/corti/%{srcname}-%{version}.tar.gz BuildArch: noarch %description Nagios plugin to monitor the number of files in one or more directories. %prep %setup -q -n %{srcname}-%{version} %build %__perl Makefile.PL INSTALLSCRIPT=%{_plugindir} \ INSTALLSITEMAN3DIR=%{_mandir}/man3 \ INSTALLSITESCRIPT=%{_plugindir} \ INSTALLSCRIPT=%{_plugindir} %__make chmod -x AUTHORS Changes NEWS README INSTALL TODO COPYING VERSION %install %__make DESTDIR=%{buildroot} install rm -rf %{buildroot}%{_prefix}/lib/perl5 rm -rf %{buildroot}%{_prefix}/%{_lib}/perl5 %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) %doc AUTHORS Changes NEWS README INSTALL TODO COPYING VERSION %dir %{_nagdir} %dir %{_plugindir} %attr(0755, root, root) %{_plugindir}/%{srcname} %attr(0755, root, root) /usr/share/man/man3/%{srcname}.3pm.gz %changelog * Fri Mar 21 2008 Matteo Corti <matteo.corti@id.ethz.ch> - 2.1.5-0 - fixed the missing usage message * Thu Mar 20 2008 Matteo Corti <matteo.corti@id.ethz.ch> - 2.1.4-0 - added -d (which was automatic w/o the option bundling introduced in 2.1.3) * Thu Mar 20 2008 Matteo Corti <matteo.corti@id.ethz.ch> - 2.1.3-0 - short command line options can be bundled and are case sensitive * Thu Mar 20 2008 Matteo Corti <matteo.corti@id.ethz.ch> - 2.1.2-0 - ePN compatibility * Tue Mar 18 2008 Matteo Corti <matteo.corti@id.ethz.ch> - 2.1.1-0 - added more sanity checks * Tue Mar 18 2008 Matteo Corti <matteo.corti@id.ethz.ch> - 2.1.0-0 - accepts ranges for -c and -w * Mon Sep 24 2007 Matteo Corti <matteo.corti@id.ethz.ch> - 1.2-0 - first RPM package # /usr/share/man/man1/check_dir.1