/[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.12 by slords, Mon Mar 10 20:29:34 2008 UTC
# Line 1  Line 1 
1  Summary: Makes the SME server a dedicated rsync based backup server  Summary: Makes the SME server a dedicated rsync based backup server
2  %define name smeserver-affa  %define name smeserver-affa
3  Name: %{name}  Name: %{name}
4  %define version 0.9.0  %define version 0.10.0
5  %define release 1  %define release 0
6  Version: %{version}  Version: %{version}
7  Release: %{release}%{?dist}  Release: %{release}%{?dist}
8  License: GNU GPL (GNU General Public License)  License: GNU GPL (GNU General Public License)
# Line 20  Main purpose ist to make the SME server Line 20  Main purpose ist to make the SME server
20  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.
21    
22  %changelog  %changelog
23    * Mon Mar 10 2008 Michael Weinberger 0.10.0-0
24      Release 0.10.0
25    * Mon Mar 10 2008 Michael Weinberger 0.9.0-11
26      Specfile fix
27    * Mon Mar 10 2008 Michael Weinberger 0.9.0-10
28      Delete locally created watchdog file after remotecopy
29      Bugfix 4035
30      Added default AutoUnmount property to sample script
31      Fix man page
32      Do not delete md5sum in --create-backup-file when verify is skipped by user
33      Set lock in --create-backup-file
34    * Sun Mar 09 2008 Michael Weinberger 0.9.0-9
35      trap signals in --create-backup-file
36    * Sat Mar 08 2008 Michael Weinberger 0.9.0-8
37      Permissions in /usr/lib/affa
38    * Sat Mar 08 2008 Michael Weinberger 0.9.0-7
39      md5sum in --create-backup-file
40    * Fri Mar 07 2008 Michael Weinberger 0.9.0-6
41      Added option --create-backup-file
42      Using line number as error code in affaErrorExit()
43      Fixed /etc/profile.d/affa.sh
44      
45    * Mon Mar 03 2008 Michael Weinberger 0.9.0-5
46    - delete new style Dovecot's index files dovecot.index*
47    - delete dovecot index files on remote server in --full-restore
48    
49    * Fri Feb 29 2008 Michael Weinberger 0.9.0-4
50      set localhost as default remoteHostName in /etc/e-smith/templates//etc/cron.d/affa/00jobs
51    
52    * Wed Feb 27 2008 Michael Weinberger 0.9.0-3
53      removed %post from spec file
54    
55    * Sat Feb 02 2008 Michael Weinberger 0.9.0-2
56      Bugfix: Report db was not deleted in deleteJob()
57      don't use -q on ssh commands with Debug=yes
58    
59  * 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
60  - Fix specfile for building in new buildsystem  - Fix specfile for building in new buildsystem
61    
# Line 285  Also providing functions to backup to US Line 321  Also providing functions to backup to US
321    
322  %prep  %prep
323  %setup -q -n %{name}-%{version}  %setup -q -n %{name}-%{version}
324    #%patch0 -p1
325    
326  %build  %build
327    
# Line 295  rm -f %{name}-%{version}-filelist Line 332  rm -f %{name}-%{version}-filelist
332    
333  perl createlinks $RPM_BUILD_ROOT  perl createlinks $RPM_BUILD_ROOT
334    
335    # Set version String
336    cp -a $RPM_BUILD_ROOT/sbin/e-smith/affa $RPM_BUILD_ROOT/sbin/e-smith/affa.tmp
337    VERSIONSTRING=%{version}-`echo %{release}|sed -e 's/\..*$//'`
338    sed -e "s/my \$VERSION.*;/my \$VERSION='$VERSIONSTRING';/" < $RPM_BUILD_ROOT/sbin/e-smith/affa.tmp > $RPM_BUILD_ROOT/sbin/e-smith/affa
339    rm -f $RPM_BUILD_ROOT/sbin/e-smith/affa.tmp
340    
341  rm -f %{name}-%{version}-filelist  rm -f %{name}-%{version}-filelist
342    
343  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 345  find $RPM_BUILD_ROOT -depth -type f -pri
345   -e "s@^/sbin/e-smith/@%attr(0750,root,root) &@"\   -e "s@^/sbin/e-smith/@%attr(0750,root,root) &@"\
346   -e "s@^/etc/profile.d/@%attr(0755,root,root) &@"\   -e "s@^/etc/profile.d/@%attr(0755,root,root) &@"\
347   -e "s@^/etc/e-smith/templates/@%attr(0644,root,root) &@"\   -e "s@^/etc/e-smith/templates/@%attr(0644,root,root) &@"\
348     -e "s@^/usr/lib/affa/COPYING@%attr(0444,root,root) &@"\
349     -e "s@^/usr/lib/affa/@%attr(0750,root,root) &@"\
350   >> %{name}-%{version}-filelist   >> %{name}-%{version}-filelist
351    
352  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 356  find $RPM_BUILD_ROOT -depth -type l -pri
356  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
357  exit 0  exit 0
358    
 %post  
 /sbin/e-smith/db affa get AffaGlobalDisable > /dev/null || /sbin/e-smith/affa --make-cronjobs > /dev/null  
359    
360  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
361  %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