1 |
Summary: e-smith module to provide the backup panel |
Summary: e-smith module to provide the backup panel |
2 |
%define name e-smith-backup |
%define name e-smith-backup |
3 |
Name: %{name} |
Name: %{name} |
4 |
%define version 1.14.0 |
%define version 1.15.0 |
5 |
%define release 16 |
%define release 03 |
6 |
Version: %{version} |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
8 |
License: Artistic |
License: Artistic |
9 |
Group: Networking/Daemons |
Group: Networking/Daemons |
10 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
11 |
Patch0: e-smith-backup-1.14.0-DesktopBackupWarning.patch |
Patch0: e-smith-backup-1.15.0-DarWorkstation.patch |
12 |
Patch1: e-smith-backup-1.14.0-DesktopBackupWarning.patch2 |
Patch1: e-smith-backup-1.15.0-reformat.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 |
|
13 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
14 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
15 |
BuildRequires: gettext |
BuildRequires: gettext |
24 |
Requires: perl(Digest::MD5) |
Requires: perl(Digest::MD5) |
25 |
Requires: perl(File::Copy) |
Requires: perl(File::Copy) |
26 |
Requires: perl(esmith::I18N) |
Requires: perl(esmith::I18N) |
27 |
|
Requires: dar |
28 |
|
|
29 |
%changelog |
%changelog |
30 |
|
* Fri Sep 07 2007 Charlie Brady <charlie_brady@mitel.com> 1.15.0-03 |
31 |
|
- Reformat new DAR code to match existing coding style. |
32 |
|
|
33 |
|
* Wed Sep 05 2007 Jean-Paul Leclere <jean-paul@leclere.org> 1.15.0-02 |
34 |
|
- Dar workstation backup patch |
35 |
|
|
36 |
|
* Wed Sep 05 2007 Charlie Brady <charlie_brady@mitel.com> 1.15.0-01 |
37 |
|
- Roll new development version. |
38 |
|
|
39 |
* 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 |
40 |
- 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] |
41 |
|
|
974 |
%setup |
%setup |
975 |
%patch0 -p1 |
%patch0 -p1 |
976 |
%patch1 -p1 |
%patch1 -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 |
|
977 |
|
|
978 |
%build |
%build |
979 |
/sbin/e-smith/buildtests 10e-smith-backup |
/sbin/e-smith/buildtests 10e-smith-backup |
992 |
mkdir -p root/var/cache/e-smith/restore/etc |
mkdir -p root/var/cache/e-smith/restore/etc |
993 |
mkdir -p root/var/cache/e-smith/restore/etc/samba |
mkdir -p root/var/cache/e-smith/restore/etc/samba |
994 |
mkdir -p root/etc/e-smith/db/backups |
mkdir -p root/etc/e-smith/db/backups |
995 |
|
mkdir -p root/etc/dar |
996 |
|
mkdir -p root/mnt/smb |
997 |
|
|
998 |
%install |
%install |
999 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
1011 |
%pre |
%pre |
1012 |
%preun |
%preun |
1013 |
%post |
%post |
|
/bin/rm -f /sbin/e-smith/backup |
|
|
/bin/rm -f /etc/cron.d/backup |
|
|
|
|
1014 |
%postun |
%postun |
1015 |
|
|
1016 |
%files -f %{name}-%{version}-%{release}-filelist |
%files -f %{name}-%{version}-%{release}-filelist |