/[smecontribs]/rpms/smeserver-nagios-nrpe/contribs7/smeserver-nagios-nrpe.spec
ViewVC logotype

Diff of /rpms/smeserver-nagios-nrpe/contribs7/smeserver-nagios-nrpe.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by slords, Wed Feb 27 17:53:47 2008 UTC Revision 1.2 by slords, Wed Feb 27 18:23:21 2008 UTC
# Line 4  Name: %{name} Line 4  Name: %{name}
4  %define version 1.0.3  %define version 1.0.3
5  %define release 0  %define release 0
6  Version: %{version}  Version: %{version}
7  Release: %{release}  Release: %{release}%{?dist}
8  License: GPL  License: GPL
9  Group: Applications/System  Group: Applications/System
10  Source: %{name}-%{version}.tar.gz  Source: %{name}-%{version}.tar.gz
 Packager: Michael Weinberger <mweinber@neddix.de>  
11  BuildRoot: /var/tmp/%{name}-buildroot/  BuildRoot: /var/tmp/%{name}-buildroot/
12  BuildArch: noarch  BuildArch: noarch
13  Requires: smeserver-release >= 7.1.3  Requires: smeserver-release >= 7.1.3
14  Requires: nagios-nrpe >= 2.5.2  Requires: nagios-nrpe >= 2.5.2
15  Requires: nagios-plugins-nrpe >= 2.5.2  Requires: nagios-plugins-nrpe >= 2.5.2
16  Requires: nagios-plugins  Requires: nagios-plugins
17    BuildRequires: e-smith-devtools
18    
19  AutoReq: no  AutoReq: no
20    
# Line 45  Expected Output is: "NRPE v2.5.1" Line 45  Expected Output is: "NRPE v2.5.1"
45    
46    
47  %prep  %prep
 %setup  
48  %setup -q -n %{name}-%{version}  %setup -q -n %{name}-%{version}
49    
50  %build  %build
# Line 62  find $RPM_BUILD_ROOT -depth -type l -pri Line 61  find $RPM_BUILD_ROOT -depth -type l -pri
61  %clean  %clean
62  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
63    
 %pre  
   
64  %post  %post
65  /sbin/e-smith/config printtype nrpe > /dev/null || /sbin/e-smith/config set nrpe service  /sbin/e-smith/config printtype nrpe > /dev/null || /sbin/e-smith/config set nrpe service
66  if [ "x`/bin/cat /proc/1/cmdline`" = "xinit [7]" ] ; then  if [ "x`/bin/cat /proc/1/cmdline`" = "xinit [7]" ] ; then


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed