1 |
|
# $Id: e-smith-backup.spec,v 1.48 2009/07/22 17:38:10 bytegw 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 19 |
%define release 21 |
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 |
19 |
Patch6: e-smith-backup-1.14.0-tapeactions.patch |
Patch7: e-smith-backup-2.2.0-nocompressogg.patch |
20 |
Patch7: e-smith-backup-1.14.0-backuptype.patch |
Patch8: e-smith-backup-2.2.0-verbose.patch |
21 |
Patch8: e-smith-backup-1.14.0-eject.patch2 |
Patch9: e-smith-backup-2.2.0-email.patch |
22 |
Patch9: e-smith-backup-1.14.0-backuptype.patch2 |
Patch10: e-smith-backup-2.2.0-mount_usb.patch |
23 |
Patch10: e-smith-backup-1.14.0-restorefromdisk.patch |
Patch11: e-smith-backup-2.2.0-verbose_panel.patch |
24 |
Patch11: e-smith-backup-1.14.0-RestoreMachineAccountGroups.patch |
Patch12: e-smith-backup-2.2.0-gzip.patch |
25 |
Patch12: e-smith-backup-1.14.0-reminderemail.patch |
Patch13: e-smith-backup-2.2.0-empty.patch |
26 |
Patch13: e-smith-backup-1.14.0-backuptype.patch3 |
Patch14: e-smith-backup-2.2.0-spelling.patch |
27 |
Patch14: e-smith-backup-1.14.0-proxyenv.patch |
Patch15: e-smith-backup-2.2.0-password.patch |
28 |
Patch15: e-smith-backup-1.14.0-bklistexist.patch |
Patch16: e-smith-backup-2.2.0-fixCompressionLevelRange.patch |
29 |
Patch16: e-smith-backup-1.14.0-rmLexDuplicates.patch |
Patch17: e-smith-backup-2.2.0-fixReport.patch |
30 |
Patch17: e-smith-backup-1.14.0-tags2general.patch |
Patch18: e-smith-backup-2.2.0-workstation_verify.patch |
31 |
Patch18: e-smith-backup-1.15.0-brFix.patch |
Patch19: e-smith-backup-2.2.0-many_daily_dar.patch |
32 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
33 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
34 |
BuildRequires: gettext |
BuildRequires: gettext |
35 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
36 |
Requires: e-smith-base |
Requires: e-smith-base |
|
Requires: e-smith-formmagick >= 1.4.0-9 |
|
37 |
Requires: e-smith-lib >= 1.15.1-19 |
Requires: e-smith-lib >= 1.15.1-19 |
38 |
Requires: perl(Quota) |
Requires: perl(Quota) |
39 |
Requires: perl(Unix::PasswdFile) |
Requires: perl(Unix::PasswdFile) |
43 |
Requires: perl(Digest::MD5) |
Requires: perl(Digest::MD5) |
44 |
Requires: perl(File::Copy) |
Requires: perl(File::Copy) |
45 |
Requires: perl(esmith::I18N) |
Requires: perl(esmith::I18N) |
46 |
|
Requires: dar |
47 |
|
Requires: e-smith-formmagick >= 1.4.0-12 |
48 |
|
|
49 |
%changelog |
%changelog |
50 |
* Mon Mar 24 2008 Shad L. Lords <slords@mail.com> 1.14.0-19 |
* Sun Jul 26 2009 Jean-Paul Leclere <jean-paul@leclere.org> 2.2.0-21.sme |
51 |
- Backport remove <br> from error msg. [SME: 3989] |
- workstation backup: allow many backups in the same day [SME: 5393] |
52 |
|
|
53 |
|
* Wed Jul 22 2009 Jean-Paul Leclere <jean-paul@leclere.org> 2.2.0-20.sme |
54 |
|
- workstation restore: all needed backups must be available before restore [SME: 5397] |
55 |
|
- workstation verify: add option to check integrity of backups needed in a full restore [SME: 5405] |
56 |
|
- minor fix in translation [SME: 5407] |
57 |
|
|
58 |
|
* Sun May 17 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-19.sme |
59 |
|
- Fix DAR e-mail message with regards to incremental backups [SME: 4579] |
60 |
|
|
61 |
|
* Tue Dec 9 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-18.sme |
62 |
|
- Fix discrepancy in maximum compression level [SME: 4841] |
63 |
|
|
64 |
|
* Wed Oct 29 2008 Shad L. Lords <slords@mail.com> 2.2.0-17.sme |
65 |
|
- Fix spelling mistakes in backup panel [SME: 4732] |
66 |
|
- Hide password from manager panel [SME: 4734] |
67 |
|
|
68 |
|
* Tue Oct 28 2008 Shad L. Lords <slords@mail.com> 2.2.0-16.sme |
69 |
|
- Migrate smbfs to cifs to complete removal [SME: 4678] |
70 |
|
|
71 |
|
* Mon Oct 27 2008 Shad L. Lords <slords@mail.com> 2.2.0-15.sme |
72 |
|
- Fix compression to default to gzip [SME: 4630] |
73 |
|
- Fix uninitialized values in backup [SME: 4720] |
74 |
|
|
75 |
|
* Sat Oct 25 2008 Stephen Noble <support@dungog.net> 2.2.0-14.sme |
76 |
|
- dar backup to be less verbose in panel [SME: 4719] |
77 |
|
|
78 |
|
* Sat Oct 25 2008 Stephen Noble <support@dungog.net> 2.2.0-13.sme |
79 |
|
- correct mounting for usb disks [SME: 4695] |
80 |
|
|
81 |
|
* Wed Oct 22 2008 Shad L. Lords <slords@mail.com> 2.2.0-12.sme |
82 |
|
- Fix from address on email [SME: 4702] |
83 |
|
|
84 |
|
* Tue Oct 21 2008 Shad L. Lords <slords@mail.com> 2.2.0-11.sme |
85 |
|
- Fix patch to remove orig file [SME: 4700] |
86 |
|
- Patch dar backup to be less verbose [SME: 4699] |
87 |
|
|
88 |
|
* Tue Oct 21 2008 Stephen Noble <support@dungog.net> 2.0.0-10.sme |
89 |
|
- no compression for ogg media files [SME: 4677] |
90 |
|
|
91 |
|
* Tue Oct 21 2008 Stephen Noble <support@dungog.net> 2.2.0-8.sme |
92 |
|
- replace defined list of directories to backup [SME: 4676] |
93 |
|
|
94 |
|
* Mon Oct 20 2008 Shad L. Lords <slords@mail.com> 2.2.0-7.sme |
95 |
|
- Fix already mounted check [SME: 4688] |
96 |
|
|
97 |
|
* Mon Oct 20 2008 Shad L. Lords <slords@mail.com> 2.2.0-6.sme |
98 |
|
- Remove obsolete smbfs backup method [SME: 4678] |
99 |
|
|
100 |
|
* Mon Oct 20 2008 Shad L. Lords <slords@mail.com> 2.2.0-5.sme |
101 |
|
- Use perl routines for timeout checking [SME: 4660] |
102 |
|
|
103 |
|
* Thu Oct 16 2008 Shad L. Lords <slords@mail.com> 2.2.0-4.sme |
104 |
|
- Make dar use defined list of directories to backup [SME: 4676] |
105 |
|
|
106 |
|
* Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-3.sme |
107 |
|
- Correct translation of CONFIGURATION_TO_BE_DONE to be proper English [SME: 4669] |
108 |
|
|
109 |
|
* Thu Oct 9 2008 Shad L. Lords <slords@mail.com> 2.2.0-2.sme |
110 |
|
- Fix localization strings in backup panel [SME: 4650] |
111 |
|
|
112 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
113 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
114 |
|
|
115 |
|
* Thu Aug 7 2008 Shad L. Lords <slords@mail.com> 1.15.0-22 |
116 |
|
- Localise status of workstation backup [SME: 4481] |
117 |
|
|
118 |
* Thu Feb 14 2008 Gavin Weight <gweight@gmail.com> 1.14.0-18 |
* Fri Aug 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.15.0-21 |
119 |
- Backport remove <base> tags now in general. [SME: 3912] |
- Fix too greedy removel of locale key CONFIGURE_TAPE_BACKUP [SME: 4469] |
120 |
|
|
121 |
* Mon Feb 11 2008 Gavin Weight <gweight@gmail.com> 1.14.0-17 |
* Sat Jul 26 2008 Shad L. Lords <slords@mail.com> 1.15.0-20 |
122 |
- Backport remove duplicates <base> entries. [SME: 3887] |
- Make full backups have priority over incremental [SME: 4395] |
123 |
|
|
124 |
|
* Sat Jul 26 2008 Shad L. Lords <slords@mail.com> 1.15.0-19 |
125 |
|
- Fix redirect to stderr on check tape cronjob [SME: 4458] |
126 |
|
|
127 |
|
* Sun Jul 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.15.0-18 |
128 |
|
- Add common <base> tags to e-smith-formmagick's general [SME: 4286] |
129 |
|
|
130 |
|
* Sat May 31 2008 Gavin Weight <gweight@gmail.com> 1.15.0-17 |
131 |
|
- Fix Dar manager to redirect correctly in system call. [SME: 4304] |
132 |
|
|
133 |
|
* Mon May 26 2008 Gavin Weight <gweight@gmail.com> 1.15.0-16 |
134 |
|
- Fix Dar to expand correctly. [SME: 4304] |
135 |
|
|
136 |
|
* Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.15.0-15 |
137 |
|
- Add common <base> tags to e-smith-formmagick's general [SME: 4286] |
138 |
|
|
139 |
|
* Wed Apr 09 2008 Stephen Noble <support@dungog.net> 1.15.0-14 |
140 |
|
- Minor fix in translation of hours [SME: 4179] |
141 |
|
|
142 |
|
* Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.15.0-13 |
143 |
|
- Fix localization in restore routine [SME: 3989] |
144 |
|
|
145 |
|
* Sat Mar 07 2008 Stephen Noble <support@dungog.net> 1.15.0-12 |
146 |
|
- Remove <br> tag from error msg [SME: 3989] |
147 |
|
|
148 |
|
* Sat Mar 07 2008 Stephen Noble <support@dungog.net> 1.15.0-11 |
149 |
|
- Move/copy Backup_Desc to Backup_Desc_Dar for 1.15 rel [SME: 4024] |
150 |
|
|
151 |
|
* Wed Feb 13 2008 Stephen Noble <support@dungog.net> 1.15.0-10 |
152 |
|
- Remove <base> tags now in general [SME: 3912] |
153 |
|
|
154 |
|
* Sun Feb 10 2008 Stephen Noble <support@dungog.net> 1.15.0-9 |
155 |
|
- Remove duplicate <base> entries [SME: 3887] |
156 |
|
|
157 |
|
* Thu Nov 29 2007 Gavin Weight <gweight@gmail.com> 1.15.0-8 |
158 |
|
- Fix restore files location path. [SME: 3593] |
159 |
|
|
160 |
|
* Mon Nov 19 2007 Gavin Weight <gweight@gmail.com> 1.15.0-7 |
161 |
|
- Fix compression setting range (Thanks JPL) . [SME: 3560] |
162 |
|
|
163 |
|
* Fri Nov 09 2007 Gavin Weight <gweight@gmail.com> 1.15.0-06 |
164 |
|
- Enhancement to DAR code (Thanks JPL) . [SME: 3538] |
165 |
|
|
166 |
|
* Fri Oct 26 2007 Gavin Weight <gweight@gmail.com> 1.15.0-05 |
167 |
|
- Fix up DAR code to enable backup to complete. [SME: 3373] |
168 |
|
|
169 |
|
* Tue Sep 11 2007 Charlie Brady <charlie_brady@mitel.com> 1.15.0-04 |
170 |
|
- Remove desktop verify and desktop restore features. Note that |
171 |
|
lexicon entries have not been removed. [SME: 3372] |
172 |
|
|
173 |
|
* Fri Sep 07 2007 Charlie Brady <charlie_brady@mitel.com> 1.15.0-03 |
174 |
|
- Reformat new DAR code to match existing coding style. |
175 |
|
|
176 |
|
* Wed Sep 05 2007 Jean-Paul Leclere <jean-paul@leclere.org> 1.15.0-02 |
177 |
|
- Dar workstation backup patch |
178 |
|
|
179 |
|
* Wed Sep 05 2007 Charlie Brady <charlie_brady@mitel.com> 1.15.0-01 |
180 |
|
- Roll new development version. |
181 |
|
|
182 |
* 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 |
183 |
- 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] |
1115 |
|
|
1116 |
%prep |
%prep |
1117 |
%setup |
%setup |
|
%patch0 -p1 |
|
1118 |
%patch1 -p1 |
%patch1 -p1 |
1119 |
%patch2 -p1 |
%patch2 -p1 |
1120 |
%patch3 -p1 |
%patch3 -p1 |
1133 |
%patch16 -p1 |
%patch16 -p1 |
1134 |
%patch17 -p1 |
%patch17 -p1 |
1135 |
%patch18 -p1 |
%patch18 -p1 |
1136 |
|
%patch19 -p1 |
1137 |
|
|
1138 |
%build |
%build |
1139 |
/sbin/e-smith/buildtests 10e-smith-backup |
/sbin/e-smith/buildtests 10e-smith-backup |
1152 |
mkdir -p root/var/cache/e-smith/restore/etc |
mkdir -p root/var/cache/e-smith/restore/etc |
1153 |
mkdir -p root/var/cache/e-smith/restore/etc/samba |
mkdir -p root/var/cache/e-smith/restore/etc/samba |
1154 |
mkdir -p root/etc/e-smith/db/backups |
mkdir -p root/etc/e-smith/db/backups |
1155 |
|
mkdir -p root/etc/dar |
1156 |
|
mkdir -p root/mnt/smb |
1157 |
|
|
1158 |
%install |
%install |
1159 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
1171 |
%pre |
%pre |
1172 |
%preun |
%preun |
1173 |
%post |
%post |
|
/bin/rm -f /sbin/e-smith/backup |
|
|
/bin/rm -f /etc/cron.d/backup |
|
|
|
|
1174 |
%postun |
%postun |
1175 |
|
|
1176 |
%files -f %{name}-%{version}-%{release}-filelist |
%files -f %{name}-%{version}-%{release}-filelist |