/[smeserver]/rpms/e-smith-backup/sme7/e-smith-backup.spec
ViewVC logotype

Diff of /rpms/e-smith-backup/sme7/e-smith-backup.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.4.2.10 by snetram, Mon Jul 28 21:08:24 2008 UTC Revision 1.67 by wellsi, Mon Jun 13 21:12:17 2011 UTC
# Line 1  Line 1 
1    # $Id: e-smith-backup.spec,v 1.66 2011/04/13 20:42:08 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.0.0
7  %define release 25  %define release 36
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.patch
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
19  Patch6: e-smith-backup-1.14.0-tapeactions.patch  Patch7: e-smith-backup-2.0.0-nocompressogg.patch
20  Patch7: e-smith-backup-1.14.0-backuptype.patch  Patch8: e-smith-backup-2.0.0-verbose.patch
21  Patch8: e-smith-backup-1.14.0-eject.patch2  Patch9: e-smith-backup-2.0.0-email.patch
22  Patch9: e-smith-backup-1.14.0-backuptype.patch2  Patch10: e-smith-backup-2.0.0-mount_usb.patch
23  Patch10: e-smith-backup-1.14.0-restorefromdisk.patch  Patch11: e-smith-backup-2.0.0-verbose_panel.patch
24  Patch11: e-smith-backup-1.14.0-RestoreMachineAccountGroups.patch  Patch12: e-smith-backup-2.0.0-gzip.patch
25  Patch12: e-smith-backup-1.14.0-reminderemail.patch  Patch13: e-smith-backup-2.0.0-empty.patch
26  Patch13: e-smith-backup-1.14.0-backuptype.patch3  Patch14: e-smith-backup-2.0.0-spelling.patch
27  Patch14: e-smith-backup-1.14.0-proxyenv.patch  Patch15: e-smith-backup-2.0.0-password.patch
28  Patch15: e-smith-backup-1.14.0-bklistexist.patch  Patch16: e-smith-backup-2.0.0-fixCompressionLevelRange.patch
29  Patch16: e-smith-backup-1.14.0-rmLexDuplicates.patch  Patch17: e-smith-backup-2.0.0-fixReport.patch
30  Patch17: e-smith-backup-1.14.0-tags2general.patch  Patch18: e-smith-backup-2.0.0-workstation_verify.patch
31  Patch18: e-smith-backup-1.14.0-brFix.patch  Patch19: e-smith-backup-2.0.0-many_daily_dar.patch
32  Patch19: e-smith-backup-1.14.0-fixerrmsg.patch  Patch20: e-smith-backup-2.0.0-CIFScredentials.patch
33  Patch20: e-smith-backup-1.14.0-add2general.patch  Patch21: e-smith-backup-2.0.0-CIFScredentials2.patch
34  Patch21: e-smith-backup-1.14.0-stderr.patch  Patch22: e-smith-backup-2.0.0-FullSunday.patch
35    Patch23: e-smith-backup-2.0.0-workstation-To-field.patch
36    Patch24: e-smith-backup-2.0.0-stripSpaces.patch
37    Patch25: e-smith-backup-2.0.0-smbpassword2smbpasswd.patch
38    Patch26: e-smith-backup-2.0.0-smbpasswdPanelText.patch
39    Patch27: e-smith-backup-2.0.0-DesktopBackupTextUpdate.patch
40    Patch28: e-smith-backup-2.0.0-once_a_day.patch
41    Patch29: e-smith-backup-2.0.0-CheckDarReturnCode.patch
42    Patch30: e-smith-backup-2.0.0-handle-dirs-using-DirHandle.patch
43    Patch31: e-smith-backup-2.0.0-fix-exclude-regex.patch
44    Patch32: e-smith-backup-2.0.0-modifiedFiles.patch
45  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
46  BuildRequires: e-smith-devtools >= 1.11.0-03  BuildRequires: e-smith-devtools >= 1.11.0-03
47  BuildRequires: gettext  BuildRequires: gettext
48  BuildArchitectures: noarch  BuildArchitectures: noarch
49  Requires: e-smith-base  Requires: e-smith-base
 Requires: e-smith-formmagick >= 1.4.0-12  
