1 |
|
# $Id: e-smith-backup.spec,v 1.29 2008/10/16 15:00:42 snetram 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 1.14.0 |
%define version 2.2.0 |
7 |
%define release 14 |
%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.gz |
Source: %{name}-%{version}.tar.gz |
13 |
Patch0: e-smith-backup-1.14.0-DesktopBackupWarning.patch |
Patch1: e-smith-backup-2.2.0-localise_fix.patch |
14 |
Patch1: e-smith-backup-1.14.0-DesktopBackupWarning.patch2 |
Patch2: e-smith-backup-2.2.0-fixPleaseConfigure.patch |
15 |
Patch2: e-smith-backup-1.14.0-Crontab.patch |
Patch3: e-smith-backup-2.2.0-restore_list.patch |
|
Patch3: e-smith-backup-1.14.0-Crontab.patch2 |
|
|
Patch4: e-smith-backup-1.14.0-DesktopBackupWarning.patch3 |
|
|
Patch5: e-smith-backup-1.14.0-eject.patch |
|
|
Patch6: e-smith-backup-1.14.0-tapeactions.patch |
|
|
Patch7: e-smith-backup-1.14.0-backuptype.patch |
|
|
Patch8: e-smith-backup-1.14.0-eject.patch2 |
|
|
Patch9: e-smith-backup-1.14.0-backuptype.patch2 |
|
|
Patch10: e-smith-backup-1.14.0-restorefromdisk.patch |
|
|
Patch11: e-smith-backup-1.14.0-RestoreMachineAccountGroups.patch |
|
|
Patch12: e-smith-backup-1.14.0-reminderemail.patch |
|
|
Patch13: e-smith-backup-1.14.0-backuptype.patch3 |
|
16 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
17 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
18 |
BuildRequires: gettext |
BuildRequires: gettext |
27 |
Requires: perl(Digest::MD5) |
Requires: perl(Digest::MD5) |
28 |
Requires: perl(File::Copy) |
Requires: perl(File::Copy) |
29 |
Requires: perl(esmith::I18N) |
Requires: perl(esmith::I18N) |
30 |
|
Requires: dar |
31 |
|
Requires: e-smith-formmagick >= 1.4.0-12 |
32 |
|
|
33 |
%changelog |
%changelog |
34 |
|
* Thu Oct 16 2008 Shad L. Lords <slords@mail.com> 2.2.0-4.sme |
35 |
|
- Make dar use defined list of directories to backup [SME: 4676] |
36 |
|
|
37 |
|
* Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-3.sme |
38 |
|
- Correct translation of CONFIGURATION_TO_BE_DONE to be proper English [SME: 4669] |
39 |
|
|
40 |
|
* Thu Oct 9 2008 Shad L. Lords <slords@mail.com> 2.2.0-2.sme |
41 |
|
- Fix localization strings in backup panel [SME: 4650] |
42 |
|
|
43 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
44 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
45 |
|
|
46 |
|
* Thu Aug 7 2008 Shad L. Lords <slords@mail.com> 1.15.0-22 |
47 |
|
- Localise status of workstation backup [SME: 4481] |
48 |
|
|
49 |
|
* Fri Aug 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.15.0-21 |
50 |
|
- Fix too greedy removel of locale key CONFIGURE_TAPE_BACKUP [SME: 4469] |
51 |
|
|
52 |
|
* Sat Jul 26 2008 Shad L. Lords <slords@mail.com> 1.15.0-20 |
53 |
|
- Make full backups have priority over incremental [SME: 4395] |
54 |
|
|
55 |
|
* Sat Jul 26 2008 Shad L. Lords <slords@mail.com> 1.15.0-19 |
56 |
|
- Fix redirect to stderr on check tape cronjob [SME: 4458] |
57 |
|
|
58 |
|
* Sun Jul 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.15.0-18 |
59 |
|
- Add common <base> tags to e-smith-formmagick's general [SME: 4286] |
60 |
|
|
61 |
|
* Sat May 31 2008 Gavin Weight <gweight@gmail.com> 1.15.0-17 |
62 |
|
- Fix Dar manager to redirect correctly in system call. [SME: 4304] |
63 |
|
|
64 |
|
* Mon May 26 2008 Gavin Weight <gweight@gmail.com> 1.15.0-16 |
65 |
|
- Fix Dar to expand correctly. [SME: 4304] |
66 |
|
|
67 |
|
* Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.15.0-15 |
68 |
|
- Add common <base> tags to e-smith-formmagick's general [SME: 4286] |
69 |
|
|
70 |
|
* Wed Apr 09 2008 Stephen Noble <support@dungog.net> 1.15.0-14 |
71 |
|
- Minor fix in translation of hours [SME: 4179] |
72 |
|
|
73 |
|
* Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.15.0-13 |
74 |
|
- Fix localization in restore routine [SME: 3989] |
75 |
|
|
76 |
|
* Sat Mar 07 2008 Stephen Noble <support@dungog.net> 1.15.0-12 |
77 |
|
- Remove <br> tag from error msg [SME: 3989] |
78 |
|
|
79 |
|
* Sat Mar 07 2008 Stephen Noble <support@dungog.net> 1.15.0-11 |
80 |
|
- Move/copy Backup_Desc to Backup_Desc_Dar for 1.15 rel [SME: 4024] |
81 |
|
|
82 |
|
* Wed Feb 13 2008 Stephen Noble <support@dungog.net> 1.15.0-10 |
83 |
|
- Remove <base> tags now in general [SME: 3912] |
84 |
|
|
85 |
|
* Sun Feb 10 2008 Stephen Noble <support@dungog.net> 1.15.0-9 |
86 |
|
- Remove duplicate <base> entries [SME: 3887] |
87 |
|
|
88 |
|
* Thu Nov 29 2007 Gavin Weight <gweight@gmail.com> 1.15.0-8 |
89 |
|
- Fix restore files location path. [SME: 3593] |
90 |
|
|
91 |
|
* Mon Nov 19 2007 Gavin Weight <gweight@gmail.com> 1.15.0-7 |
92 |
|
- Fix compression setting range (Thanks JPL) . [SME: 3560] |
93 |
|
|
94 |
|
* Fri Nov 09 2007 Gavin Weight <gweight@gmail.com> 1.15.0-06 |
95 |
|
- Enhancement to DAR code (Thanks JPL) . [SME: 3538] |
96 |
|
|
97 |
|
* Fri Oct 26 2007 Gavin Weight <gweight@gmail.com> 1.15.0-05 |
98 |
|
- Fix up DAR code to enable backup to complete. [SME: 3373] |
99 |
|
|
100 |
|
* Tue Sep 11 2007 Charlie Brady <charlie_brady@mitel.com> 1.15.0-04 |
101 |
|
- Remove desktop verify and desktop restore features. Note that |
102 |
|
lexicon entries have not been removed. [SME: 3372] |
103 |
|
|
104 |
|
* Fri Sep 07 2007 Charlie Brady <charlie_brady@mitel.com> 1.15.0-03 |
105 |
|
- Reformat new DAR code to match existing coding style. |
106 |
|
|
107 |
|
* Wed Sep 05 2007 Jean-Paul Leclere <jean-paul@leclere.org> 1.15.0-02 |
108 |
|
- Dar workstation backup patch |
109 |
|
|
110 |
|
* Wed Sep 05 2007 Charlie Brady <charlie_brady@mitel.com> 1.15.0-01 |
111 |
|
- Roll new development version. |
112 |
|
|
113 |
|
* Sun Jul 01 2007 Shad L. Lords <slords@mail.com> 1.14.0-16 |
114 |
|
- Remove files/dirs that don't exist from the backup list [SME: 3115] |
115 |
|
|
116 |
|
* Sat Jun 30 2007 Shad L. Lords <slords@mail.com> 1.14.0-15 |
117 |
|
- force proxy request to 1.0 to improve backup2desktop speed [SME: 178] |
118 |
|
|
119 |
* Sun Jun 03 2007 Gavin Weight <gweight@gmail.com> 1.14.0-14 |
* Sun Jun 03 2007 Gavin Weight <gweight@gmail.com> 1.14.0-14 |
120 |
- Backup to desktop changes BackupType fix. [SME 3026] |
- Backup to desktop changes BackupType fix. [SME 3026] |
121 |
|
|
1046 |
|
|
1047 |
%prep |
%prep |
1048 |
%setup |
%setup |
|
%patch0 -p1 |
|
1049 |
%patch1 -p1 |
%patch1 -p1 |
1050 |
%patch2 -p1 |
%patch2 -p1 |
1051 |
%patch3 -p1 |
%patch3 -p1 |
|
%patch4 -p1 |
|
|
%patch5 -p1 |
|
|
%patch6 -p1 |
|
|
%patch7 -p1 |
|
|
%patch8 -p1 |
|
|
%patch9 -p1 |
|
|
%patch10 -p1 |
|
|
%patch11 -p1 |
|
|
%patch12 -p1 |
|
|
%patch13 -p1 |
|
1052 |
|
|
1053 |
%build |
%build |
1054 |
/sbin/e-smith/buildtests 10e-smith-backup |
/sbin/e-smith/buildtests 10e-smith-backup |
1067 |
mkdir -p root/var/cache/e-smith/restore/etc |
mkdir -p root/var/cache/e-smith/restore/etc |
1068 |
mkdir -p root/var/cache/e-smith/restore/etc/samba |
mkdir -p root/var/cache/e-smith/restore/etc/samba |
1069 |
mkdir -p root/etc/e-smith/db/backups |
mkdir -p root/etc/e-smith/db/backups |
1070 |
|
mkdir -p root/etc/dar |
1071 |
|
mkdir -p root/mnt/smb |
1072 |
|
|
1073 |
%install |
%install |
1074 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
1086 |
%pre |
%pre |
1087 |
%preun |
%preun |
1088 |
%post |
%post |
|
/bin/rm -f /sbin/e-smith/backup |
|
|
/bin/rm -f /etc/cron.d/backup |
|
|
|
|
1089 |
%postun |
%postun |
1090 |
|
|
1091 |
%files -f %{name}-%{version}-%{release}-filelist |
%files -f %{name}-%{version}-%{release}-filelist |