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