/[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.2 by slords, Wed Feb 27 18:23:27 2008 UTC
# Line 4  Name: %{name} Line 4  Name: %{name}
4  %define version 1.0.1  %define version 1.0.1
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-nsca >= 2.6  Requires: nagios-nsca >= 2.6
15    BuildRequires: e-smith-devtools
16  AutoReq: no  AutoReq: no
17    
18  %changelog  %changelog
# Line 28  expand-template /etc/hosts.allow Line 28  expand-template /etc/hosts.allow
28    
29    
30  %prep  %prep
 %setup  
31  %setup -q -n %{name}-%{version}  %setup -q -n %{name}-%{version}
32    
33  %build  %build
# Line 45  find $RPM_BUILD_ROOT -depth -type l -pri Line 44  find $RPM_BUILD_ROOT -depth -type l -pri
44  %clean  %clean
45  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
46    
 %pre  
   
47  %post  %post
48  /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
49  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