/[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.6 by slords, Mon Dec 6 20:48:20 2010 UTC
# Line 1  Line 1 
1    # $Id: smeserver-nagios-backup.spec,v 1.5 2008/11/25 16:20:26 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
13  Group: Applications/System  Group: Applications/System
14  Source: %{name}-%{version}.tar.gz  Source: %{name}-%{version}.tar.gz
15    Packager: Michael Weinberger <mweinber@neddix.de>
16  BuildRoot: /var/tmp/%{name}-buildroot/  BuildRoot: /var/tmp/%{name}-buildroot/
17  BuildArch: noarch  BuildArch: noarch
18  Requires: smeserver-release >= 7.1.3  Requires: smeserver-release >= 7.1.3
# Line 16  BuildRequires: e-smith-devtools Line 21  BuildRequires: e-smith-devtools
21  AutoReq: no  AutoReq: no
22    
23  %changelog  %changelog
24    * Mon Nov 17 2008 Michael Weinberger <mweinber@neddix.de> 2.0.0-1.sme
25      removed scripts from specfile
26      add PNP rrd files (/var/lib/nagios/) to backup
27    
28  * Mon Dec 03 2007 Michael Weinberger <mweinber@neddix.de>  * Mon Dec 03 2007 Michael Weinberger <mweinber@neddix.de>
29    Version 1.0.3    Version 1.0.3
30    included rrd database of nagios grapher    included rrd database of nagios grapher
# Line 34  and all config files and directories mus Line 43  and all config files and directories mus
43  (cfg_file and cfg_dir settings)  (cfg_file and cfg_dir settings)
44    
45  %prep  %prep
46  %setup -q -n %{name}-%{version}  %setup
47    
48  %build  %build
49  mkdir -p root/home/e-smith/db/nagios  mkdir -p root/home/e-smith/db/nagios
# Line 50  rm -f %{name}-%{version}-filelist Line 59  rm -f %{name}-%{version}-filelist
59  %clean  %clean
60  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
61    
 %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  
   
62  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
63  %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