1 |
# $Id: smeserver-vacation.spec,v 1.4 2015/01/05 23:33:15 stephdl Exp $ |
# $Id: smeserver-vacation.spec,v 1.9 2015/09/12 09:00:08 stephdl 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 5 |
%define release 9 |
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} |
17 |
Patch1: smeserver-vacation-1.1-multiline_matching.patch |
Patch1: smeserver-vacation-1.1-multiline_matching.patch |
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 |
21 |
|
Patch5: smeserver-vacation-1.1-auto_enable_disable_vacation.patch |
22 |
|
Patch6: smeserver-vacation-1.1-locale-2015-09-12.patch |
23 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
24 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
25 |
Requires: e-smith-release >= 7.0, |
Requires: e-smith-release >= 9.0, |
26 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
27 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
28 |
AutoReqProv: no |
AutoReqProv: no |
33 |
enable vacation for themselves and to modify their own message |
enable vacation for themselves and to modify their own message |
34 |
|
|
35 |
%changelog |
%changelog |
36 |
|
* Sat Sep 12 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-9.sme |
37 |
|
- Added smeserver-vacation-1.1-locale-2015-09-12.patch |
38 |
|
|
39 |
|
* Fri Sep 4 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-7.sme |
40 |
|
- code done by Mats Schuh <m.schuh@neckargeo.net> |
41 |
|
- Allow automated enabling and disabling of user vacations on given dates [SME: 7555] |
42 |
|
- Above functionality provided by additional db accounts entries and a cron script |
43 |
|
|
44 |
|
* Thu Jan 8 2015 Daniel Berteaud <daniel@firewall-services.com> 1.1-6.sme |
45 |
|
- Make the subject header match case insensitive (patch from Mats Schuh) [SME: 8777] |
46 |
|
|
47 |
* Thu Jan 8 2015 Daniel Berteaud <daniel@firewall-services.com> 1.1-5.sme |
* Thu Jan 8 2015 Daniel Berteaud <daniel@firewall-services.com> 1.1-5.sme |
48 |
- Do not localize From header (patch from Mats Schuh) [SME: 8776] |
- Do not localize From header (patch from Mats Schuh) [SME: 8776] |
49 |
|
|
256 |
%patch1 -p1 |
%patch1 -p1 |
257 |
%patch2 -p1 |
%patch2 -p1 |
258 |
%patch3 -p1 |
%patch3 -p1 |
259 |
|
%patch4 -p1 |
260 |
|
%patch5 -p1 |
261 |
|
%patch6 -p1 |
262 |
|
|
263 |
%build |
%build |
264 |
perl createlinks |
perl createlinks |
281 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
282 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
283 |
--file '/usr/local/bin/vacation' 'attr(0755,root,root)' \ |
--file '/usr/local/bin/vacation' 'attr(0755,root,root)' \ |
284 |
|
--file '/sbin/e-smith/vacation/check_vacation_dates.sh' 'attr(0755,root,root)' \ |
285 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
286 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
287 |
|
|