50  Requires: e-smith-lib >= 1.15.1-19  Requires: e-smith-lib >= 1.15.1-19
51  Requires: perl(Quota)  Requires: perl(Quota)
52  Requires: perl(Unix::PasswdFile)  Requires: perl(Unix::PasswdFile)
# Line 45  Requires: perl(Locale::gettext) Line 56  Requires: perl(Locale::gettext)
56  Requires: perl(Digest::MD5)  Requires: perl(Digest::MD5)
57  Requires: perl(File::Copy)  Requires: perl(File::Copy)
58  Requires: perl(esmith::I18N)  Requires: perl(esmith::I18N)
59    Requires: dar
60    Requires: e-smith-formmagick >= 1.4.0-12
61    
62  %changelog  %changelog
63  * Mon Jul 28 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.14.0-25  * Fri Jun 10 2011 Ian Wells <esmith@wellsi.com> 2.0.0-36.sme
64  - Backport patch to add common <base> tags to e-smith-formmagick's general [SME: 4286]  - Do not make backup fail when due to a modified file, by Filippo Carletti [SME: 6635]
65    
66    * Wed Apr 13 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-35.sme
67    - Fix variable initialization [SME: 6512]
68    
69    * Sat Apr 9 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-34.sme
70    - Fix regex to exclude only up directories and hidden folders [SME: 6512]
71    
72    * Sat Apr 9 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-33.sme
73    - Handle removable backup locations using DirHandle [SME: 6512]
74    
75    * Fri Mar 11 2011 Ian Wells <esmith@wellsi.com> 2.0.0-32.sme
76    - Backup to Workstation does not handle full remote disc gracefully, by Filippo Carletti [SME: 5688]
77    
78    * Sat Aug 7 2010 Ian Wells <esmith@wellsi.com> 2.0.0-31.sme
79    - Don't backup more than once per day, by Filippo Carletti [SME: 5444]
80    
81    * Mon Jun 21 2010 Ian Wells <esmith@wellsi.com> 2.0.0-30.sme
82    - Update backup instructions in server-manager [SME: 5222]
83    
84    * Mon Jun 21 2010 Ian Wells <esmith@wellsi.com> 2.0.0-29.sme
85    - /etc/smbpasswd should not be mentioned in the panels [SME: 6070]
86    
87    * Sat Jun 15 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-28.sme
88    - Fix patch to not create .orig file [SME: 6054]
89    
90    * Tue Jun 15 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-27.sme
91    - Fix error causing restore to report failed where it was complete [SME: 6054]
92    
93    * Mon Jun 14 2010 Ian Wells <esmith@wellsi.com> 2.0.0-26.sme
94    - Strip spaces from Workstation Backup hostname [SME: 5664]
95    
96    * Thu May 6 2010 Ian Wells <esmith@wellsi.com> 2.0.0-25.sme
97    - To: field missing from header in Workstation Backups email [SME: 5872]
98    
99    * Wed Nov 25 2009 Gavin Weight <gweight@gmail.com> 2.0.0-24.sme
100    - Fix full backup on Sunday displayed as Everyday. [SME: 5624]
101    
102    * Wed Aug 26 2009 Jean-Paul Leclere <jean-paul@leclere.org> 2.0.0-23.sme
103    - workstation backup: add cifs credentials expand to bootstrap-console-save [SME: 4850]
104    
105    * Tue Aug 25 2009 Jean-Paul Leclere <jean-paul@leclere.org> 2.0.0-22.sme
106    - workstation backup: using credentials file for cifs mount [SME: 4850]
107    
108    * Sun Jul 26 2009 Jean-Paul Leclere <jean-paul@leclere.org> 2.0.0-21.sme
109    - workstation backup: allow many backups in the same day [SME: 5393]
110    
111    * Wed Jul 22 2009 Jean-Paul Leclere <jean-paul@leclere.org> 2.0.0-20.sme
112    - workstation restore: all needed backups must be available before restore [SME: 5395]
113    - workstation verify: add option to check integrity of backups needed in a full restore [SME: 5396]
114    - minor fix in translation [SME: 5406]
115    
116    * Sun May 17 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-19.sme
117    - Fix DAR e-mail message with regards to incremental backups [SME: 4579]
118    
119    * Tue Dec  9 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-18.sme
120    - Fix discrepancy in maximum compression level [SME: 4841]
121    
122    * Wed Oct 29 2008 Shad L. Lords <slords@mail.com> 2.0.0-17.sme
123    - Fix spelling mistakes in backup panel [SME: 4732]
124    - Hide password from manager panel [SME: 4734]
125    
126    * Tue Oct 28 2008 Shad L. Lords <slords@mail.com> 2.0.0-16.sme
127    - Migrate smbfs to cifs to complete removal [SME: 4678]
128    
129    * Mon Oct 27 2008 Shad L. Lords <slords@mail.com> 2.0.0-15.sme
130    - Fix compression to default to gzip [SME: 4630]
131    - Fix uninitialized values in backup [SME: 4720]
132    
133    * Sat Oct 25 2008 Stephen Noble <support@dungog.net> 2.0.0-14.sme
134    - dar backup to be less verbose in panel [SME: 4719]
135    
136    * Sat Oct 25 2008 Stephen Noble <support@dungog.net> 2.0.0-13.sme
137    - correct mounting for usb disks [SME: 4695]
138    
139    * Wed Oct 22 2008 Shad L. Lords <slords@mail.com> 2.0.0-12.sme
140    - Fix from address on email [SME: 4702]
141    
142  * Sat Jul 26 2008 Shad L. Lords <slords@mail.com> 1.14.0-24  * Tue Oct 21 2008 Shad L. Lords <slords@mail.com> 2.0.0-11.sme
143    - Fix patch to remove orig file [SME: 4700]
144    - Patch dar backup to be less verbose [SME: 4699]
145    
146    * Tue Oct 21 2008 Stephen Noble <support@dungog.net> 2.0.0-10.sme
147    - no compression for ogg media files [SME: 4677]
148    
149    * Tue Oct 21 2008 Stephen Noble <support@dungog.net> 2.0.0-8.sme
150    - replace defined list of directories to backup [SME: 4676]
151    
152    * Mon Oct 20 2008 Shad L. Lords <slords@mail.com> 2.0.0-7.sme
153    - Fix already mounted check [SME: 4688]
154    
155    * Mon Oct 20 2008 Shad L. Lords <slords@mail.com> 2.0.0-6.sme
156    - Remove obsolete smbfs backup method [SME: 4678]
157    
158    * Mon Oct 20 2008 Shad L. Lords <slords@mail.com> 2.0.0-5.sme
159    - Use perl routines for timeout checking [SME: 4660]
160    
161    * Thu Oct 16 2008 Shad L. Lords <slords@mail.com> 2.0.0-4.sme
162    - Make dar use defined list of directories to backup [SME: 4676]
163    
164    * Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-3.sme
165    - Correct translation of CONFIGURATION_TO_BE_DONE to be proper English [SME: 4669]
166    
167    * Thu Oct 9 2008 Shad L. Lords <slords@mail.com> 2.0.0-2.sme
168    - Fix localization strings in backup panel [SME: 4650]
169    
170    * Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.0.0-1.sme
171    - Roll new stream to separate sme7/sme8 trees [SME: 4633]
172    
173    * Thu Aug 7 2008 Shad L. Lords <slords@mail.com> 1.15.0-22
174    - Localise status of workstation backup [SME: 4481]
175    
176    * Fri Aug 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.15.0-21
177    - Fix too greedy removel of locale key CONFIGURE_TAPE_BACKUP [SME: 4469]
178    
179    * Sat Jul 26 2008 Shad L. Lords <slords@mail.com> 1.15.0-20
180    - Make full backups have priority over incremental [SME: 4395]
181    
182    * Sat Jul 26 2008 Shad L. Lords <slords@mail.com> 1.15.0-19
183  - Fix redirect to stderr on check tape cronjob [SME: 4458]  - Fix redirect to stderr on check tape cronjob [SME: 4458]
184    
185  * 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
186  - Add common <base> tags to e-smith-formmagick's general [SME: 4286]  - Add common <base> tags to e-smith-formmagick's general [SME: 4286]
187    
188  * 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
189  - Use correct patch for remove duplicates [SME: 3887]  - Fix Dar manager to redirect correctly in system call. [SME: 4304]
190    
191  * Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.14.0-21  * Mon May 26 2008 Gavin Weight <gweight@gmail.com> 1.15.0-16
192    - Fix Dar to expand correctly. [SME: 4304]
193    
194    * Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.15.0-15
195    - Add common <base> tags to e-smith-formmagick's general [SME: 4286]
196    
197    * Wed Apr 09 2008 Stephen Noble <support@dungog.net> 1.15.0-14
198    - Minor fix in translation of hours [SME: 4179]
199    
200    * Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.15.0-13
201  - Fix localization in restore routine [SME: 3989]  - Fix localization in restore routine [SME: 3989]
202    
203  * 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
204  - Fix patches to get rid of .orig files [SME: 4100]  - Remove <br> tag from error msg  [SME: 3989]
205    
206    * Sat Mar 07 2008 Stephen Noble <support@dungog.net> 1.15.0-11
207    - Move/copy Backup_Desc to Backup_Desc_Dar for 1.15 rel [SME: 4024]
208    
209    * Wed Feb 13 2008 Stephen Noble <support@dungog.net> 1.15.0-10
210    - Remove <base> tags now in general [SME: 3912]
211    
212    * Sun Feb 10 2008 Stephen Noble <support@dungog.net> 1.15.0-9
213    - Remove duplicate <base> entries [SME: 3887]
214    
215  * 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
216  - Backport remove <br> from error msg. [SME: 3989]  - Fix restore files location path. [SME: 3593]
217    
218  * 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
219  - Backport remove <base> tags now in general. [SME: 3912]  - Fix compression setting range (Thanks JPL) . [SME: 3560]
220    
221  * 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
222  - Backport remove duplicates <base> entries. [SME: 3887]  - Enhancement to DAR code (Thanks JPL) . [SME: 3538]
223    
224    * Fri Oct 26 2007 Gavin Weight <gweight@gmail.com> 1.15.0-05
225    - Fix up DAR code to enable backup to complete. [SME: 3373]
226    
227    * Tue Sep 11 2007 Charlie Brady <charlie_brady@mitel.com> 1.15.0-04
228    - Remove desktop verify and desktop restore features. Note that
229      lexicon entries have not been removed. [SME: 3372]
230    
231    * Fri Sep 07 2007 Charlie Brady <charlie_brady@mitel.com> 1.15.0-03
232    - Reformat new DAR code to match existing coding style.
233    
234    * Wed Sep 05 2007 Jean-Paul Leclere <jean-paul@leclere.org> 1.15.0-02
235    - Dar workstation backup patch
236    
237    * Wed Sep 05 2007 Charlie Brady <charlie_brady@mitel.com> 1.15.0-01
238    - Roll new development version.
239    
240  * 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
241  - 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]
# Line 1010  e-smith server central backup administra Line 1173  e-smith server central backup administra
1173    
1174  %prep  %prep
1175  %setup  %setup
 %patch0 -p1  
