1 |
|
# $Id: e-smith-backup.spec,v 1.57 2010/01/31 06:00:13 dungog 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.15.0 |
%define version 2.2.0 |
7 |
%define release 12 |
%define release 28 |
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.15.0-DarWorkstation.patch |
Patch1: e-smith-backup-2.2.0-localise_fix.patch |
14 |
Patch1: e-smith-backup-1.15.0-reformat.patch |
Patch2: e-smith-backup-2.2.0-fixPleaseConfigure.patch |
15 |
Patch2: e-smith-backup-1.15.0-no_desktop_verify_restore.patch |
Patch3: e-smith-backup-2.2.0-restore_list.patch |
16 |
Patch3: e-smith-backup-1.15.0-DarWorkstation.patch2 |
Patch4: e-smith-backup-2.2.0-timeout.patch |
17 |
Patch4: e-smith-backup-1.15.0-DarWorkstation.patch3 |
Patch5: e-smith-backup-2.2.0-smbfs.patch |
18 |
Patch5: e-smith-backup-1.15.0-FixCompressionSetting.patch |
Patch6: e-smith-backup-2.2.0-mount_verify.patch |
19 |
Patch6: e-smith-backup-1.15.0-WrongRestoreLocationFix.patch |
Patch7: e-smith-backup-2.2.0-nocompressogg.patch |
20 |
Patch7: e-smith-backup-1.15.0-rmLexDuplicates.patch |
Patch8: e-smith-backup-2.2.0-verbose.patch |
21 |
Patch8: e-smith-backup-1.15.0-tags2general.patch |
Patch9: e-smith-backup-2.2.0-email.patch |
22 |
Patch9: e-smith-backup-1.15.0-DarDesc.patch |
Patch10: e-smith-backup-2.2.0-mount_usb.patch |
23 |
Patch10: e-smith-backup-1.15.0-brFix.patch |
Patch11: e-smith-backup-2.2.0-verbose_panel.patch |
24 |
|
Patch12: e-smith-backup-2.2.0-gzip.patch |
25 |
|
Patch13: e-smith-backup-2.2.0-empty.patch |
26 |
|
Patch14: e-smith-backup-2.2.0-spelling.patch |
27 |
|
Patch15: e-smith-backup-2.2.0-password.patch |
28 |
|
Patch16: e-smith-backup-2.2.0-fixCompressionLevelRange.patch |
29 |
|
Patch17: e-smith-backup-2.2.0-fixReport.patch |
30 |
|
Patch18: e-smith-backup-2.2.0-workstation_verify.patch |
31 |
|
Patch19: e-smith-backup-2.2.0-many_daily_dar.patch |
32 |
|
Patch20: e-smith-backup-2.2.0-CIFScredentials.patch |
33 |
|
Patch21: e-smith-backup-2.2.0-CIFScredentials2.patch |
34 |
|
Patch22: e-smith-backup-2.2.0-moreexcludes.patch |
35 |
|
Patch23: e-smith-backup-2.2.0-fullSunday.patch |
36 |
|
Patch24: e-smith-backup-2.2.0-once_a_day.patch |
37 |
|
Patch25: e-smith-backup-2.2.0-perform_backup-hal.patch |
38 |
|
Patch26: e-smith-backup-2.2.0-smbpasswd_not_last.patch |
39 |
|
Patch27: e-smith-backup-2.2.0-create_mount.patch |
40 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
41 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
42 |
BuildRequires: gettext |
BuildRequires: gettext |
52 |
Requires: perl(File::Copy) |
Requires: perl(File::Copy) |
53 |
Requires: perl(esmith::I18N) |
Requires: perl(esmith::I18N) |
54 |
Requires: dar |
Requires: dar |
55 |
Requires: e-smith-formmagick >= 1.4.0-9 |
Requires: e-smith-formmagick >= 1.4.0-12 |
56 |
|
|
57 |
%changelog |
%changelog |
58 |
|
* Tue Feb 9 2010 Stephen Noble <support@dungog.net> 2.2.0-28.sme |
59 |
|
- create mount point for verify [SME: 5765] |
60 |
|
|
61 |
|
* Sun Jan 31 2010 Stephen Noble <support@dungog.net> 2.2.0-27.sme |
62 |
|
- remove comment re smbpasswd being last [SME: 5600] |
63 |
|
|
64 |
|
* Sun Jan 31 2010 Stephen Noble <support@dungog.net> 2.2.0-26.sme |
65 |
|
- Fix mounting usb disks [SME: 4809] |
66 |
|
|
67 |
|
* Mon Jan 25 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-25.sme |
68 |
|
- Don't backup more than once per day [SME: 5445] |
69 |
|
|
70 |
|
* Wed Nov 25 2009 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-24.sme |
71 |
|
- Fix full backup on Sunday diplayed as Everyday [SME: 5623] |
72 |
|
|
73 |
|
* Fri Nov 6 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-23.sme |
74 |
|
- Add more excludes for compressed filetypes [SME: 4765] |
75 |
|
|
76 |
|
* Wed Aug 26 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-22.sme |
77 |
|
Porting Jean-Paul Leclere changes in the SME Server 7 tree to SME Server 8: |
78 |
|
- using credentials file for cifs mount [SME: 5442] |
79 |
|
- workstation backup: add cifs credentials expand to bootstrap-console-save [SME: 5442] |
80 |
|
|
81 |
|
* Sun Jul 26 2009 Jean-Paul Leclere <jean-paul@leclere.org> 2.2.0-21.sme |
82 |
|
- workstation backup: allow many backups in the same day [SME: 5411] |
83 |
|
|
84 |
|
* Wed Jul 22 2009 Jean-Paul Leclere <jean-paul@leclere.org> 2.2.0-20.sme |
85 |
|
- workstation restore: all needed backups must be available before restore [SME: 5397] |
86 |
|
- workstation verify: add option to check integrity of backups needed in a full restore [SME: 5405] |
87 |
|
- minor fix in translation [SME: 5407] |
88 |
|
|
89 |
|
* Sun May 17 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-19.sme |
90 |
|
- Fix DAR e-mail message with regards to incremental backups [SME: 4579] |
91 |
|
|
92 |
|
* Tue Dec 9 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-18.sme |
93 |
|
- Fix discrepancy in maximum compression level [SME: 4841] |
94 |
|
|
95 |
|
* Wed Oct 29 2008 Shad L. Lords <slords@mail.com> 2.2.0-17.sme |
96 |
|
- Fix spelling mistakes in backup panel [SME: 4732] |
97 |
|
- Hide password from manager panel [SME: 4734] |
98 |
|
|
99 |
|
* Tue Oct 28 2008 Shad L. Lords <slords@mail.com> 2.2.0-16.sme |
100 |
|
- Migrate smbfs to cifs to complete removal [SME: 4678] |
101 |
|
|
102 |
|
* Mon Oct 27 2008 Shad L. Lords <slords@mail.com> 2.2.0-15.sme |
103 |
|
- Fix compression to default to gzip [SME: 4630] |
104 |
|
- Fix uninitialized values in backup [SME: 4720] |
105 |
|
|
106 |
|
* Sat Oct 25 2008 Stephen Noble <support@dungog.net> 2.2.0-14.sme |
107 |
|
- dar backup to be less verbose in panel [SME: 4719] |
108 |
|
|
109 |
|
* Sat Oct 25 2008 Stephen Noble <support@dungog.net> 2.2.0-13.sme |
110 |
|
- correct mounting for usb disks [SME: 4695] |
111 |
|
|
112 |
|
* Wed Oct 22 2008 Shad L. Lords <slords@mail.com> 2.2.0-12.sme |
113 |
|
- Fix from address on email [SME: 4702] |
114 |
|
|
115 |
|
* Tue Oct 21 2008 Shad L. Lords <slords@mail.com> 2.2.0-11.sme |
116 |
|
- Fix patch to remove orig file [SME: 4700] |
117 |
|
- Patch dar backup to be less verbose [SME: 4699] |
118 |
|
|
119 |
|
* Tue Oct 21 2008 Stephen Noble <support@dungog.net> 2.0.0-10.sme |
120 |
|
- no compression for ogg media files [SME: 4677] |
121 |
|
|
122 |
|
* Tue Oct 21 2008 Stephen Noble <support@dungog.net> 2.2.0-8.sme |
123 |
|
- replace defined list of directories to backup [SME: 4676] |
124 |
|
|
125 |
|
* Mon Oct 20 2008 Shad L. Lords <slords@mail.com> 2.2.0-7.sme |
126 |
|
- Fix already mounted check [SME: 4688] |
127 |
|
|
128 |
|
* Mon Oct 20 2008 Shad L. Lords <slords@mail.com> 2.2.0-6.sme |
129 |
|
- Remove obsolete smbfs backup method [SME: 4678] |
130 |
|
|
131 |
|
* Mon Oct 20 2008 Shad L. Lords <slords@mail.com> 2.2.0-5.sme |
132 |
|
- Use perl routines for timeout checking [SME: 4660] |
133 |
|
|
134 |
|
* Thu Oct 16 2008 Shad L. Lords <slords@mail.com> 2.2.0-4.sme |
135 |
|
- Make dar use defined list of directories to backup [SME: 4676] |
136 |
|
|
137 |
|
* Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-3.sme |
138 |
|
- Correct translation of CONFIGURATION_TO_BE_DONE to be proper English [SME: 4669] |
139 |
|
|
140 |
|
* Thu Oct 9 2008 Shad L. Lords <slords@mail.com> 2.2.0-2.sme |
141 |
|
- Fix localization strings in backup panel [SME: 4650] |
142 |
|
|
143 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
144 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
145 |
|
|
146 |
|
* Thu Aug 7 2008 Shad L. Lords <slords@mail.com> 1.15.0-22 |
147 |
|
- Localise status of workstation backup [SME: 4481] |
148 |
|
|
149 |
|
* Fri Aug 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.15.0-21 |
150 |
|
- Fix too greedy removel of locale key CONFIGURE_TAPE_BACKUP [SME: 4469] |
151 |
|
|
152 |
|
* Sat Jul 26 2008 Shad L. Lords <slords@mail.com> 1.15.0-20 |
153 |
|
- Make full backups have priority over incremental [SME: 4395] |
154 |
|
|
155 |
|
* Sat Jul 26 2008 Shad L. Lords <slords@mail.com> 1.15.0-19 |
156 |
|
- Fix redirect to stderr on check tape cronjob [SME: 4458] |
157 |
|
|
158 |
|
* Sun Jul 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.15.0-18 |
159 |
|
- Add common <base> tags to e-smith-formmagick's general [SME: 4286] |
160 |
|
|
161 |
|
* Sat May 31 2008 Gavin Weight <gweight@gmail.com> 1.15.0-17 |
162 |
|
- Fix Dar manager to redirect correctly in system call. [SME: 4304] |
163 |
|
|
164 |
|
* Mon May 26 2008 Gavin Weight <gweight@gmail.com> 1.15.0-16 |
165 |
|
- Fix Dar to expand correctly. [SME: 4304] |
166 |
|
|
167 |
|
* Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.15.0-15 |
168 |
|
- Add common <base> tags to e-smith-formmagick's general [SME: 4286] |
169 |
|
|
170 |
|
* Wed Apr 09 2008 Stephen Noble <support@dungog.net> 1.15.0-14 |
171 |
|
- Minor fix in translation of hours [SME: 4179] |
172 |
|
|
173 |
|
* Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.15.0-13 |
174 |
|
- Fix localization in restore routine [SME: 3989] |
175 |
|
|
176 |
* Sat Mar 07 2008 Stephen Noble <support@dungog.net> 1.15.0-12 |
* Sat Mar 07 2008 Stephen Noble <support@dungog.net> 1.15.0-12 |
177 |
- Remove <br> tag from error msg [SME: 3989] |
- Remove <br> tag from error msg [SME: 3989] |
178 |
|
|
1146 |
|
|
1147 |
%prep |
%prep |
1148 |
%setup |
%setup |
|
%patch0 -p1 |
|
1149 |
%patch1 -p1 |
%patch1 -p1 |
1150 |
%patch2 -p1 |
%patch2 -p1 |
1151 |
%patch3 -p1 |
%patch3 -p1 |
1156 |
%patch8 -p1 |
%patch8 -p1 |
1157 |
%patch9 -p1 |
%patch9 -p1 |
1158 |
%patch10 -p1 |
%patch10 -p1 |
1159 |
|
%patch11 -p1 |
1160 |
|
%patch12 -p1 |
1161 |
|
%patch13 -p1 |
1162 |
|
%patch14 -p1 |
1163 |
|
%patch15 -p1 |
1164 |
|
%patch16 -p1 |
1165 |
|
%patch17 -p1 |
1166 |
|
%patch18 -p1 |
1167 |
|
%patch19 -p1 |
1168 |
|
%patch20 -p1 |
1169 |
|
%patch21 -p1 |
1170 |
|
%patch22 -p1 |
1171 |
|
%patch23 -p1 |
1172 |
|
%patch24 -p1 |
1173 |
|
%patch25 -p1 |
1174 |
|
%patch26 -p1 |
1175 |
|
%patch27 -p1 |
1176 |
|
|
1177 |
%build |
%build |
1178 |
/sbin/e-smith/buildtests 10e-smith-backup |
/sbin/e-smith/buildtests 10e-smith-backup |