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 3 |
%define release 10 |
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) |
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 |
|
Patch5: smeserver-affa-0.9.0-trapsignals.patch |
24 |
|
Patch6: smeserver-affa-0.9.0-bug4035.patch |
25 |
|
|
26 |
%description |
%description |
27 |
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. |
28 |
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. |
29 |
|
|
30 |
%changelog |
%changelog |
31 |
|
* Mon Mar 10 2008 Michael Weinberger 0.9.0-10 |
32 |
|
Delete locally created watchdog file after remotecopy |
33 |
|
Bugfix 4035 |
34 |
|
Added default AutoUnmount property to sample script |
35 |
|
Fix man page |
36 |
|
Do not delete md5sum in --create-backup-file when verify is skipped by user |
37 |
|
Set lock in --create-backup-file |
38 |
|
* Sun Mar 09 2008 Michael Weinberger 0.9.0-9 |
39 |
|
trap signals in --create-backup-file |
40 |
|
* Sat Mar 08 2008 Michael Weinberger 0.9.0-8 |
41 |
|
Permissions in /usr/lib/affa |
42 |
|
* Sat Mar 08 2008 Michael Weinberger 0.9.0-7 |
43 |
|
md5sum in --create-backup-file |
44 |
|
* Fri Mar 07 2008 Michael Weinberger 0.9.0-6 |
45 |
|
Added option --create-backup-file |
46 |
|
Using line number as error code in affaErrorExit() |
47 |
|
Fixed /etc/profile.d/affa.sh |
48 |
|
|
49 |
|
* Mon Mar 03 2008 Michael Weinberger 0.9.0-5 |
50 |
|
- delete new style Dovecot's index files dovecot.index* |
51 |
|
- delete dovecot index files on remote server in --full-restore |
52 |
|
|
53 |
|
* Fri Feb 29 2008 Michael Weinberger 0.9.0-4 |
54 |
|
set localhost as default remoteHostName in /etc/e-smith/templates//etc/cron.d/affa/00jobs |
55 |
|
|
56 |
* Wed Feb 27 2008 Michael Weinberger 0.9.0-3 |
* Wed Feb 27 2008 Michael Weinberger 0.9.0-3 |
57 |
removed %post from spec file |
removed %post from spec file |
58 |
|
|
59 |
* Sat Feb 02 2008 Michael Weinberger 0.9.0-2 |
* Sat Feb 02 2008 Michael Weinberger 0.9.0-2 |
60 |
Bugfix: Report db was not deleted in deleteJob() |
Bugfix: Report db was not deleted in deleteJob() |
61 |
don't use -q on ssh commands with Debug=yes |
don't use -q on ssh commands with Debug=yes |
325 |
|
|
326 |
%prep |
%prep |
327 |
%setup -q -n %{name}-%{version} |
%setup -q -n %{name}-%{version} |
328 |
%patch0 -p1 -b .debugsshquiet |
%patch0 -p1 |
329 |
|
%patch1 -p1 |
330 |
|
%patch2 -p1 |
331 |
|
%patch3 -p1 |
332 |
|
%patch4 -p1 |
333 |
|
%patch5 -p1 |
334 |
|
%patch6 -p1 |
335 |
|
|
336 |
%build |
%build |
337 |
|
|
355 |
-e "s@^/sbin/e-smith/@%attr(0750,root,root) &@"\ |
-e "s@^/sbin/e-smith/@%attr(0750,root,root) &@"\ |
356 |
-e "s@^/etc/profile.d/@%attr(0755,root,root) &@"\ |
-e "s@^/etc/profile.d/@%attr(0755,root,root) &@"\ |
357 |
-e "s@^/etc/e-smith/templates/@%attr(0644,root,root) &@"\ |
-e "s@^/etc/e-smith/templates/@%attr(0644,root,root) &@"\ |
358 |
|
-e "s@^/usr/lib/affa/COPYING@%attr(0444,root,root) &@"\ |
359 |
|
-e "s@^/usr/lib/affa/@%attr(0750,root,root) &@"\ |
360 |
>> %{name}-%{version}-filelist |
>> %{name}-%{version}-filelist |
361 |
|
|
362 |
find $RPM_BUILD_ROOT -depth -type l -print |\ |
find $RPM_BUILD_ROOT -depth -type l -print |\ |