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 realname smeserver-affa |
%define name smeserver-affa |
3 |
Name: %{realname} |
Name: %{name} |
4 |
%define version 0.9.0 |
%define version 0.9.0 |
5 |
|
%define release 1 |
6 |
Version: %{version} |
Version: %{version} |
7 |
Release: 0 |
Release: %{release}%{?dist} |
8 |
License: GNU GPL (GNU General Public License) |
License: GNU GPL (GNU General Public License) |
9 |
Group: Applications/Archiving |
Group: Applications/Archiving |
10 |
Source: %{realname}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
11 |
Packager: Michael Weinberger <Michael.Weinberger@neddix.de> |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
|
Vendor: neddix IT Consulting und Services, Stuttgart, Germany |
|
|
BuildRoot: /var/tmp/%{realname}-%{version}-buildroot/ |
|
12 |
BuildArch: noarch |
BuildArch: noarch |
13 |
AutoReq: no |
AutoReq: no |
14 |
Requires: smeserver-release >= 7 |
Requires: smeserver-release >= 7 |
15 |
Requires: perl-Filesys-DiskFree |
Requires: perl-Filesys-DiskFree |
16 |
|
BuildRequires: e-smith-devtools |
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 |
|
* Fri Feb 1 2008 Shad L. Lords <slords@mail.com> 0.9.0-1 |
24 |
|
- Fix specfile for building in new buildsystem |
25 |
|
|
26 |
* Fri Jan 18 2008 Michael Weinberger |
* Fri Jan 18 2008 Michael Weinberger |
27 |
Version 0.9.0 |
Version 0.9.0 |
28 |
Bugfix: run cronSetup() after job delete |
Bugfix: run cronSetup() after job delete |
283 |
* Mon Apr 02 2007 Michael Weinberger |
* Mon Apr 02 2007 Michael Weinberger |
284 |
- initial release |
- initial release |
285 |
|
|
|
|
|
286 |
%prep |
%prep |
287 |
%setup -q -n %{realname}-%{version} |
%setup -q -n %{name}-%{version} |
288 |
|
|
289 |
%build |
%build |
290 |
|
|
307 |
find $RPM_BUILD_ROOT -depth -type l -print |\ |
find $RPM_BUILD_ROOT -depth -type l -print |\ |
308 |
sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-%{version}-filelist |
sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-%{version}-filelist |
309 |
|
|
|
|
|
310 |
%clean |
%clean |
311 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
312 |
exit 0 |
exit 0 |
313 |
|
|
|
%pre |
|
|
exit 0 |
|
|
|
|
314 |
%post |
%post |
315 |
/sbin/e-smith/db affa get AffaGlobalDisable > /dev/null || /sbin/e-smith/affa --make-cronjobs > /dev/null |
/sbin/e-smith/db affa get AffaGlobalDisable > /dev/null || /sbin/e-smith/affa --make-cronjobs > /dev/null |
|
exit 0 |
|
|
|
|
|
%preun |
|
|
exit 0 |
|
|
|
|
|
%postun |
|
|
exit 0 |
|
316 |
|
|
317 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
318 |
%defattr(-,root,root) |
%defattr(-,root,root) |