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