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 1 |
%define release 2 |
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 |
17 |
|
Patch0: smeserver-affa-0.9.0-debugsshquiet.patch |
18 |
|
|
19 |
%description |
%description |
20 |
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. |
21 |
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. |
22 |
|
|
23 |
%changelog |
%changelog |
24 |
|
* Sat Feb 02 2008 Michael Weinberger 0.9.0-2 |
25 |
|
Bugfix: Report db was not deleted in deleteJob() |
26 |
|
don't use -q on ssh commands with Debug=yes |
27 |
|
|
28 |
* Fri Feb 1 2008 Shad L. Lords <slords@mail.com> 0.9.0-1 |
* Fri Feb 1 2008 Shad L. Lords <slords@mail.com> 0.9.0-1 |
29 |
- Fix specfile for building in new buildsystem |
- Fix specfile for building in new buildsystem |
30 |
|
|
290 |
|
|
291 |
%prep |
%prep |
292 |
%setup -q -n %{name}-%{version} |
%setup -q -n %{name}-%{version} |
293 |
|
%patch0 -p1 -b .debugsshquiet |
294 |
|
|
295 |
%build |
%build |
296 |
|
|
301 |
|
|
302 |
perl createlinks $RPM_BUILD_ROOT |
perl createlinks $RPM_BUILD_ROOT |
303 |
|
|
304 |
|
# Set version String |
305 |
|
cp -a $RPM_BUILD_ROOT/sbin/e-smith/affa $RPM_BUILD_ROOT/sbin/e-smith/affa.tmp |
306 |
|
VERSIONSTRING=%{version}-`echo %{release}|sed -e 's/\..*$//'` |
307 |
|
sed -e "s/_VERSIONSTRING_/$VERSIONSTRING/" < $RPM_BUILD_ROOT/sbin/e-smith/affa.tmp > $RPM_BUILD_ROOT/sbin/e-smith/affa |
308 |
|
rm -f $RPM_BUILD_ROOT/sbin/e-smith/affa.tmp |
309 |
|
|
310 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
311 |
|
|
312 |
find $RPM_BUILD_ROOT -depth -type f -print |\ |
find $RPM_BUILD_ROOT -depth -type f -print |\ |