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

Diff of /rpms/smeserver-nagios-nsca/contribs7/smeserver-nagios-nsca.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.5 by slords, Tue Nov 25 16:20:27 2008 UTC
# Line 1  Line 1 
1    # $Id: smeserver-nagios-nsca.spec,v 1.3 2008/04/02 15:03:58 slords Exp $
2    # Authority: mweinber
3    # Name: Michael Weinberger
4    
5  Summary: Nagios nsca integration  Summary: Nagios nsca integration
6  %define name smeserver-nagios-nsca  %define name smeserver-nagios-nsca
7  Name: %{name}  Name: %{name}
8  %define version 1.0.1  %define version 1.0.1
9  %define release 0  %define release 0
10  Version: %{version}  Version: %{version}
11  Release: %{release}  Release: %{release}%{?dist}
12  License: GPL  License: GPL
13  Group: Applications/System  Group: Applications/System
14  Source: %{name}-%{version}.tar.gz  Source: %{name}-%{version}.tar.gz
 Packager: Michael Weinberger <mweinber@neddix.de>  
15  BuildRoot: /var/tmp/%{name}-buildroot/  BuildRoot: /var/tmp/%{name}-buildroot/
16  BuildArch: noarch  BuildArch: noarch
17  Requires: smeserver-release >= 7.1.3  Requires: smeserver-release >= 7.1.3
18  Requires: nagios-nsca >= 2.6  Requires: nagios-nsca >= 2.6
19    BuildRequires: e-smith-devtools
20  AutoReq: no  AutoReq: no
21    
22  %changelog  %changelog
# Line 28  expand-template /etc/hosts.allow Line 32  expand-template /etc/hosts.allow
32    
33    
34  %prep  %prep
 %setup  
35  %setup -q -n %{name}-%{version}  %setup -q -n %{name}-%{version}
36    
37  %build  %build
# Line 45  find $RPM_BUILD_ROOT -depth -type l -pri Line 48  find $RPM_BUILD_ROOT -depth -type l -pri
48  %clean  %clean
49  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
50    
 %pre  
   
51  %post  %post
52  /sbin/e-smith/config printtype nsca > /dev/null || /sbin/e-smith/config set nsca service  /sbin/e-smith/config printtype nsca > /dev/null || /sbin/e-smith/config set nsca service
53  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