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.4 2016/07/31 07:26:34 stephdl 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 4 |
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 |
|
|
20 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
21 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
22 |
BuildRequires: gettext |
BuildRequires: gettext |
38 |
Requires: nfs-utils |
Requires: nfs-utils |
39 |
|
|
40 |
%changelog |
%changelog |
41 |
|
* Sun Jul 31 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-4.sme |
42 |
|
- Add or remove path in your backup by a file *.include and *.exclude |
43 |
|
- Added e-smith-backup-2.6.0.Add_Or_Remove_Path_In_Backup.patch [SME: 9607] |
44 |
|
- Test if the remote host (cifs/nfs) is up, else save and display a warning. |
45 |
|
- Added e-smith-backup-2.6.0.bz9090.Testing_the_remote_host_parameters.patch [SME: 9090] |
46 |
|
- The 'tar backup to desktop' of the backup panel takes consideration of exclusion |
47 |
|
- Added e-smith-backup-2.6.0.Do_Tar_Exclusion_In_Panel.patch [SME: 9635] |
48 |
|
- The 'dar workstation backup' of the backup panel takes consideration of exclusion |
49 |
|
- Added e-smith-backup-2.6.0.Do_Dar_Exclusion.patch [SME: 9633] |
50 |
|
- The 'tar backup' of the console takes consideration of exclusion and display a page with the exclusion content |
51 |
|
- e-smith-backup-2.6.0.Do_Tar_Exclusion_In_the_console.patch [SME: 9635] |
52 |
|
|
53 |
|
* Thu May 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-3.sme |
54 |
|
- Rebuild for [SME: 9393] |
55 |
|
|
56 |
* 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 |
57 |
- avoid restoration on every reboot[SME: 9436] |
- avoid restoration on every reboot[SME: 9436] |
58 |
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
1412 |
%prep |
%prep |
1413 |
%setup |
%setup |
1414 |
%patch0 -p1 |
%patch0 -p1 |
1415 |
|
%patch1 -p1 |
1416 |
|
%patch2 -p1 |
1417 |
|
%patch3 -p1 |
1418 |
|
%patch4 -p1 |
1419 |
|
%patch5 -p1 |
1420 |
|
|
1421 |
%build |
%build |
1422 |
/sbin/e-smith/buildtests 10e-smith-backup |
/sbin/e-smith/buildtests 10e-smith-backup |
1423 |
|
%{__mkdir} -p root/etc/backup-data.d |
1424 |
perl createlinks |
perl createlinks |
1425 |
|
|
1426 |
# 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 |