1 |
|
# $Id: e-smith-backup.spec,v 1.31 2008/10/20 16:03:58 slords 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.0.0 |
7 |
%define release 26 |
%define release 8 |
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.0.0-localise_fix.patch |
14 |
Patch1: e-smith-backup-1.14.0-DesktopBackupWarning.patch2 |
Patch2: e-smith-backup-2.0.0-fixPleaseConfigure.patch |
15 |
Patch2: e-smith-backup-1.14.0-Crontab.patch |
Patch3: e-smith-backup-2.0.0-restore_list.patch2 |
16 |
Patch3: e-smith-backup-1.14.0-Crontab.patch2 |
Patch4: e-smith-backup-2.0.0-timeout.patch |
17 |
Patch4: e-smith-backup-1.14.0-DesktopBackupWarning.patch3 |
Patch5: e-smith-backup-2.0.0-smbfs.patch |
18 |
Patch5: e-smith-backup-1.14.0-eject.patch |
Patch6: e-smith-backup-2.0.0-mount_verify.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 |
|
|
Patch14: e-smith-backup-1.14.0-proxyenv.patch |
|
|
Patch15: e-smith-backup-1.14.0-bklistexist.patch |
|
|
Patch16: e-smith-backup-1.14.0-rmLexDuplicates.patch |
|
|
Patch17: e-smith-backup-1.14.0-tags2general.patch |
|
|
Patch18: e-smith-backup-1.14.0-brFix.patch |
|
|
Patch19: e-smith-backup-1.14.0-fixerrmsg.patch |
|
|
Patch20: e-smith-backup-1.14.0-add2general.patch |
|
|
Patch21: e-smith-backup-1.14.0-stderr.patch |
|
19 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
20 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
21 |
BuildRequires: gettext |
BuildRequires: gettext |
22 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
23 |
Requires: e-smith-base |
Requires: e-smith-base |
|
Requires: e-smith-formmagick >= 1.4.0-12 |
|
24 |
Requires: e-smith-lib >= 1.15.1-19 |
Requires: e-smith-lib >= 1.15.1-19 |
25 |
Requires: perl(Quota) |
Requires: perl(Quota) |
26 |
Requires: perl(Unix::PasswdFile) |
Requires: perl(Unix::PasswdFile) |
30 |
Requires: perl(Digest::MD5) |
Requires: perl(Digest::MD5) |
31 |
Requires: perl(File::Copy) |
Requires: perl(File::Copy) |
32 |
Requires: perl(esmith::I18N) |
Requires: perl(esmith::I18N) |
33 |
|
Requires: dar |
34 |
|
Requires: e-smith-formmagick >= 1.4.0-12 |
35 |
|
|
36 |
%changelog |
%changelog |
37 |
* Fri Aug 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.14.0-26 |
* Tue Oct 21 2008 Stephen Noble <support@dungog.net> 2.0.0-8.sme |
38 |
- Fix too greedy removel of locale key CONFIGURE_TAPE_BACKUP [SME: 4469] |
- replace defined list of directories to backup [SME: 4676] |
39 |
|
|
40 |
|
* Mon Oct 20 2008 Shad L. Lords <slords@mail.com> 2.0.0-7.sme |
41 |
|
- Fix already mounted check [SME: 4688] |
42 |
|
|
43 |
|
* Mon Oct 20 2008 Shad L. Lords <slords@mail.com> 2.0.0-6.sme |
44 |
|
- Remove obsolete smbfs backup method [SME: 4678] |
45 |
|
|
46 |
|
* Mon Oct 20 2008 Shad L. Lords <slords@mail.com> 2.0.0-5.sme |
47 |
|
- Use perl routines for timeout checking [SME: 4660] |
48 |
|
|
49 |
|
* Thu Oct 16 2008 Shad L. Lords <slords@mail.com> 2.0.0-4.sme |
50 |
|
- Make dar use defined list of directories to backup [SME: 4676] |
51 |
|
|
52 |
* Mon Jul 28 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.14.0-25 |
* Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-3.sme |
53 |
- Backport patch to add common <base> tags to e-smith-formmagick's general [SME: 4286] |
- Correct translation of CONFIGURATION_TO_BE_DONE to be proper English [SME: 4669] |
54 |
|
|
55 |
* Sat Jul 26 2008 Shad L. Lords <slords@mail.com> 1.14.0-24 |
* Thu Oct 9 2008 Shad L. Lords <slords@mail.com> 2.0.0-2.sme |
56 |
|
- Fix localization strings in backup panel [SME: 4650] |
57 |
|
|
58 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.0.0-1.sme |
59 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
60 |
|
|
61 |
|
* Thu Aug 7 2008 Shad L. Lords <slords@mail.com> 1.15.0-22 |
62 |
|
- Localise status of workstation backup [SME: 4481] |
63 |
|
|
64 |
|
* Fri Aug 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.15.0-21 |
65 |
|
- Fix too greedy removel of locale key CONFIGURE_TAPE_BACKUP [SME: 4469] |
66 |
|
|
67 |
|
* Sat Jul 26 2008 Shad L. Lords <slords@mail.com> 1.15.0-20 |
68 |
|
- Make full backups have priority over incremental [SME: 4395] |
69 |
|
|
70 |
|
* Sat Jul 26 2008 Shad L. Lords <slords@mail.com> 1.15.0-19 |
71 |
- Fix redirect to stderr on check tape cronjob [SME: 4458] |
- Fix redirect to stderr on check tape cronjob [SME: 4458] |
72 |
|
|
73 |
* Mon Apr 28 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.14.0-23 |
* Sun Jul 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.15.0-18 |
74 |
- Add common <base> tags to e-smith-formmagick's general [SME: 4286] |
- Add common <base> tags to e-smith-formmagick's general [SME: 4286] |
75 |
|
|
76 |
* Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.14.0-22 |
* Sat May 31 2008 Gavin Weight <gweight@gmail.com> 1.15.0-17 |
77 |
- Use correct patch for remove duplicates [SME: 3887] |
- Fix Dar manager to redirect correctly in system call. [SME: 4304] |
78 |
|
|
79 |
|
* Mon May 26 2008 Gavin Weight <gweight@gmail.com> 1.15.0-16 |
80 |
|
- Fix Dar to expand correctly. [SME: 4304] |
81 |
|
|
82 |
* Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.14.0-21 |
* Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.15.0-15 |
83 |
|
- Add common <base> tags to e-smith-formmagick's general [SME: 4286] |
84 |
|
|
85 |
|
* Wed Apr 09 2008 Stephen Noble <support@dungog.net> 1.15.0-14 |
86 |
|
- Minor fix in translation of hours [SME: 4179] |
87 |
|
|
88 |
|
* Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.15.0-13 |
89 |
- Fix localization in restore routine [SME: 3989] |
- Fix localization in restore routine [SME: 3989] |
90 |
|
|
91 |
* Mon Mar 24 2008 Shad L. Lords <slords@mail.com> 1.14.0-20 |
* Sat Mar 07 2008 Stephen Noble <support@dungog.net> 1.15.0-12 |
92 |
- Fix patches to get rid of .orig files [SME: 4100] |
- Remove <br> tag from error msg [SME: 3989] |
93 |
|
|
94 |
|
* Sat Mar 07 2008 Stephen Noble <support@dungog.net> 1.15.0-11 |
95 |
|
- Move/copy Backup_Desc to Backup_Desc_Dar for 1.15 rel [SME: 4024] |
96 |
|
|
97 |
|
* Wed Feb 13 2008 Stephen Noble <support@dungog.net> 1.15.0-10 |
98 |
|
- Remove <base> tags now in general [SME: 3912] |
99 |
|
|
100 |
|
* Sun Feb 10 2008 Stephen Noble <support@dungog.net> 1.15.0-9 |
101 |
|
- Remove duplicate <base> entries [SME: 3887] |
102 |
|
|
103 |
* Mon Mar 24 2008 Shad L. Lords <slords@mail.com> 1.14.0-19 |
* Thu Nov 29 2007 Gavin Weight <gweight@gmail.com> 1.15.0-8 |
104 |
- Backport remove <br> from error msg. [SME: 3989] |
- Fix restore files location path. [SME: 3593] |
105 |
|
|
106 |
* Thu Feb 14 2008 Gavin Weight <gweight@gmail.com> 1.14.0-18 |
* Mon Nov 19 2007 Gavin Weight <gweight@gmail.com> 1.15.0-7 |
107 |
- Backport remove <base> tags now in general. [SME: 3912] |
- Fix compression setting range (Thanks JPL) . [SME: 3560] |
108 |
|
|
109 |
* Mon Feb 11 2008 Gavin Weight <gweight@gmail.com> 1.14.0-17 |
* Fri Nov 09 2007 Gavin Weight <gweight@gmail.com> 1.15.0-06 |
110 |
- Backport remove duplicates <base> entries. [SME: 3887] |
- Enhancement to DAR code (Thanks JPL) . [SME: 3538] |
111 |
|
|
112 |
|
* Fri Oct 26 2007 Gavin Weight <gweight@gmail.com> 1.15.0-05 |
113 |
|
- Fix up DAR code to enable backup to complete. [SME: 3373] |
114 |
|
|
115 |
|
* Tue Sep 11 2007 Charlie Brady <charlie_brady@mitel.com> 1.15.0-04 |
116 |
|
- Remove desktop verify and desktop restore features. Note that |
117 |
|
lexicon entries have not been removed. [SME: 3372] |
118 |
|
|
119 |
|
* Fri Sep 07 2007 Charlie Brady <charlie_brady@mitel.com> 1.15.0-03 |
120 |
|
- Reformat new DAR code to match existing coding style. |
121 |
|
|
122 |
|
* Wed Sep 05 2007 Jean-Paul Leclere <jean-paul@leclere.org> 1.15.0-02 |
123 |
|
- Dar workstation backup patch |
124 |
|
|
125 |
|
* Wed Sep 05 2007 Charlie Brady <charlie_brady@mitel.com> 1.15.0-01 |
126 |
|
- Roll new development version. |
127 |
|
|
128 |
* Sun Jul 01 2007 Shad L. Lords <slords@mail.com> 1.14.0-16 |
* Sun Jul 01 2007 Shad L. Lords <slords@mail.com> 1.14.0-16 |
129 |
- Remove files/dirs that don't exist from the backup list [SME: 3115] |
- Remove files/dirs that don't exist from the backup list [SME: 3115] |
1061 |
|
|
1062 |
%prep |
%prep |
1063 |
%setup |
%setup |
|
%patch0 -p1 |
|
1064 |
%patch1 -p1 |
%patch1 -p1 |
1065 |
%patch2 -p1 |
%patch2 -p1 |
1066 |
%patch3 -p1 |
%patch3 -p1 |
1067 |
%patch4 -p1 |
%patch4 -p1 |
1068 |
%patch5 -p1 |
%patch5 -p1 |
1069 |
%patch6 -p1 |
%patch6 -p1 |
|
%patch7 -p1 |
|
|
%patch8 -p1 |
|
|
%patch9 -p1 |
|
|
%patch10 -p1 |
|
|
%patch11 -p1 |
|
|
%patch12 -p1 |
|
|
%patch13 -p1 |
|
|
%patch14 -p1 |
|
|
%patch15 -p1 |
|
|
%patch16 -p1 |
|
|
%patch17 -p1 |
|
|
%patch18 -p1 |
|
|
%patch19 -p1 |
|
|
%patch20 -p1 |
|
|
%patch21 -p1 |
|
1070 |
|
|
1071 |
%build |
%build |
1072 |
/sbin/e-smith/buildtests 10e-smith-backup |
/sbin/e-smith/buildtests 10e-smith-backup |
1085 |
mkdir -p root/var/cache/e-smith/restore/etc |
mkdir -p root/var/cache/e-smith/restore/etc |
1086 |
mkdir -p root/var/cache/e-smith/restore/etc/samba |
mkdir -p root/var/cache/e-smith/restore/etc/samba |
1087 |
mkdir -p root/etc/e-smith/db/backups |
mkdir -p root/etc/e-smith/db/backups |
1088 |
|
mkdir -p root/etc/dar |
1089 |
|
mkdir -p root/mnt/smb |
1090 |
|
|
1091 |
%install |
%install |
1092 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
1104 |
%pre |
%pre |
1105 |
%preun |
%preun |
1106 |
%post |
%post |
|
/bin/rm -f /sbin/e-smith/backup |
|
|
/bin/rm -f /etc/cron.d/backup |
|
|
|
|
1107 |
%postun |
%postun |
1108 |
|
|
1109 |
%files -f %{name}-%{version}-%{release}-filelist |
%files -f %{name}-%{version}-%{release}-filelist |