--- rpms/smeserver-vacation/contribs9/smeserver-vacation.spec 2015/01/08 08:47:33 1.6 +++ rpms/smeserver-vacation/contribs9/smeserver-vacation.spec 2015/09/04 21:38:24 1.7 @@ -1,10 +1,10 @@ -# $Id: smeserver-vacation.spec,v 1.5 2015/01/08 08:41:12 vip-ire Exp $ +# $Id: smeserver-vacation.spec,v 1.6 2015/01/08 08:47:33 vip-ire Exp $ # Authority: dungog # Name: Stephen Noble %define name smeserver-vacation %define version 1.1 -%define release 6 +%define release 7 Summary: SME Server enhancement to enable vacation messages for users. Name: %{name} Version: %{version} @@ -18,6 +18,7 @@ Patch1: smeserver-vacation-1.1-multiline Patch2: smeserver-vacation-1.1-explain_better_virtual_sender_domain.patch Patch3: smeserver-vacation-1.1-do_not_localize_from_header.patch Patch4: smeserver-vacation-1.1-subject_match_case_insensitive.patch +Patch5: smeserver-vacation-1.1-auto_enable_disable_vacation.patch BuildArchitectures: noarch BuildRoot: /var/tmp/%{name}-%{version} Requires: e-smith-release >= 7.0, @@ -31,6 +32,11 @@ Optionally provides a user-manager panel enable vacation for themselves and to modify their own message %changelog +* Fri Sep 4 2015 stephane de Labrusse 1.1-7.sme +- code done by Mats Schuh +- Allow automated enabling and disabling of user vacations on given dates [SME: 7555] +- Above functionality provided by additional db accounts entries and a cron script + * Thu Jan 8 2015 Daniel Berteaud 1.1-6.sme - Make the subject header match case insensitive (patch from Mats Schuh) [SME: 8777] @@ -247,6 +253,7 @@ enable vacation for themselves and to mo %patch2 -p1 %patch3 -p1 %patch4 -p1 +%patch5 -p1 %build perl createlinks @@ -269,6 +276,7 @@ rm -rf $RPM_BUILD_ROOT rm -f %{name}-%{version}-filelist /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ --file '/usr/local/bin/vacation' 'attr(0755,root,root)' \ + --file '/sbin/e-smith/vacation/check_vacation_dates.sh' 'attr(0755,root,root)' \ > %{name}-%{version}-filelist echo "%doc COPYING" >> %{name}-%{version}-filelist