1 |
Summary: Rsync backup for SME Server |
2 |
%define name smeserver-rsync-backup2disk |
3 |
Name: %{name} |
4 |
%define version 0.0.2 |
5 |
%define release 1 |
6 |
Version: %{version} |
7 |
Release: %{release} |
8 |
License: GPL |
9 |
Group: SME/addon |
10 |
Source: %{name}-%{version}.tar.gz |
11 |
Packager: Darrell May |
12 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
13 |
BuildArchitectures: noarch |
14 |
Requires: smeserver-release => 10.0 |
15 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
16 |
|
17 |
%description |
18 |
SME Server implementation of rsync to perform nightly backup to a mounted drive. |
19 |
|
20 |
%changelog |
21 |
* Sat Apr 03 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.0.2-1.sme |
22 |
- import to SME10 |
23 |
- change name from smeserver-rsync to smeserver-rsync-backup2disk |
24 |
- create update event |
25 |
- move perl module to new path |
26 |
- cleanup spec |
27 |
|
28 |
* Fri Nov 03 2006 Darrell May <dmay@myezserver.com> |
29 |
- added support for no reminder e-mail |
30 |
- [0.0.1-a6dmay] |
31 |
* Thu Nov 02 2006 Darrell May <dmay@myezserver.com> |
32 |
- numerous updates |
33 |
- [0.0.1-a5dmay] |
34 |
* Tue Oct 17 2006 Darrell May <dmay@myezserver.com> |
35 |
- remove exit from restore-tape line in rsync-restore |
36 |
- [0.0.1-a4dmay] |
37 |
* Tue Oct 17 2006 Darrell May <dmay@myezserver.com> |
38 |
- updated FM panel code |
39 |
- db changes backupTime reminderTime |
40 |
- added checks for ext3 format |
41 |
- [0.0.1-a3dmay] |
42 |
* Tue Oct 17 2006 Darrell May <dmay@myezserver.com> |
43 |
- added rsync-restore action |
44 |
- [0.0.1-a2dmay] |
45 |
* Mon Oct 16 2006 Darrell May <dmay@myezserver.com> |
46 |
- added basic server-manager panel |
47 |
- [0.0.1-a1dmay] |
48 |
* Mon Oct 16 2006 Darrell May <dmay@myezserver.com> |
49 |
- initial internal alpha release |
50 |
- [0.0.1-a0dmay] |
51 |
|
52 |
%prep |
53 |
%setup |
54 |
rm root/rsync |
55 |
|
56 |
%build |
57 |
/usr/bin/perl createlinks |
58 |
|
59 |
%install |
60 |
/bin/rm -rf $RPM_BUILD_ROOT |
61 |
|
62 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
63 |
/bin/rm -f %{name}-%{version}-filelist |
64 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
65 |
%files -f %{name}-%{version}-filelist |
66 |
|
67 |
%defattr(-,root,root) |
68 |
|
69 |
%clean |
70 |
/bin/rm -rf $RPM_BUILD_ROOT |
71 |
|
72 |
%pre |
73 |
|
74 |
%post |
75 |
|
76 |
%preun |
77 |
|
78 |
%postun |