1 |
|
# $Id$ |
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 0.10.0 |
9 |
%define release 8 |
%define release 1 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GNU GPL (GNU General Public License) |
License: GNU GPL (GNU General Public License) |
18 |
Requires: smeserver-release >= 7 |
Requires: smeserver-release >= 7 |
19 |
Requires: perl-Filesys-DiskFree |
Requires: perl-Filesys-DiskFree |
20 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
21 |
Patch0: smeserver-affa-0.9.0-debugsshquiet.patch |
Patch0: smeserver-affa-0.10.0-DNS_Timeout.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 |
|
22 |
|
|
23 |
%description |
%description |
24 |
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. |
25 |
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. |
26 |
|
|
27 |
%changelog |
%changelog |
28 |
* Sat Mar 08 2008 Michael Weinberger 0.9.0-7 |
* Mon Mar 10 2008 Michael Weinberger 0.10.0-1 |
29 |
|
Increased release number |
30 |
|
Added 10 sec timeout in Net::DNS::Resolver->search |
31 |
|
* Mon Mar 10 2008 Michael Weinberger 0.9.0-11 |
32 |
|
Specfile fix |
33 |
|
* Mon Mar 10 2008 Michael Weinberger 0.9.0-10 |
34 |
|
Delete locally created watchdog file after remotecopy |
35 |
|
Bugfix 4035 |
36 |
|
Added default AutoUnmount property to sample script |
37 |
|
Fix man page |
38 |
|
Do not delete md5sum in --create-backup-file when verify is skipped by user |
39 |
|
Set lock in --create-backup-file |
40 |
|
* Sun Mar 09 2008 Michael Weinberger 0.9.0-9 |
41 |
|
trap signals in --create-backup-file |
42 |
|
* Sat Mar 08 2008 Michael Weinberger 0.9.0-8 |
43 |
Permissions in /usr/lib/affa |
Permissions in /usr/lib/affa |
44 |
* Sat Mar 08 2008 Michael Weinberger 0.9.0-7 |
* Sat Mar 08 2008 Michael Weinberger 0.9.0-7 |
45 |
md5sum in --create-backup-file |
md5sum in --create-backup-file |
328 |
%prep |
%prep |
329 |
%setup -q -n %{name}-%{version} |
%setup -q -n %{name}-%{version} |
330 |
%patch0 -p1 |
%patch0 -p1 |
|
%patch1 -p1 |
|
|
%patch2 -p1 |
|
|
%patch3 -p1 |
|
|
%patch4 -p1 |
|
331 |
|
|
332 |
%build |
%build |
333 |
|
|
341 |
# Set version String |
# Set version String |
342 |
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 |
343 |
VERSIONSTRING=%{version}-`echo %{release}|sed -e 's/\..*$//'` |
VERSIONSTRING=%{version}-`echo %{release}|sed -e 's/\..*$//'` |
344 |
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 |
345 |
rm -f $RPM_BUILD_ROOT/sbin/e-smith/affa.tmp |
rm -f $RPM_BUILD_ROOT/sbin/e-smith/affa.tmp |
346 |
|
|
347 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |