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 9 |
%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) |
14 |
Requires: smeserver-release >= 7 |
Requires: smeserver-release >= 7 |
15 |
Requires: perl-Filesys-DiskFree |
Requires: perl-Filesys-DiskFree |
16 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
|
Patch0: smeserver-affa-0.9.0-debugsshquiet.patch |
|
|
Patch1: smeserver-affa-0.9.0-defaultRemoteHostName.patch |
|
|
Patch2: smeserver-affa-0.9.0-dovecotDeleteNewStyleIndexFiles.patch |
|
|
Patch3: smeserver-affa-0.9.0-createBackupFileOption.patch |
|
|
Patch4: smeserver-affa-0.9.0-createBackupFileOption2.patch |
|
|
Patch5: smeserver-affa-0.9.0-trapsignals.patch |
|
17 |
|
|
18 |
%description |
%description |
19 |
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. |
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 |
* Sun Mar 09 2008 Michael Weinberger 0.9.0-9 |
35 |
trap signals in --create-backup-file |
trap signals in --create-backup-file |
36 |
* Sat Mar 08 2008 Michael Weinberger 0.9.0-8 |
* Sat Mar 08 2008 Michael Weinberger 0.9.0-8 |
321 |
|
|
322 |
%prep |
%prep |
323 |
%setup -q -n %{name}-%{version} |
%setup -q -n %{name}-%{version} |
324 |
%patch0 -p1 |
#%patch0 -p1 |
|
%patch1 -p1 |
|
|
%patch2 -p1 |
|
|
%patch3 -p1 |
|
|
%patch4 -p1 |
|
|
%patch5 -p1 |
|
325 |
|
|
326 |
%build |
%build |
327 |
|
|
335 |
# Set version String |
# Set version String |
336 |
cp -a $RPM_BUILD_ROOT/sbin/e-smith/affa $RPM_BUILD_ROOT/sbin/e-smith/affa.tmp |
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/\..*$//'` |
VERSIONSTRING=%{version}-`echo %{release}|sed -e 's/\..*$//'` |
338 |
sed -e "s/_VERSIONSTRING_/$VERSIONSTRING/" < $RPM_BUILD_ROOT/sbin/e-smith/affa.tmp > $RPM_BUILD_ROOT/sbin/e-smith/affa |
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 |
rm -f $RPM_BUILD_ROOT/sbin/e-smith/affa.tmp |
340 |
|
|
341 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |