1 |
# $Id: smeserver-vacation.spec,v 1.2 2014/12/24 09:02:26 vip-ire Exp $ |
# $Id: smeserver-vacation.spec,v 1.20 2016/07/15 10:19:31 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 3 |
%define release 20 |
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} |
15 |
Source: %{name}-%{version}.tar.xz |
Source: %{name}-%{version}.tar.xz |
16 |
Patch0: smeserver-vacation-1.1-fix_dbmopen.patch |
Patch0: smeserver-vacation-1.1-fix_dbmopen.patch |
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 |
19 |
|
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 |
|
Patch9: smeserver-vacation-1.1-locale-2016-03-08.patch |
26 |
|
Patch10: smeserver-vacation-1.1.auto_enable_disable_vacation_userpanel.patch |
27 |
|
Patch11: smeserver-vacation-1.1-locale-2016-06-21.patch |
28 |
|
Patch12: smeserver-vacation-1.1.delegate_vacation_message_by_groups.patch |
29 |
|
Patch13: smeserver-vacation-1.1-locale-2016-07-06.patch |
30 |
|
Patch14: smeserver-vacation-1.1-locale-2016-07-07.patch |
31 |
|
Patch15: smeserver-vacation-1.1.bz9661.fix_auto_enable_disable_vacation.patch |
32 |
|
Patch16: smeserver-vacation-1.1.bz8772.fix.vacation.message.translation.patch |
33 |
|
Patch17: smeserver-vacation-1.1-locale-2016-07-15.patch |
34 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
35 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
36 |
Requires: e-smith-release >= 7.0, |
Requires: e-smith-release >= 9.0, |
37 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
38 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
39 |
AutoReqProv: no |
AutoReqProv: no |
44 |
enable vacation for themselves and to modify their own message |
enable vacation for themselves and to modify their own message |
45 |
|
|
46 |
%changelog |
%changelog |
47 |
* Wed Dec 24 2014 Daniel Berteaud <daniel@firewall-services.com> 1.1-3.sme |
* Fri Jul 15 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-20.sme |
48 |
|
- Translation patch added |
49 |
|
- Added smeserver-vacation-1.1-locale-2016-07-15.patch |
50 |
|
|
51 |
|
* Thu Jul 14 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-19.sme |
52 |
|
- corrected the object email issue [SME: 8772] |
53 |
|
- modified smeserver-vacation-1.1.bz8772.fix.vacation.message.translation.patch |
54 |
|
|
55 |
|
* Sun Jul 10 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-17.sme |
56 |
|
- Fixed the auto enabled and disable vacation message [SME: 9661] |
57 |
|
- Added smeserver-vacation-1.1.bz9661.fix_auto_enable_disable_vacation.patch |
58 |
|
- Fixed the translation of the vacation message [SME: 8772] |
59 |
|
- Added smeserver-vacation-1.1.bz8772.fix.vacation.message.translation.patch |
60 |
|
|
61 |
|
* Wed Jul 06 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-15.sme |
62 |
|
- Add translation smeserver-vacation-1.1-locale-2016-07-07.patch |
63 |
|
- Add translation smeserver-vacation-1.1-locale-2016-07-06.patch |
64 |
|
- delegate the vacation messages by group permissions [SME: 9657] |
65 |
|
|
66 |
|
* Wed Jun 22 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-13.sme |
67 |
|
- Add the automated and disabling user vacations on given date in the user panel. |
68 |
|
- Add translation smeserver-vacation-1.1-locale-2016-06-21.patch |
69 |
|
|
70 |
|
* Tue Mar 08 2016 JP Pialasse <tests@pialasse.com> 1.1-12.sme |
71 |
|
- Added smeserver-vacation-1.1-locale-2016-03-08.patch |
72 |
|
|
73 |
|
* Tue Sep 29 2015 mats schuh <m.schuh@neckargeo.net> 1.1-11.sme |
74 |
|
- Added smeserver-vacation-1.1-locale-2015-09-29.patch |
75 |
|
|
76 |
|
* Wed Sep 23 2015 mats schuh <m.schuh@neckargeo.net> 1.1-10.sme |
77 |
|
- suppress the mail output from the cron job [SME: 9065] |
78 |
|
|
79 |
|
* Sat Sep 12 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-9.sme |
80 |
|
- Added smeserver-vacation-1.1-locale-2015-09-12.patch |
81 |
|
|
82 |
|
* Fri Sep 4 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-7.sme |
83 |
|
- code done by Mats Schuh <m.schuh@neckargeo.net> |
84 |
|
- Allow automated enabling and disabling of user vacations on given dates [SME: 7555] |
85 |
|
- Above functionality provided by additional db accounts entries and a cron script |
86 |
|
|
87 |
|
* Thu Jan 8 2015 Daniel Berteaud <daniel@firewall-services.com> 1.1-6.sme |
88 |
|
- Make the subject header match case insensitive (patch from Mats Schuh) [SME: 8777] |
89 |
|
|
90 |
|
* Thu Jan 8 2015 Daniel Berteaud <daniel@firewall-services.com> 1.1-5.sme |
91 |
|
- Do not localize From header (patch from Mats Schuh) [SME: 8776] |
92 |
|
|
93 |
|
* Tue Jan 6 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-4.sme |
94 |
|
- Updated instructions to use virtual sender domain for vacation message |
95 |
|
- Created by Mats Schuh m.schuh@neckargeo.net |
96 |
|
|
97 |
|
* Wed Dec 24 2014 Daniel Berteaud <daniel@firewall-services.com> 1.1-3.sme |
98 |
- Fix multiline matching [SME: 8741] |
- Fix multiline matching [SME: 8741] |
99 |
|
|
100 |
* Wed Dec 24 2014 Daniel Berteaud <daniel@firewall-services.com> 1.1-2.sme |
* Wed Dec 24 2014 Daniel Berteaud <daniel@firewall-services.com> 1.1-2.sme |
297 |
%setup |
%setup |
298 |
%patch0 -p1 |
%patch0 -p1 |
299 |
%patch1 -p1 |
%patch1 -p1 |
300 |
|
%patch2 -p1 |
301 |
|
%patch3 -p1 |
302 |
|
%patch4 -p1 |
303 |
|
%patch5 -p1 |
304 |
|
%patch6 -p1 |
305 |
|
%patch7 -p1 |
306 |
|
%patch8 -p1 |
307 |
|
%patch9 -p1 |
308 |
|
%patch10 -p1 |
309 |
|
%patch11 -p1 |
310 |
|
%patch12 -p1 |
311 |
|
%patch13 -p1 |
312 |
|
%patch14 -p1 |
313 |
|
%patch15 -p1 |
314 |
|
%patch16 -p1 |
315 |
|
%patch17 -p1 |
316 |
|
|
317 |
%build |
%build |
318 |
perl createlinks |
perl createlinks |
335 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
336 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
337 |
--file '/usr/local/bin/vacation' 'attr(0755,root,root)' \ |
--file '/usr/local/bin/vacation' 'attr(0755,root,root)' \ |
338 |
|
--file '/sbin/e-smith/vacation/check_vacation_dates.sh' 'attr(0755,root,root)' \ |
339 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
340 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
341 |
|
|