1 |
|
# $Id: e-smith-backup.spec,v 1.29 2008/10/16 14:58:46 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 26 |
%define release 4 |
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 |
|
Patch3: e-smith-backup-1.14.0-Crontab.patch2 |
|
|
Patch4: e-smith-backup-1.14.0-DesktopBackupWarning.patch3 |
|
|
Patch5: e-smith-backup-1.14.0-eject.patch |
|
|
Patch6: e-smith-backup-1.14.0-tapeactions.patch |
|
|
Patch7: e-smith-backup-1.14.0-backuptype.patch |
|
|
Patch8: e-smith-backup-1.14.0-eject.patch2 |
|
|
Patch9: e-smith-backup-1.14.0-backuptype.patch2 |
|
|
Patch10: e-smith-backup-1.14.0-restorefromdisk.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 |
|
|
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 |
|
|
Patch21: e-smith-backup-1.14.0-stderr.patch |
|
16 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
17 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
18 |
BuildRequires: gettext |
BuildRequires: gettext |
19 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
20 |
Requires: e-smith-base |
Requires: e-smith-base |
|
Requires: e-smith-formmagick >= 1.4.0-12 |
|
21 |
Requires: e-smith-lib >= 1.15.1-19 |
Requires: e-smith-lib >= 1.15.1-19 |
22 |
Requires: perl(Quota) |
Requires: perl(Quota) |
23 |
Requires: perl(Unix::PasswdFile) |
Requires: perl(Unix::PasswdFile) |
27 |
Requires: perl(Digest::MD5) |
Requires: perl(Digest::MD5) |
28 |
Requires: perl(File::Copy) |
Requires: perl(File::Copy) |
29 |
Requires: perl(esmith::I18N) |
Requires: perl(esmith::I18N) |
30 |
|
Requires: dar |
31 |
|
Requires: e-smith-formmagick >= 1.4.0-12 |
32 |
|
|
33 |
%changelog |
%changelog |
34 |
* Fri Aug 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.14.0-26 |
* Thu Oct 16 2008 Shad L. Lords <slords@mail.com> 2.0.0-4.sme |
35 |
- Fix too greedy removel of locale key CONFIGURE_TAPE_BACKUP [SME: 4469] |
- Make dar use defined list of directories to backup [SME: 4676] |
36 |
|
|
37 |
|
* Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-3.sme |
38 |
|
- Correct translation of CONFIGURATION_TO_BE_DONE to be proper English [SME: 4669] |
39 |
|
|
40 |
|
* Thu Oct 9 2008 Shad L. Lords <slords@mail.com> 2.0.0-2.sme |
41 |
|
- Fix localization strings in backup panel [SME: 4650] |
42 |
|
|
43 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.0.0-1.sme |
44 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
45 |
|
|
46 |
* Mon Jul 28 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.14.0-25 |
* Thu Aug 7 2008 Shad L. Lords <slords@mail.com> 1.15.0-22 |
47 |
- Backport patch to add common <base> tags to e-smith-formmagick's general [SME: 4286] |
- Localise status of workstation backup [SME: 4481] |
48 |
|
|
49 |
* Sat Jul 26 2008 Shad L. Lords <slords@mail.com> 1.14.0-24 |
* Fri Aug 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.15.0-21 |
50 |
|
- Fix too greedy removel of locale key CONFIGURE_TAPE_BACKUP [SME: 4469] |
51 |
|
|
52 |
|
* Sat Jul 26 2008 Shad L. Lords <slords@mail.com> 1.15.0-20 |
53 |
|
- Make full backups have priority over incremental [SME: 4395] |
54 |
|
|
55 |
|
* Sat Jul 26 2008 Shad L. Lords <slords@mail.com> 1.15.0-19 |
56 |
- Fix redirect to stderr on check tape cronjob [SME: 4458] |
- Fix redirect to stderr on check tape cronjob [SME: 4458] |
57 |
|
|
58 |
* 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 |
59 |
- Add common <base> tags to e-smith-formmagick's general [SME: 4286] |
- Add common <base> tags to e-smith-formmagick's general [SME: 4286] |
60 |
|
|
61 |
* 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 |
62 |
- Use correct patch for remove duplicates [SME: 3887] |
- Fix Dar manager to redirect correctly in system call. [SME: 4304] |
63 |
|
|
64 |
|
* Mon May 26 2008 Gavin Weight <gweight@gmail.com> 1.15.0-16 |
65 |
|
- Fix Dar to expand correctly. [SME: 4304] |
66 |
|
|
67 |
|
* Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.15.0-15 |
68 |
|
- Add common <base> tags to e-smith-formmagick's general [SME: 4286] |
69 |
|
|
70 |
* Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.14.0-21 |
* Wed Apr 09 2008 Stephen Noble <support@dungog.net> 1.15.0-14 |
71 |
|
- Minor fix in translation of hours [SME: 4179] |
72 |
|
|
73 |
|
* Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.15.0-13 |
74 |
- Fix localization in restore routine [SME: 3989] |
- Fix localization in restore routine [SME: 3989] |
75 |
|
|
76 |
* 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 |
77 |
- Fix patches to get rid of .orig files [SME: 4100] |
- Remove <br> tag from error msg [SME: 3989] |
78 |
|
|
79 |
|
* Sat Mar 07 2008 Stephen Noble <support@dungog.net> 1.15.0-11 |
80 |
|
- Move/copy Backup_Desc to Backup_Desc_Dar for 1.15 rel [SME: 4024] |
81 |
|
|
82 |
|
* Wed Feb 13 2008 Stephen Noble <support@dungog.net> 1.15.0-10 |
83 |
|
- Remove <base> tags now in general [SME: 3912] |
84 |
|
|
85 |
|
* Sun Feb 10 2008 Stephen Noble <support@dungog.net> 1.15.0-9 |
86 |
|
- Remove duplicate <base> entries [SME: 3887] |
87 |
|
|
88 |
|
* Thu Nov 29 2007 Gavin Weight <gweight@gmail.com> 1.15.0-8 |
89 |
|
- Fix restore files location path. [SME: 3593] |
90 |
|
|
91 |
* Mon Mar 24 2008 Shad L. Lords <slords@mail.com> 1.14.0-19 |
* Mon Nov 19 2007 Gavin Weight <gweight@gmail.com> 1.15.0-7 |
92 |
- Backport remove <br> from error msg. [SME: 3989] |
- Fix compression setting range (Thanks JPL) . [SME: 3560] |
93 |
|
|
94 |
* Thu Feb 14 2008 Gavin Weight <gweight@gmail.com> 1.14.0-18 |
* Fri Nov 09 2007 Gavin Weight <gweight@gmail.com> 1.15.0-06 |
95 |
- Backport remove <base> tags now in general. [SME: 3912] |
- Enhancement to DAR code (Thanks JPL) . [SME: 3538] |
96 |
|
|
97 |
* Mon Feb 11 2008 Gavin Weight <gweight@gmail.com> 1.14.0-17 |
* Fri Oct 26 2007 Gavin Weight <gweight@gmail.com> 1.15.0-05 |
98 |
- Backport remove duplicates <base> entries. [SME: 3887] |
- Fix up DAR code to enable backup to complete. [SME: 3373] |
99 |
|
|
100 |
|
* Tue Sep 11 2007 Charlie Brady <charlie_brady@mitel.com> 1.15.0-04 |
101 |
|
- Remove desktop verify and desktop restore features. Note that |
102 |
|
lexicon entries have not been removed. [SME: 3372] |
103 |
|
|
104 |
|
* Fri Sep 07 2007 Charlie Brady <charlie_brady@mitel.com> 1.15.0-03 |
105 |
|
- Reformat new DAR code to match existing coding style. |
106 |
|
|
107 |
|
* Wed Sep 05 2007 Jean-Paul Leclere <jean-paul@leclere.org> 1.15.0-02 |
108 |
|
- Dar workstation backup patch |
109 |
|
|
110 |
|
* Wed Sep 05 2007 Charlie Brady <charlie_brady@mitel.com> 1.15.0-01 |
111 |
|
- Roll new development version. |
112 |
|
|
113 |
* 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 |
114 |
- 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] |
1046 |
|
|
1047 |
%prep |
%prep |
1048 |
%setup |
%setup |
|
%patch0 -p1 |
|
1049 |
%patch1 -p1 |
%patch1 -p1 |
1050 |
%patch2 -p1 |
%patch2 -p1 |
1051 |
%patch3 -p1 |
%patch3 -p1 |
|
%patch4 -p1 |
|
|
%patch5 -p1 |
|
|
%patch6 -p1 |
|
|
%patch7 -p1 |
|
|
%patch8 -p1 |
|
|
%patch9 -p1 |
|
|
%patch10 -p1 |
|
|
%patch11 -p1 |
|
|
%patch12 -p1 |
|
|
%patch13 -p1 |
|
|
%patch14 -p1 |
|
|
%patch15 -p1 |
|
|
%patch16 -p1 |
|
|
%patch17 -p1 |
|
|
%patch18 -p1 |
|
|
%patch19 -p1 |
|
|
%patch20 -p1 |
|
|
%patch21 -p1 |
|
1052 |
|
|
1053 |
%build |
%build |
1054 |
/sbin/e-smith/buildtests 10e-smith-backup |
/sbin/e-smith/buildtests 10e-smith-backup |
1067 |
mkdir -p root/var/cache/e-smith/restore/etc |
mkdir -p root/var/cache/e-smith/restore/etc |
1068 |
mkdir -p root/var/cache/e-smith/restore/etc/samba |
mkdir -p root/var/cache/e-smith/restore/etc/samba |
1069 |
mkdir -p root/etc/e-smith/db/backups |
mkdir -p root/etc/e-smith/db/backups |
1070 |
|
mkdir -p root/etc/dar |
1071 |
|
mkdir -p root/mnt/smb |
1072 |
|
|
1073 |
%install |
%install |
1074 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
1086 |
%pre |
%pre |
1087 |
%preun |
%preun |
1088 |
%post |
%post |
|
/bin/rm -f /sbin/e-smith/backup |
|
|
/bin/rm -f /etc/cron.d/backup |
|
|
|
|
1089 |
%postun |
%postun |
1090 |
|
|
1091 |
%files -f %{name}-%{version}-%{release}-filelist |
%files -f %{name}-%{version}-%{release}-filelist |