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