1 |
# $Id: smeserver-vacation.spec,v 1.4 2013/07/15 23:31:55 unnilennium Exp $ |
# $Id: smeserver-vacation.spec,v 1.12 2015/09/29 13:29:11 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 1 |
%define release 12 |
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} |
13 |
URL: http://www.dungog.net/sme |
URL: http://www.dungog.net/sme |
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 |
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 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
27 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
28 |
Requires: e-smith-release >= 7.0, |
Requires: e-smith-release >= 9.0, |
29 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
30 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
31 |
AutoReqProv: no |
AutoReqProv: no |
36 |
enable vacation for themselves and to modify their own message |
enable vacation for themselves and to modify their own message |
37 |
|
|
38 |
%changelog |
%changelog |
39 |
|
* Tue Mar 08 2016 JP Pialasse <tests@pialasse.com> 1.1-12.sme |
40 |
|
- Added smeserver-vacation-1.1-locale-2016-03-08.patch |
41 |
|
|
42 |
|
* Tue Sep 29 2015 mats schuh <m.schuh@neckargeo.net> 1.1-11.sme |
43 |
|
- Added smeserver-vacation-1.1-locale-2015-09-29.patch |
44 |
|
|
45 |
|
* Wed Sep 23 2015 mats schuh <m.schuh@neckargeo.net> 1.1-10.sme |
46 |
|
- suppress the mail output from the cron job [SME: 9065] |
47 |
|
|
48 |
|
* Sat Sep 12 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-9.sme |
49 |
|
- Added smeserver-vacation-1.1-locale-2015-09-12.patch |
50 |
|
|
51 |
|
* Fri Sep 4 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-7.sme |
52 |
|
- code done by Mats Schuh <m.schuh@neckargeo.net> |
53 |
|
- Allow automated enabling and disabling of user vacations on given dates [SME: 7555] |
54 |
|
- Above functionality provided by additional db accounts entries and a cron script |
55 |
|
|
56 |
|
* Thu Jan 8 2015 Daniel Berteaud <daniel@firewall-services.com> 1.1-6.sme |
57 |
|
- Make the subject header match case insensitive (patch from Mats Schuh) [SME: 8777] |
58 |
|
|
59 |
|
* Thu Jan 8 2015 Daniel Berteaud <daniel@firewall-services.com> 1.1-5.sme |
60 |
|
- Do not localize From header (patch from Mats Schuh) [SME: 8776] |
61 |
|
|
62 |
|
* Tue Jan 6 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-4.sme |
63 |
|
- Updated instructions to use virtual sender domain for vacation message |
64 |
|
- Created by Mats Schuh m.schuh@neckargeo.net |
65 |
|
|
66 |
|
* Wed Dec 24 2014 Daniel Berteaud <daniel@firewall-services.com> 1.1-3.sme |
67 |
|
- Fix multiline matching [SME: 8741] |
68 |
|
|
69 |
|
* Wed Dec 24 2014 Daniel Berteaud <daniel@firewall-services.com> 1.1-2.sme |
70 |
|
- Fix dbmopen by specifying the dbm module to use (DB_File) [SME: 8741] |
71 |
|
|
72 |
* Wed Nov 13 2013 Daniel Berteaud <daniel@firewall-services.com> 1.1-1.sme |
* Wed Nov 13 2013 Daniel Berteaud <daniel@firewall-services.com> 1.1-1.sme |
73 |
- Rebuild for SME9 |
- Rebuild for SME9 |
74 |
|
|
264 |
|
|
265 |
%prep |
%prep |
266 |
%setup |
%setup |
267 |
|
%patch0 -p1 |
268 |
|
%patch1 -p1 |
269 |
|
%patch2 -p1 |
270 |
|
%patch3 -p1 |
271 |
|
%patch4 -p1 |
272 |
|
%patch5 -p1 |
273 |
|
%patch6 -p1 |
274 |
|
%patch7 -p1 |
275 |
|
%patch8 -p1 |
276 |
|
%patch9 -p1 |
277 |
|
|
278 |
%build |
%build |
279 |
perl createlinks |
perl createlinks |
296 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
297 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
298 |
--file '/usr/local/bin/vacation' 'attr(0755,root,root)' \ |
--file '/usr/local/bin/vacation' 'attr(0755,root,root)' \ |
299 |
|
--file '/sbin/e-smith/vacation/check_vacation_dates.sh' 'attr(0755,root,root)' \ |
300 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
301 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
302 |
|
|