1 |
# $Id: e-smith-backup.spec,v 1.2 2016/04/13 15:22:05 unnilennium Exp $ |
# $Id: e-smith-backup.spec,v 1.5 2016/07/31 07:28:07 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 3 |
%define release 5 |
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 |
|
* Tue Aug 02 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-5.sme |
42 |
|
- Remove the dar exclusion message in the email if there is no exclusion. |
43 |
|
- Modified e-smith-backup-2.6.0.Do_Dar_Exclusion.patch [SME: 9633] |
44 |
|
- Added two commented files backup.{include,exclude} in /etc/backup-data.d |
45 |
|
- Modified e-smith-backup-2.6.0.Add_Or_Remove_Path_In_Backup.patch [SME: 9607] |
46 |
|
|
47 |
|
* Sun Jul 31 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-4.sme |
48 |
|
- Add or remove path in your backup by a file *.include and *.exclude |
49 |
|
- Added e-smith-backup-2.6.0.Add_Or_Remove_Path_In_Backup.patch [SME: 9607] |
50 |
|
- Test if the remote host (cifs/nfs) is up, else save and display a warning. |
51 |
|
- Added e-smith-backup-2.6.0.bz9090.Testing_the_remote_host_parameters.patch [SME: 9090] |
52 |
|
- The 'tar backup to desktop' of the backup panel takes consideration of exclusion |
53 |
|
- Added e-smith-backup-2.6.0.Do_Tar_Exclusion_In_Panel.patch [SME: 9635] |
54 |
|
- The 'dar workstation backup' of the backup panel takes consideration of exclusion |
55 |
|
- Added e-smith-backup-2.6.0.Do_Dar_Exclusion.patch [SME: 9633] |
56 |
|
- The 'tar backup' of the console takes consideration of exclusion and display a page with the exclusion content |
57 |
|
- e-smith-backup-2.6.0.Do_Tar_Exclusion_In_the_console.patch [SME: 9635] |
58 |
|
|
59 |
* Thu May 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-3.sme |
* Thu May 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-3.sme |
60 |
- Rebuild for [SME: 9393] |
- Rebuild for [SME: 9393] |
61 |
|
|
1418 |
%prep |
%prep |
1419 |
%setup |
%setup |
1420 |
%patch0 -p1 |
%patch0 -p1 |
1421 |
|
%patch1 -p1 |
1422 |
|
%patch2 -p1 |
1423 |
|
%patch3 -p1 |
1424 |
|
%patch4 -p1 |
1425 |
|
%patch5 -p1 |
1426 |
|
|
1427 |
%build |
%build |
1428 |
/sbin/e-smith/buildtests 10e-smith-backup |
/sbin/e-smith/buildtests 10e-smith-backup |
1429 |
|
%{__mkdir} -p root/etc/backup-data.d |
1430 |
perl createlinks |
perl createlinks |
1431 |
|
|
1432 |
# 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 |