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