1176  %patch1 -p1  %patch1 -p1
1177  %patch2 -p1  %patch2 -p1
1178  %patch3 -p1  %patch3 -p1
# Line 1032  e-smith server central backup administra Line 1194  e-smith server central backup administra
1194  %patch19 -p1  %patch19 -p1
1195  %patch20 -p1  %patch20 -p1
1196  %patch21 -p1  %patch21 -p1
1197    %patch22 -p1
1198    %patch23 -p1
1199    %patch24 -p1
1200    %patch25 -p1
1201    %patch26 -p1
1202    %patch27 -p1
1203    %patch28 -p1
1204    %patch29 -p1
1205    %patch30 -p1
1206    %patch31 -p1
1207    %patch32 -p1
1208    
1209  %build  %build
1210  /sbin/e-smith/buildtests 10e-smith-backup  /sbin/e-smith/buildtests 10e-smith-backup
# Line 1050  mkdir -p root/var/cache/e-smith/restore Line 1223  mkdir -p root/var/cache/e-smith/restore
1223  mkdir -p root/var/cache/e-smith/restore/etc  mkdir -p root/var/cache/e-smith/restore/etc
1224  mkdir -p root/var/cache/e-smith/restore/etc/samba  mkdir -p root/var/cache/e-smith/restore/etc/samba
1225  mkdir -p root/etc/e-smith/db/backups  mkdir -p root/etc/e-smith/db/backups
1226    mkdir -p root/etc/dar
1227    mkdir -p root/mnt/smb
1228    
1229  %install  %install
1230  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
# Line 1067  rm -rf $RPM_BUILD_ROOT Line 1242  rm -rf $RPM_BUILD_ROOT
1242  %pre  %pre
1243  %preun  %preun
1244  %post  %post
 /bin/rm -f /sbin/e-smith/backup  
 /bin/rm -f /etc/cron.d/backup  
   
1245  %postun  %postun
1246    
1247  %files -f %{name}-%{version}-%{release}-filelist  %files -f %{name}-%{version}-%{release}-filelist


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed