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