1 |
# $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 $ |
2 |
# Authority: dungog |
# Authority: dungog |
3 |
# Name: Stephen Noble |
# Name: Stephen Noble |
4 |
|
|
5 |
%define name smeserver-vacation |
%define name smeserver-vacation |
6 |
%define version 1.1 |
%define version 1.1 |
7 |
%define release 6 |
%define release 7 |
8 |
Summary: SME Server enhancement to enable vacation messages for users. |
Summary: SME Server enhancement to enable vacation messages for users. |
9 |
Name: %{name} |
Name: %{name} |
10 |
Version: %{version} |
Version: %{version} |
18 |
Patch2: smeserver-vacation-1.1-explain_better_virtual_sender_domain.patch |
Patch2: smeserver-vacation-1.1-explain_better_virtual_sender_domain.patch |
19 |
Patch3: smeserver-vacation-1.1-do_not_localize_from_header.patch |
Patch3: smeserver-vacation-1.1-do_not_localize_from_header.patch |
20 |
Patch4: smeserver-vacation-1.1-subject_match_case_insensitive.patch |
Patch4: smeserver-vacation-1.1-subject_match_case_insensitive.patch |
21 |
|
Patch5: smeserver-vacation-1.1-auto_enable_disable_vacation.patch |
22 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
23 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
24 |
Requires: e-smith-release >= 7.0, |
Requires: e-smith-release >= 7.0, |
32 |
enable vacation for themselves and to modify their own message |
enable vacation for themselves and to modify their own message |
33 |
|
|
34 |
%changelog |
%changelog |
35 |
|
* Fri Sep 4 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-7.sme |
36 |
|
- code done by Mats Schuh <m.schuh@neckargeo.net> |
37 |
|
- Allow automated enabling and disabling of user vacations on given dates [SME: 7555] |
38 |
|
- Above functionality provided by additional db accounts entries and a cron script |
39 |
|
|
40 |
* Thu Jan 8 2015 Daniel Berteaud <daniel@firewall-services.com> 1.1-6.sme |
* Thu Jan 8 2015 Daniel Berteaud <daniel@firewall-services.com> 1.1-6.sme |
41 |
- Make the subject header match case insensitive (patch from Mats Schuh) [SME: 8777] |
- Make the subject header match case insensitive (patch from Mats Schuh) [SME: 8777] |
42 |
|
|
253 |
%patch2 -p1 |
%patch2 -p1 |
254 |
%patch3 -p1 |
%patch3 -p1 |
255 |
%patch4 -p1 |
%patch4 -p1 |
256 |
|
%patch5 -p1 |
257 |
|
|
258 |
%build |
%build |
259 |
perl createlinks |
perl createlinks |
276 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
277 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
278 |
--file '/usr/local/bin/vacation' 'attr(0755,root,root)' \ |
--file '/usr/local/bin/vacation' 'attr(0755,root,root)' \ |
279 |
|
--file '/sbin/e-smith/vacation/check_vacation_dates.sh' 'attr(0755,root,root)' \ |
280 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
281 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
282 |
|
|