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.7 |
%define release 4 |
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 |
terryfage |
1.7 |
Patch2: smeserver-rsync-backup2disk-0.0.2-locale-2024-09-06.patch |
14 |
jpp |
1.1 |
Packager: Darrell May |
15 |
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
16 |
|
|
BuildArchitectures: noarch |
17 |
|
|
Requires: smeserver-release => 10.0 |
18 |
jpp |
1.3 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
19 |
|
|
|
20 |
jpp |
1.1 |
%description |
21 |
|
|
SME Server implementation of rsync to perform nightly backup to a mounted drive. |
22 |
|
|
|
23 |
|
|
%changelog |
24 |
terryfage |
1.7 |
* 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 |
terryfage |
1.6 |
* Wed Sep 08 2021 Terry Fage <terry.fage@gmail.com> 0.0.2-3.sme |
28 |
|
|
- apply locale 2021-09-08 patch |
29 |
|
|
|
30 |
terryfage |
1.5 |
* Mon Aug 23 2021 Terry Fage <terry.fage@gmail.com> 0.0.2-2.sme |
31 |
|
|
- apply locale 2021-08-23 patch |
32 |
|
|
|
33 |
jpp |
1.1 |
* 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 |
terryfage |
1.5 |
|
44 |
jpp |
1.1 |
* Thu Nov 02 2006 Darrell May <dmay@myezserver.com> |
45 |
|
|
- numerous updates |
46 |
|
|
- [0.0.1-a5dmay] |
47 |
terryfage |
1.5 |
|
48 |
jpp |
1.1 |
* 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 |
terryfage |
1.5 |
|
52 |
jpp |
1.1 |
* 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 |
terryfage |
1.5 |
|
58 |
jpp |
1.1 |
* Tue Oct 17 2006 Darrell May <dmay@myezserver.com> |
59 |
|
|
- added rsync-restore action |
60 |
|
|
- [0.0.1-a2dmay] |
61 |
terryfage |
1.5 |
|
62 |
jpp |
1.1 |
* Mon Oct 16 2006 Darrell May <dmay@myezserver.com> |
63 |
|
|
- added basic server-manager panel |
64 |
|
|
- [0.0.1-a1dmay] |
65 |
terryfage |
1.5 |
|
66 |
jpp |
1.1 |
* 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 |
terryfage |
1.5 |
%patch0 -p1 |
73 |
terryfage |
1.6 |
%patch1 -p1 |
74 |
terryfage |
1.7 |
%patch2 -p1 |
75 |
terryfage |
1.5 |
|
76 |
jpp |
1.4 |
rm root/rsync |
77 |
jpp |
1.1 |
|
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 |