1 |
# $Id: smeserver-vacation.spec,v 1.2 2014/12/24 09:02:26 vip-ire Exp $ |
# $Id: smeserver-vacation.spec,v 1.7 2015/09/04 21:38:24 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 8 |
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 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
23 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
24 |
Requires: e-smith-release >= 7.0, |
Requires: e-smith-release >= 7.0, |
32 |
enable vacation for themselves and to modify their own message |
enable vacation for themselves and to modify their own message |
33 |
|
|
34 |
%changelog |
%changelog |
35 |
* Wed Dec 24 2014 Daniel Berteaud <daniel@firewall-services.com> 1.1-3.sme |
* Fri Sep 4 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-7.sme |
36 |
|
- code done by Mats Schuh <m.schuh@neckargeo.net> |
37 |
|
- Allow automated enabling and disabling of user vacations on given dates [SME: 7555] |
38 |
|
- Above functionality provided by additional db accounts entries and a cron script |
39 |
|
|
40 |
|
* Thu Jan 8 2015 Daniel Berteaud <daniel@firewall-services.com> 1.1-6.sme |
41 |
|
- Make the subject header match case insensitive (patch from Mats Schuh) [SME: 8777] |
42 |
|
|
43 |
|
* Thu Jan 8 2015 Daniel Berteaud <daniel@firewall-services.com> 1.1-5.sme |
44 |
|
- Do not localize From header (patch from Mats Schuh) [SME: 8776] |
45 |
|
|
46 |
|
* Tue Jan 6 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-4.sme |
47 |
|
- Updated instructions to use virtual sender domain for vacation message |
48 |
|
- Created by Mats Schuh m.schuh@neckargeo.net |
49 |
|
|
50 |
|
* Wed Dec 24 2014 Daniel Berteaud <daniel@firewall-services.com> 1.1-3.sme |
51 |
- Fix multiline matching [SME: 8741] |
- Fix multiline matching [SME: 8741] |
52 |
|
|
53 |
* 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 |
250 |
%setup |
%setup |
251 |
%patch0 -p1 |
%patch0 -p1 |
252 |
%patch1 -p1 |
%patch1 -p1 |
253 |
|
%patch2 -p1 |
254 |
|
%patch3 -p1 |
255 |
|
%patch4 -p1 |
256 |
|
%patch5 -p1 |
257 |
|
|
258 |
%build |
%build |
259 |
perl createlinks |
perl createlinks |
276 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
277 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
278 |
--file '/usr/local/bin/vacation' 'attr(0755,root,root)' \ |
--file '/usr/local/bin/vacation' 'attr(0755,root,root)' \ |
279 |
|
--file '/sbin/e-smith/vacation/check_vacation_dates.sh' 'attr(0755,root,root)' \ |
280 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
281 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
282 |
|
|