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

Diff of /rpms/smeserver-nagios-backup/contribs7/smeserver-nagios-backup.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.3 by slords, Wed Apr 2 15:03:58 2008 UTC
# Line 1  Line 1 
1    # $Id$
2    # Authority: mweinber
3    # Name: Michael Weinberger
4    
5  Summary: Nagios backup integration  Summary: Nagios backup integration
6  %define name smeserver-nagios-backup  %define name smeserver-nagios-backup
7  Name: %{name}  Name: %{name}
8  %define version 1.0.3  %define version 1.0.3
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 >= 2.9  Requires: nagios >= 2.9
19    BuildRequires: e-smith-devtools
20  AutoReq: no  AutoReq: no
21    
22  %changelog  %changelog
# Line 34  and all config files and directories mus Line 38  and all config files and directories mus
38  (cfg_file and cfg_dir settings)  (cfg_file and cfg_dir settings)
39    
40  %prep  %prep
 %setup  
41  %setup -q -n %{name}-%{version}  %setup -q -n %{name}-%{version}
42    
43  %build  %build
# Line 51  rm -f %{name}-%{version}-filelist Line 54  rm -f %{name}-%{version}-filelist
54  %clean  %clean
55  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
56    
 %pre  
   
57  %post  %post
58  if [ "x`/bin/cat /proc/1/cmdline`" = "xinit [7]" ] ; then  if [ "x`/bin/cat /proc/1/cmdline`" = "xinit [7]" ] ; then
59          echo -n          echo -n


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