1 |
# $Id: e-smith-backup.spec,v 1.2 2016/04/13 15:22:05 unnilennium Exp $ |
# $Id: e-smith-backup.spec,v 1.3 2016/05/12 17:15:07 vip-ire 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 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 |
|
|
45 |
|
- Test if the remote host (cifs/nfs) is up, else save and display a warning. |
46 |
|
- Added e-smith-backup-2.6.0.bz9090.Testing_the_remote_host_parameters.patch [SME: 9090] |
47 |
|
|
48 |
|
- The 'tar backup to desktop' of the backup panel takes consideration of exclusion |
49 |
|
- Added e-smith-backup-2.6.0.Do_Tar_Exclusion_In_Panel.patch [SME: 9635] |
50 |
|
|
51 |
|
- The 'dar workstation backup' of the backup panel takes consideration of exclusion |
52 |
|
- Added e-smith-backup-2.6.0.Do_Dar_Exclusion.patch [SME: 9633] |
53 |
|
|
54 |
|
- The 'tar backup' of the console takes consideration of exclusion and display a page with the exclusion content |
55 |
|
- e-smith-backup-2.6.0.Do_Tar_Exclusion_In_the_console.patch [SME: 9635] |
56 |
|
|
57 |
* 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 |
58 |
- Rebuild for [SME: 9393] |
- Rebuild for [SME: 9393] |
59 |
|
|
1416 |
%prep |
%prep |
1417 |
%setup |
%setup |
1418 |
%patch0 -p1 |
%patch0 -p1 |
1419 |
|
%patch1 -p1 |
1420 |
|
%patch2 -p1 |
1421 |
|
%patch3 -p1 |
1422 |
|
%patch4 -p1 |
1423 |
|
%patch5 -p1 |
1424 |
|
|
1425 |
%build |
%build |
1426 |
/sbin/e-smith/buildtests 10e-smith-backup |
/sbin/e-smith/buildtests 10e-smith-backup |
1427 |
|
%{__mkdir} -p root/etc/backup-data.d |
1428 |
perl createlinks |
perl createlinks |
1429 |
|
|
1430 |
# 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 |