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