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