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

Diff of /rpms/smeserver-affa/contribs7/smeserver-affa.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by slords, Tue Feb 26 01:05:31 2008 UTC Revision 1.16 by slords, Sun Apr 6 14:57:52 2008 UTC
# Line 1  Line 1 
1    # $Id: smeserver-affa.spec,v 1.15 2008/04/04 12:55:46 mweinber Exp $
2    # Authority: mweinber
3    # Name: Michael Weinberger
4    
5  Summary: Makes the SME server a dedicated rsync based backup server  Summary: Makes the SME server a dedicated rsync based backup server
6  %define name smeserver-affa  %define name smeserver-affa
7  Name: %{name}  Name: %{name}
8  %define version 0.9.0  %define version 1.0.0
9  %define release 1  %define release 1
10  Version: %{version}  Version: %{version}
11  Release: %{release}%{?dist}  Release: %{release}%{?dist}
# Line 20  Main purpose ist to make the SME server Line 24  Main purpose ist to make the SME server
24  Also providing functions to backup to USB disks or SMB shares in SOHO environments.  Also providing functions to backup to USB disks or SMB shares in SOHO environments.
25    
26  %changelog  %changelog
27    * Fri Apr 04 2008 Michael Weinberger 1.0.0-1
28      Final release
29      man page updated
30    
31    * Fri Apr 04 2008 Michael Weinberger 0.10.0-2
32      added --all option to --rise
33    
34    * Mon Mar 10 2008 Michael Weinberger 0.10.0-1
35      Increased release number
36      Added 10 sec timeout in Net::DNS::Resolver->search
37    * Mon Mar 10 2008 Michael Weinberger 0.9.0-11
38      Specfile fix
39    * Mon Mar 10 2008 Michael Weinberger 0.9.0-10
40      Delete locally created watchdog file after remotecopy
41      Bugfix 4035
42      Added default AutoUnmount property to sample script
43      Fix man page
44      Do not delete md5sum in --create-backup-file when verify is skipped by user
45      Set lock in --create-backup-file
46    * Sun Mar 09 2008 Michael Weinberger 0.9.0-9
47      trap signals in --create-backup-file
48    * Sat Mar 08 2008 Michael Weinberger 0.9.0-8
49      Permissions in /usr/lib/affa
50    * Sat Mar 08 2008 Michael Weinberger 0.9.0-7
51      md5sum in --create-backup-file
52    * Fri Mar 07 2008 Michael Weinberger 0.9.0-6
53      Added option --create-backup-file
54      Using line number as error code in affaErrorExit()
55      Fixed /etc/profile.d/affa.sh
56      
57    * Mon Mar 03 2008 Michael Weinberger 0.9.0-5
58    - delete new style Dovecot's index files dovecot.index*
59    - delete dovecot index files on remote server in --full-restore
60    
61    * Fri Feb 29 2008 Michael Weinberger 0.9.0-4
62      set localhost as default remoteHostName in /etc/e-smith/templates//etc/cron.d/affa/00jobs
63    
64    * Wed Feb 27 2008 Michael Weinberger 0.9.0-3
65      removed %post from spec file
66    
67    * Sat Feb 02 2008 Michael Weinberger 0.9.0-2
68      Bugfix: Report db was not deleted in deleteJob()
69      don't use -q on ssh commands with Debug=yes
70    
71  * Fri Feb 1 2008 Shad L. Lords <slords@mail.com> 0.9.0-1  * Fri Feb 1 2008 Shad L. Lords <slords@mail.com> 0.9.0-1
72  - Fix specfile for building in new buildsystem  - Fix specfile for building in new buildsystem
73    
# Line 295  rm -f %{name}-%{version}-filelist Line 343  rm -f %{name}-%{version}-filelist
343    
344  perl createlinks $RPM_BUILD_ROOT  perl createlinks $RPM_BUILD_ROOT
345    
346    # Set version String
347    cp -a $RPM_BUILD_ROOT/sbin/e-smith/affa $RPM_BUILD_ROOT/sbin/e-smith/affa.tmp
348    VERSIONSTRING=%{version}-`echo %{release}|sed -e 's/\..*$//'`
349    sed -e "s/my \$VERSION.*;/my \$VERSION='$VERSIONSTRING';/" < $RPM_BUILD_ROOT/sbin/e-smith/affa.tmp > $RPM_BUILD_ROOT/sbin/e-smith/affa
350    rm -f $RPM_BUILD_ROOT/sbin/e-smith/affa.tmp
351    
352  rm -f %{name}-%{version}-filelist  rm -f %{name}-%{version}-filelist
353    
354  find $RPM_BUILD_ROOT -depth -type f -print |\  find $RPM_BUILD_ROOT -depth -type f -print |\
# Line 302  find $RPM_BUILD_ROOT -depth -type f -pri Line 356  find $RPM_BUILD_ROOT -depth -type f -pri
356   -e "s@^/sbin/e-smith/@%attr(0750,root,root) &@"\   -e "s@^/sbin/e-smith/@%attr(0750,root,root) &@"\
357   -e "s@^/etc/profile.d/@%attr(0755,root,root) &@"\   -e "s@^/etc/profile.d/@%attr(0755,root,root) &@"\
358   -e "s@^/etc/e-smith/templates/@%attr(0644,root,root) &@"\   -e "s@^/etc/e-smith/templates/@%attr(0644,root,root) &@"\
359     -e "s@^/usr/lib/affa/COPYING@%attr(0444,root,root) &@"\
360     -e "s@^/usr/lib/affa/@%attr(0750,root,root) &@"\
361   >> %{name}-%{version}-filelist   >> %{name}-%{version}-filelist
362    
363  find $RPM_BUILD_ROOT -depth -type l -print |\  find $RPM_BUILD_ROOT -depth -type l -print |\
# Line 311  find $RPM_BUILD_ROOT -depth -type l -pri Line 367  find $RPM_BUILD_ROOT -depth -type l -pri
367  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
368  exit 0  exit 0
369    
 %post  
 /sbin/e-smith/db affa get AffaGlobalDisable > /dev/null || /sbin/e-smith/affa --make-cronjobs > /dev/null  
370    
371  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
372  %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