1 |
# $Id: smeserver-vacation.spec,v 1.1 2013/11/13 10:43:03 vip-ire Exp $ |
# $Id: smeserver-vacation.spec,v 1.13 2016/03/08 08:31:02 unnilennium 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 2 |
%define release 13 |
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} |
14 |
Group: SMEserver/addon |
Group: SMEserver/addon |
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 |
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 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
29 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
30 |
Requires: e-smith-release >= 7.0, |
Requires: e-smith-release >= 9.0, |
31 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
32 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
33 |
AutoReqProv: no |
AutoReqProv: no |
38 |
enable vacation for themselves and to modify their own message |
enable vacation for themselves and to modify their own message |
39 |
|
|
40 |
%changelog |
%changelog |
41 |
|
* Wed Jun 22 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-13.sme |
42 |
|
- Add the automated and disabling user vacations on given date in the user panel. |
43 |
|
- Add translation smeserver-vacation-1.1-locale-2016-06-21.patch |
44 |
|
|
45 |
|
* Tue Mar 08 2016 JP Pialasse <tests@pialasse.com> 1.1-12.sme |
46 |
|
- Added smeserver-vacation-1.1-locale-2016-03-08.patch |
47 |
|
|
48 |
|
* Tue Sep 29 2015 mats schuh <m.schuh@neckargeo.net> 1.1-11.sme |
49 |
|
- Added smeserver-vacation-1.1-locale-2015-09-29.patch |
50 |
|
|
51 |
|
* Wed Sep 23 2015 mats schuh <m.schuh@neckargeo.net> 1.1-10.sme |
52 |
|
- suppress the mail output from the cron job [SME: 9065] |
53 |
|
|
54 |
|
* Sat Sep 12 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-9.sme |
55 |
|
- Added smeserver-vacation-1.1-locale-2015-09-12.patch |
56 |
|
|
57 |
|
* Fri Sep 4 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-7.sme |
58 |
|
- code done by Mats Schuh <m.schuh@neckargeo.net> |
59 |
|
- Allow automated enabling and disabling of user vacations on given dates [SME: 7555] |
60 |
|
- Above functionality provided by additional db accounts entries and a cron script |
61 |
|
|
62 |
|
* Thu Jan 8 2015 Daniel Berteaud <daniel@firewall-services.com> 1.1-6.sme |
63 |
|
- Make the subject header match case insensitive (patch from Mats Schuh) [SME: 8777] |
64 |
|
|
65 |
|
* Thu Jan 8 2015 Daniel Berteaud <daniel@firewall-services.com> 1.1-5.sme |
66 |
|
- Do not localize From header (patch from Mats Schuh) [SME: 8776] |
67 |
|
|
68 |
|
* Tue Jan 6 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-4.sme |
69 |
|
- Updated instructions to use virtual sender domain for vacation message |
70 |
|
- Created by Mats Schuh m.schuh@neckargeo.net |
71 |
|
|
72 |
|
* Wed Dec 24 2014 Daniel Berteaud <daniel@firewall-services.com> 1.1-3.sme |
73 |
|
- Fix multiline matching [SME: 8741] |
74 |
|
|
75 |
* 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 |
76 |
- Fix dbmopen by specifying the dbm module to use (DB_File) [SME: 8741] |
- Fix dbmopen by specifying the dbm module to use (DB_File) [SME: 8741] |
77 |
|
|
271 |
%prep |
%prep |
272 |
%setup |
%setup |
273 |
%patch0 -p1 |
%patch0 -p1 |
274 |
|
%patch1 -p1 |
275 |
|
%patch2 -p1 |
276 |
|
%patch3 -p1 |
277 |
|
%patch4 -p1 |
278 |
|
%patch5 -p1 |
279 |
|
%patch6 -p1 |
280 |
|
%patch7 -p1 |
281 |
|
%patch8 -p1 |
282 |
|
%patch9 -p1 |
283 |
|
%patch10 -p1 |
284 |
|
%patch11 -p1 |
285 |
|
|
286 |
%build |
%build |
287 |
perl createlinks |
perl createlinks |
304 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
305 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
306 |
--file '/usr/local/bin/vacation' 'attr(0755,root,root)' \ |
--file '/usr/local/bin/vacation' 'attr(0755,root,root)' \ |
307 |
|
--file '/sbin/e-smith/vacation/check_vacation_dates.sh' 'attr(0755,root,root)' \ |
308 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
309 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
310 |
|
|