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