1 |
|
# $Id: smeserver-affa.spec,v 1.14 2008/04/02 15:03:56 slords Exp $ |
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 10 |
%define release 2 |
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 |
22 |
Patch1: smeserver-affa-0.9.0-defaultRemoteHostName.patch |
Patch1: smeserver-affa-0.10.0-all_option_for_rise.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 |
|
|
Patch5: smeserver-affa-0.9.0-trapsignals.patch |
|
|
Patch6: smeserver-affa-0.9.0-bug4035.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 |
|
* Fri Apr 04 2008 Michael Weinberger 0.10.0-2 |
30 |
|
added --all option to --rise |
31 |
|
|
32 |
|
* Mon Mar 10 2008 Michael Weinberger 0.10.0-1 |
33 |
|
Increased release number |
34 |
|
Added 10 sec timeout in Net::DNS::Resolver->search |
35 |
|
* Mon Mar 10 2008 Michael Weinberger 0.9.0-11 |
36 |
|
Specfile fix |
37 |
* Mon Mar 10 2008 Michael Weinberger 0.9.0-10 |
* Mon Mar 10 2008 Michael Weinberger 0.9.0-10 |
38 |
Delete locally created watchdog file after remotecopy |
Delete locally created watchdog file after remotecopy |
39 |
Bugfix 4035 |
Bugfix 4035 |
332 |
%prep |
%prep |
333 |
%setup -q -n %{name}-%{version} |
%setup -q -n %{name}-%{version} |
334 |
%patch0 -p1 |
%patch0 -p1 |
335 |
%patch1 -p1 |
%patch1 -p1 |
|
%patch2 -p1 |
|
|
%patch3 -p1 |
|
|
%patch4 -p1 |
|
|
%patch5 -p1 |
|
|
%patch6 -p1 |
|
336 |
|
|
337 |
%build |
%build |
338 |
|
|
346 |
# Set version String |
# Set version String |
347 |
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 |
348 |
VERSIONSTRING=%{version}-`echo %{release}|sed -e 's/\..*$//'` |
VERSIONSTRING=%{version}-`echo %{release}|sed -e 's/\..*$//'` |
349 |
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 |
350 |
rm -f $RPM_BUILD_ROOT/sbin/e-smith/affa.tmp |
rm -f $RPM_BUILD_ROOT/sbin/e-smith/affa.tmp |
351 |
|
|
352 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |