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