/[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.2 by mweinber, Wed Feb 27 16:36:44 2008 UTC Revision 1.9 by mweinber, Sun Mar 9 12:20:23 2008 UTC
# Line 2  Summary: Makes the SME server a dedicate Line 2  Summary: Makes the SME server a dedicate
2  %define name smeserver-affa  %define name smeserver-affa
3  Name: %{name}  Name: %{name}
4  %define version 0.9.0  %define version 0.9.0
5  %define release 2  %define release 9
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 15  Requires: smeserver-release >= 7 Line 15  Requires: smeserver-release >= 7
15  Requires: perl-Filesys-DiskFree  Requires: perl-Filesys-DiskFree
16  BuildRequires: e-smith-devtools  BuildRequires: e-smith-devtools
17  Patch0: smeserver-affa-0.9.0-debugsshquiet.patch  Patch0: smeserver-affa-0.9.0-debugsshquiet.patch
18    Patch1: smeserver-affa-0.9.0-defaultRemoteHostName.patch
19    Patch2: smeserver-affa-0.9.0-dovecotDeleteNewStyleIndexFiles.patch
20    Patch3: smeserver-affa-0.9.0-createBackupFileOption.patch
21    Patch4: smeserver-affa-0.9.0-createBackupFileOption2.patch
22    Patch5: smeserver-affa-0.9.0-trapsignals.patch
23    
24  %description  %description
25  Main purpose ist to make the SME server a dedicated rsync based backup server.  Main purpose ist to make the SME server a dedicated rsync based backup server.
26  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.
27    
28  %changelog  %changelog
29    * Sun Mar 09 2008 Michael Weinberger 0.9.0-9
30      trap signals in --create-backup-file
31    * Sat Mar 08 2008 Michael Weinberger 0.9.0-8
32      Permissions in /usr/lib/affa
33    * Sat Mar 08 2008 Michael Weinberger 0.9.0-7
34      md5sum in --create-backup-file
35    * Fri Mar 07 2008 Michael Weinberger 0.9.0-6
36      Added option --create-backup-file
37      Using line number as error code in affaErrorExit()
38      Fixed /etc/profile.d/affa.sh
39      
40    * Mon Mar 03 2008 Michael Weinberger 0.9.0-5
41    - delete new style Dovecot's index files dovecot.index*
42    - delete dovecot index files on remote server in --full-restore
43    
44    * Fri Feb 29 2008 Michael Weinberger 0.9.0-4
45      set localhost as default remoteHostName in /etc/e-smith/templates//etc/cron.d/affa/00jobs
46    
47    * Wed Feb 27 2008 Michael Weinberger 0.9.0-3
48      removed %post from spec file
49    
50  * Sat Feb 02 2008 Michael Weinberger 0.9.0-2  * Sat Feb 02 2008 Michael Weinberger 0.9.0-2
51    Bugfix: Report db was not deleted in deleteJob()    Bugfix: Report db was not deleted in deleteJob()
52    don't use -q on ssh commands with Debug=yes    don't use -q on ssh commands with Debug=yes
# Line 290  Also providing functions to backup to US Line 316  Also providing functions to backup to US
316    
317  %prep  %prep
318  %setup -q -n %{name}-%{version}  %setup -q -n %{name}-%{version}
319  %patch0 -p1 -b .debugsshquiet  %patch0 -p1
320    %patch1 -p1
321    %patch2 -p1
322    %patch3 -p1
323    %patch4 -p1
324    %patch5 -p1
325    
326  %build  %build
327    
# Line 314  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 323  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