1 |
|
# $Id: e-smith-backup.spec,v 1.30 2008/10/16 16:15:54 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.2.0 |
7 |
%define release 26 |
%define release 7 |
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 |
16 |
Patch3: e-smith-backup-1.14.0-Crontab.patch2 |
Patch4: e-smith-backup-2.2.0-timeout.patch |
17 |
Patch4: e-smith-backup-1.14.0-DesktopBackupWarning.patch3 |
Patch5: e-smith-backup-2.2.0-smbfs.patch |
18 |
Patch5: e-smith-backup-1.14.0-eject.patch |
Patch6: e-smith-backup-2.2.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 |
* Mon Oct 20 2008 Shad L. Lords <slords@mail.com> 2.2.0-7.sme |
38 |
- Fix too greedy removel of locale key CONFIGURE_TAPE_BACKUP [SME: 4469] |
- Fix already mounted check [SME: 4688] |
39 |
|
|
40 |
|
* Mon Oct 20 2008 Shad L. Lords <slords@mail.com> 2.2.0-6.sme |
41 |
|
- Remove obsolete smbfs backup method [SME: 4678] |
42 |
|
|
43 |
|
* Mon Oct 20 2008 Shad L. Lords <slords@mail.com> 2.2.0-5.sme |
44 |
|
- Use perl routines for timeout checking [SME: 4660] |
45 |
|
|
46 |
|
* Thu Oct 16 2008 Shad L. Lords <slords@mail.com> 2.2.0-4.sme |
47 |
|
- Make dar use defined list of directories to backup [SME: 4676] |
48 |
|
|
49 |
* 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.2.0-3.sme |
50 |
- 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] |
51 |
|
|
52 |
* 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.2.0-2.sme |
53 |
|
- Fix localization strings in backup panel [SME: 4650] |
54 |
|
|
55 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
56 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
57 |
|
|
58 |
|
* Thu Aug 7 2008 Shad L. Lords <slords@mail.com> 1.15.0-22 |
59 |
|
- Localise status of workstation backup [SME: 4481] |
60 |
|
|
61 |
|
* Fri Aug 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.15.0-21 |
62 |
|
- Fix too greedy removel of locale key CONFIGURE_TAPE_BACKUP [SME: 4469] |
63 |
|
|
64 |
|
* Sat Jul 26 2008 Shad L. Lords <slords@mail.com> 1.15.0-20 |
65 |
|
- Make full backups have priority over incremental [SME: 4395] |
66 |
|
|
67 |
|
* Sat Jul 26 2008 Shad L. Lords <slords@mail.com> 1.15.0-19 |
68 |
- Fix redirect to stderr on check tape cronjob [SME: 4458] |
- Fix redirect to stderr on check tape cronjob [SME: 4458] |
69 |
|
|
70 |
* 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 |
71 |
|
- Add common <base> tags to e-smith-formmagick's general [SME: 4286] |
72 |
|
|
73 |
|
* Sat May 31 2008 Gavin Weight <gweight@gmail.com> 1.15.0-17 |
74 |
|
- Fix Dar manager to redirect correctly in system call. [SME: 4304] |
75 |
|
|
76 |
|
* Mon May 26 2008 Gavin Weight <gweight@gmail.com> 1.15.0-16 |
77 |
|
- Fix Dar to expand correctly. [SME: 4304] |
78 |
|
|
79 |
|
* Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.15.0-15 |
80 |
- Add common <base> tags to e-smith-formmagick's general [SME: 4286] |
- Add common <base> tags to e-smith-formmagick's general [SME: 4286] |
81 |
|
|
82 |
* Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.14.0-22 |
* Wed Apr 09 2008 Stephen Noble <support@dungog.net> 1.15.0-14 |
83 |
- Use correct patch for remove duplicates [SME: 3887] |
- Minor fix in translation of hours [SME: 4179] |
84 |
|
|
85 |
* Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.14.0-21 |
* Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.15.0-13 |
86 |
- Fix localization in restore routine [SME: 3989] |
- Fix localization in restore routine [SME: 3989] |
87 |
|
|
88 |
* 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 |
89 |
- Fix patches to get rid of .orig files [SME: 4100] |
- Remove <br> tag from error msg [SME: 3989] |
90 |
|
|
91 |
|
* Sat Mar 07 2008 Stephen Noble <support@dungog.net> 1.15.0-11 |
92 |
|
- Move/copy Backup_Desc to Backup_Desc_Dar for 1.15 rel [SME: 4024] |
93 |
|
|
94 |
|
* Wed Feb 13 2008 Stephen Noble <support@dungog.net> 1.15.0-10 |
95 |
|
- Remove <base> tags now in general [SME: 3912] |
96 |
|
|
97 |
|
* Sun Feb 10 2008 Stephen Noble <support@dungog.net> 1.15.0-9 |
98 |
|
- Remove duplicate <base> entries [SME: 3887] |
99 |
|
|
100 |
* 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 |
101 |
- Backport remove <br> from error msg. [SME: 3989] |
- Fix restore files location path. [SME: 3593] |
102 |
|
|
103 |
* 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 |
104 |
- Backport remove <base> tags now in general. [SME: 3912] |
- Fix compression setting range (Thanks JPL) . [SME: 3560] |
105 |
|
|
106 |
* 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 |
107 |
- Backport remove duplicates <base> entries. [SME: 3887] |
- Enhancement to DAR code (Thanks JPL) . [SME: 3538] |
108 |
|
|
109 |
|
* Fri Oct 26 2007 Gavin Weight <gweight@gmail.com> 1.15.0-05 |
110 |
|
- Fix up DAR code to enable backup to complete. [SME: 3373] |
111 |
|
|
112 |
|
* Tue Sep 11 2007 Charlie Brady <charlie_brady@mitel.com> 1.15.0-04 |
113 |
|
- Remove desktop verify and desktop restore features. Note that |
114 |
|
lexicon entries have not been removed. [SME: 3372] |
115 |
|
|
116 |
|
* Fri Sep 07 2007 Charlie Brady <charlie_brady@mitel.com> 1.15.0-03 |
117 |
|
- Reformat new DAR code to match existing coding style. |
118 |
|
|
119 |
|
* Wed Sep 05 2007 Jean-Paul Leclere <jean-paul@leclere.org> 1.15.0-02 |
120 |
|
- Dar workstation backup patch |
121 |
|
|
122 |
|
* Wed Sep 05 2007 Charlie Brady <charlie_brady@mitel.com> 1.15.0-01 |
123 |
|
- Roll new development version. |
124 |
|
|
125 |
* 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 |
126 |
- 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] |
1058 |
|
|
1059 |
%prep |
%prep |
1060 |
%setup |
%setup |
|
%patch0 -p1 |
|
1061 |
%patch1 -p1 |
%patch1 -p1 |
1062 |
%patch2 -p1 |
%patch2 -p1 |
1063 |
%patch3 -p1 |
%patch3 -p1 |
1064 |
%patch4 -p1 |
%patch4 -p1 |
1065 |
%patch5 -p1 |
%patch5 -p1 |
1066 |
%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 |
|
1067 |
|
|
1068 |
%build |
%build |
1069 |
/sbin/e-smith/buildtests 10e-smith-backup |
/sbin/e-smith/buildtests 10e-smith-backup |
1082 |
mkdir -p root/var/cache/e-smith/restore/etc |
mkdir -p root/var/cache/e-smith/restore/etc |
1083 |
mkdir -p root/var/cache/e-smith/restore/etc/samba |
mkdir -p root/var/cache/e-smith/restore/etc/samba |
1084 |
mkdir -p root/etc/e-smith/db/backups |
mkdir -p root/etc/e-smith/db/backups |
1085 |
|
mkdir -p root/etc/dar |
1086 |
|
mkdir -p root/mnt/smb |
1087 |
|
|
1088 |
%install |
%install |
1089 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
1101 |
%pre |
%pre |
1102 |
%preun |
%preun |
1103 |
%post |
%post |
|
/bin/rm -f /sbin/e-smith/backup |
|
|
/bin/rm -f /etc/cron.d/backup |
|
|
|
|
1104 |
%postun |
%postun |
1105 |
|
|
1106 |
%files -f %{name}-%{version}-%{release}-filelist |
%files -f %{name}-%{version}-%{release}-filelist |