1 |
# $Id: smeserver-vacation.spec,v 1.4 2015/01/05 23:33:15 stephdl Exp $ |
# $Id: smeserver-vacation.spec,v 1.11 2015/09/23 10:30:05 mats-ng 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 11 |
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 |
|
Patch7: smeserver-vacation-1.1-suppress_cron_mail.patch |
24 |
|
Patch8: smeserver-vacation-1.1-locale-2015-09-29.patch |
25 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
26 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
27 |
Requires: e-smith-release >= 7.0, |
Requires: e-smith-release >= 9.0, |
28 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
29 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
30 |
AutoReqProv: no |
AutoReqProv: no |
35 |
enable vacation for themselves and to modify their own message |
enable vacation for themselves and to modify their own message |
36 |
|
|
37 |
%changelog |
%changelog |
38 |
|
* Tue Sep 29 2015 mats schuh <m.schuh@neckargeo.net> 1.1-11.sme |
39 |
|
- Added smeserver-vacation-1.1-locale-2015-09-29.patch |
40 |
|
|
41 |
|
* Wed Sep 23 2015 mats schuh <m.schuh@neckargeo.net> 1.1-10.sme |
42 |
|
- suppress the mail output from the cron job [SME: 9065] |
43 |
|
|
44 |
|
* Sat Sep 12 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-9.sme |
45 |
|
- Added smeserver-vacation-1.1-locale-2015-09-12.patch |
46 |
|
|
47 |
|
* Fri Sep 4 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-7.sme |
48 |
|
- code done by Mats Schuh <m.schuh@neckargeo.net> |
49 |
|
- Allow automated enabling and disabling of user vacations on given dates [SME: 7555] |
50 |
|
- Above functionality provided by additional db accounts entries and a cron script |
51 |
|
|
52 |
|
* Thu Jan 8 2015 Daniel Berteaud <daniel@firewall-services.com> 1.1-6.sme |
53 |
|
- Make the subject header match case insensitive (patch from Mats Schuh) [SME: 8777] |
54 |
|
|
55 |
* 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 |
56 |
- Do not localize From header (patch from Mats Schuh) [SME: 8776] |
- Do not localize From header (patch from Mats Schuh) [SME: 8776] |
57 |
|
|
264 |
%patch1 -p1 |
%patch1 -p1 |
265 |
%patch2 -p1 |
%patch2 -p1 |
266 |
%patch3 -p1 |
%patch3 -p1 |
267 |
|
%patch4 -p1 |
268 |
|
%patch5 -p1 |
269 |
|
%patch6 -p1 |
270 |
|
%patch7 -p1 |
271 |
|
%patch8 -p1 |
272 |
|
|
273 |
%build |
%build |
274 |
perl createlinks |
perl createlinks |
291 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
292 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
293 |
--file '/usr/local/bin/vacation' 'attr(0755,root,root)' \ |
--file '/usr/local/bin/vacation' 'attr(0755,root,root)' \ |
294 |
|
--file '/sbin/e-smith/vacation/check_vacation_dates.sh' 'attr(0755,root,root)' \ |
295 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
296 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
297 |
|
|