# $Id$ # Authority: darrellmay # Name: Darrell May Summary: Disk ARchive for SME Server %define name smeserver-dar2 Name: %{name} %define version 0.0.1 %define release 4 Version: %{version} Release: %{release}%{?dist} License: GPL Group: SME/addon Source: %{name}-%{version}.tar.gz Patch0: smeserver-dar2-0.0.1-2.patch Patch1: smeserver-dar2-0.0.1-3.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch Requires: dar => 2.3.1 Requires: smeserver-release => 7.0 Requires: perl-CGI-FormMagick => 0.92-08 BuildRequires: e-smith-devtools >= 1.13.1-03 %description SME Server implementation of Disk ARchive (http://dar.linux.free.fr) based on smeserver-backup2. %changelog * Wed Aug 22 2007 Shad L. Lords 0.0.1-4 - Clean up spec so package can be built by koji/plague - Update to new release naming. No functional changes. - Make Packager generic * Thu Mar 22 2007 Darrell May - updated actions/dar2-backup to separately zip and backup up dbs - updated actions/dar2-mc to require only job name to launch - [0.0.1-3dmay] smeserver-dar2-0.0.1-3.patch * Fri Mar 16 2007 Darrell May - updated dar2 panel text: absolute/relative pathing - updated dar2 panel text: prune wildcard support - [0.0.1-2dmay] smeserver-dar2-0.0.1-2.patch * Sun Jan 07 2007 Darrell May - added dar2-mc action - added dar support files for Midnight Commander - [0.0.1-1dmay] * Fri Oct 19 2006 Darrell May - BT:1988 added disk usage to report - official release - [0.0.1-0dmay] * Mon Oct 16 2006 Darrell May - BT:1979 German language file added - BT:1982 fix navigation-conf generated error - [0.0.1-b8dmay] * Wed Oct 11 2006 Darrell May - BT:1974 verbose prop now controls log file generation, default 'off' - [0.0.1-b7dmay] * Wed Oct 11 2006 Darrell May - major rewrite of dar2-backup/restore templates - minor updates to action scritps adding more echo statements - [0.0.1-b6dmay] * Mon Oct 09 2006 Darrell May - BT:1966 edited Exclude/Prune labels & switched display order - added archive listing to dar2-backup output - [0.0.1-b5dmay] * Sat Oct 07 2006 Darrell May - BT:1964 crontab - [0.0.1-b4dmay] * Fri Oct 06 2006 Darrell May - added dar2-dr-restore, a disaster recovery restore script. - [0.0.1-b3dmay] * Thu Oct 05 2006 Darrell May - added db prop Verbose to control backup output detail - [0.0.1-b2dmay] * Thu Oct 05 2006 Darrell May - update actions dar2-backup/restore to support custom mount points - [0.0.1-b1dmay] * Wed Oct 04 2006 Darrell May - initial beta release - [0.0.1-b0dmay] * Mon Oct 02 2006 Darrell May - drop db backup2 defaults - edit panel name to Disk ARchive - [0.0.1-a7dmay] * Sun Oct 01 2006 Darrell May - initial public alpha release - [0.0.1-a6dmay] * Sun Oct 01 2006 Darrell May - initial rebuild on Restore panel - [0.0.1-a5dmay] * Fri Sep 29 2006 Darrell May - initial rebuild on View/Modify, Backup, Remove panels - added Expiry to dar2-backup script - [0.0.1-a4dmay] * Thu Sep 28 2006 Darrell May - server-manager panel debugging - [0.0.1-a3dmay] * Thu Sep 28 2006 Darrell May - server-manager panel debugging - [0.0.1-a2dmay] * Wed Sep 27 2006 Darrell May - initial server-manager panel build - [0.0.1-a1dmay] * Wed Sep 27 2006 Darrell May - initial internal alpha release - [0.0.1-a0dmay] %prep %setup %patch0 -p1 %patch1 -p1 %build /usr/bin/perl createlinks %install /bin/rm -rf $RPM_BUILD_ROOT (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) /bin/rm -f %{name}-%{version}-filelist /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist %files -f %{name}-%{version}-filelist %defattr(-,root,root) %clean /bin/rm -rf $RPM_BUILD_ROOT %pre %post /etc/e-smith/events/actions/initialize-default-databases > /dev/null 2>&1 /etc/e-smith/events/actions/navigation-conf > /dev/null 2>&1 %preun %postun