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