/[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.2 by slords, Wed Feb 27 18:23:06 2008 UTC Revision 1.7 by slords, Mon Dec 6 20:50:38 2010 UTC
# Line 1  Line 1 
1    # $Id: smeserver-nagios-backup.spec,v 1.6 2010/12/06 20:48:20 slords Exp $
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 2.0.0
9  %define release 0  %define release 1
10  Version: %{version}  Version: %{version}
11  Release: %{release}%{?dist}  Release: %{release}%{?dist}
12  License: GPL  License: GPL
# Line 16  BuildRequires: e-smith-devtools Line 20  BuildRequires: e-smith-devtools
20  AutoReq: no  AutoReq: no
21    
22  %changelog  %changelog
23    * Mon Nov 17 2008 Michael Weinberger <mweinber@neddix.de> 2.0.0-1.sme
24      removed scripts from specfile
25      add PNP rrd files (/var/lib/nagios/) to backup
26    
27  * Mon Dec 03 2007 Michael Weinberger <mweinber@neddix.de>  * Mon Dec 03 2007 Michael Weinberger <mweinber@neddix.de>
28    Version 1.0.3    Version 1.0.3
29    included rrd database of nagios grapher    included rrd database of nagios grapher
# Line 34  and all config files and directories mus Line 42  and all config files and directories mus
42  (cfg_file and cfg_dir settings)  (cfg_file and cfg_dir settings)
43    
44  %prep  %prep
45  %setup -q -n %{name}-%{version}  %setup
46    
47  %build  %build
48  mkdir -p root/home/e-smith/db/nagios  mkdir -p root/home/e-smith/db/nagios
# Line 50  rm -f %{name}-%{version}-filelist Line 58  rm -f %{name}-%{version}-filelist
58  %clean  %clean
59  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
60    
 %post  
 if [ "x`/bin/cat /proc/1/cmdline`" = "xinit [7]" ] ; then  
         echo -n  
 fi  
   
 %preun  
 if [ "x`/bin/cat /proc/1/cmdline`" = "xinit [7]" ] ; then  
         echo -n  
 fi  
   
   
 %postun  
 if [ "x`/bin/cat /proc/1/cmdline`" = "xinit [7]" ] ; then  
         if [ $1 = 0 ] ; then # uninstall  
                 echo -n  
         fi  
 fi  
   
61  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
62  %defattr(-,root,root)  %defattr(-,root,root)


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