1 |
# $Id: e-smith-backup.spec,v 1.1 2016/02/04 23:12:12 vip-ire Exp $ |
# $Id: e-smith-backup.spec,v 1.13 2017/07/18 14:37:15 unnilennium Exp $ |
2 |
|
|
3 |
Summary: e-smith module to provide the backup panel |
Summary: e-smith module to provide the backup panel |
4 |
%define name e-smith-backup |
%define name e-smith-backup |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 2.6.0 |
%define version 2.6.0 |
7 |
%define release 2 |
%define release 13 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: Artistic |
License: Artistic |
11 |
Group: Networking/Daemons |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.xz |
Source: %{name}-%{version}.tar.xz |
13 |
Patch0: e-smith-backup-2.6.0-normalreboot.patch |
Patch0: e-smith-backup-2.6.0-normalreboot.patch |
14 |
|
Patch1: e-smith-backup-2.6.0.Add_Or_Remove_Path_In_Backup.patch |
15 |
|
Patch2: e-smith-backup-2.6.0.bz9090.Testing_the_remote_host_parameters.patch |
16 |
|
Patch3: e-smith-backup-2.6.0.Do_Tar_Exclusion_In_Panel.patch |
17 |
|
Patch4: e-smith-backup-2.6.0.Do_Dar_Exclusion.patch |
18 |
|
Patch5: e-smith-backup-2.6.0.Do_Tar_Exclusion_In_the_console.patch |
19 |
|
Patch6: e-smith-backup-2.6.0.bz9563.UpdateDarCatalogFollowingBackups.patch |
20 |
|
Patch7: e-smith-backup-2.6.0-bz9550.fixconsolerestore.patch |
21 |
|
Patch8: e-smith-backup-2.6.0-bz9299-consoleBackupBlockDevice.patch |
22 |
|
Patch9: e-smith-backup-2.6.0-bz9127-add_lock_feature.patch |
23 |
|
Patch10: e-smith-backup-2.6.0-add_ai_to_delete_incomplete.patch |
24 |
|
|
25 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
26 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
27 |
BuildRequires: gettext |
BuildRequires: gettext |
43 |
Requires: nfs-utils |
Requires: nfs-utils |
44 |
|
|
45 |
%changelog |
%changelog |
46 |
|
* Mon Mar 16 2020 John Crisp <jcrisp@safeandsoundit.co.uk 2.6.0-13.sme |
47 |
|
- added the '-ai' flag to clean up incomplete files on fail [SME:9159] |
48 |
|
- Credit to Chris Sansom-Ninnes |
49 |
|
|
50 |
|
* Tue Jul 18 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-12.sme |
51 |
|
- added patch for workstation backup lock [SME: 9127] |
52 |
|
- code from Stefano Zamboni <zamboni@mind-at-work.it> |
53 |
|
|
54 |
|
* Wed Apr 26 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-11.sme |
55 |
|
- added lock during backup to avoid multiple instance running [SME: 9127] |
56 |
|
- code from Stefano Zamboni <zamboni@mind-at-work.it> |
57 |
|
|
58 |
|
* Fri Apr 14 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-9.sme |
59 |
|
- added support back to ext2 and ext3 [SME: 9299] |
60 |
|
|
61 |
|
* Wed Apr 12 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-8.sme |
62 |
|
- fix removable device detection [SME: 9299] |
63 |
|
|
64 |
|
* Fri Feb 17 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-7.sme |
65 |
|
- console restoration can be launched again from console [SME: 9550] |
66 |
|
|
67 |
|
* Wed Aug 10 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-6.sme |
68 |
|
- fixed bug on the dar catalog when backups are not added in it [SME: 9563] |
69 |
|
- Added e-smith-backup-2.6.0.bz9563.UpdateDarCatalogFollowingBackups.patch |
70 |
|
|
71 |
|
* Tue Aug 02 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-5.sme |
72 |
|
- Remove the dar exclusion message in the email if there is no exclusion. |
73 |
|
- Modified e-smith-backup-2.6.0.Do_Dar_Exclusion.patch [SME: 9633] |
74 |
|
- Added two commented files backup.{include,exclude} in /etc/backup-data.d |
75 |
|
- Modified e-smith-backup-2.6.0.Add_Or_Remove_Path_In_Backup.patch [SME: 9607] |
76 |
|
|
77 |
|
* Sun Jul 31 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-4.sme |
78 |
|
- Add or remove path in your backup by a file *.include and *.exclude |
79 |
|
- Added e-smith-backup-2.6.0.Add_Or_Remove_Path_In_Backup.patch [SME: 9607] |
80 |
|
- Test if the remote host (cifs/nfs) is up, else save and display a warning. |
81 |
|
- Added e-smith-backup-2.6.0.bz9090.Testing_the_remote_host_parameters.patch [SME: 9090] |
82 |
|
- The 'tar backup to desktop' of the backup panel takes consideration of exclusion |
83 |
|
- Added e-smith-backup-2.6.0.Do_Tar_Exclusion_In_Panel.patch [SME: 9635] |
84 |
|
- The 'dar workstation backup' of the backup panel takes consideration of exclusion |
85 |
|
- Added e-smith-backup-2.6.0.Do_Dar_Exclusion.patch [SME: 9633] |
86 |
|
- The 'tar backup' of the console takes consideration of exclusion and display a page with the exclusion content |
87 |
|
- e-smith-backup-2.6.0.Do_Tar_Exclusion_In_the_console.patch [SME: 9635] |
88 |
|
|
89 |
|
* Thu May 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-3.sme |
90 |
|
- Rebuild for [SME: 9393] |
91 |
|
|
92 |
* Wed Apr 13 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-2.sme |
* Wed Apr 13 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-2.sme |
93 |
- avoid restoration on every reboot[SME: 9436] |
- avoid restoration on every reboot[SME: 9436] |
94 |
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
1448 |
%prep |
%prep |
1449 |
%setup |
%setup |
1450 |
%patch0 -p1 |
%patch0 -p1 |
1451 |
|
%patch1 -p1 |
1452 |
|
%patch2 -p1 |
1453 |
|
%patch3 -p1 |
1454 |
|
%patch4 -p1 |
1455 |
|
%patch5 -p1 |
1456 |
|
%patch6 -p1 |
1457 |
|
%patch7 -p1 |
1458 |
|
%patch8 -p1 |
1459 |
|
%patch9 -p1 |
1460 |
|
%patch10 -p1 |
1461 |
|
|
1462 |
%build |
%build |
1463 |
/sbin/e-smith/buildtests 10e-smith-backup |
/sbin/e-smith/buildtests 10e-smith-backup |
1464 |
|
%{__mkdir} -p root/etc/backup-data.d |
1465 |
perl createlinks |
perl createlinks |
1466 |
|
|
1467 |
# Extract a new copy of the English .po, though we won't use it for this build |
# Extract a new copy of the English .po, though we won't use it for this build |