1 |
# $Id: smeserver-kronolith.spec,v 1.11 2009/10/10 03:25:26 mrjhb3 Exp $ |
2 |
# Authority: mrjhb3 |
3 |
# Name: John H. Bennett III |
4 |
|
5 |
Summary: SME Server specific Kronolith configuration and templates. |
6 |
%define name smeserver-kronolith |
7 |
Name: %{name} |
8 |
%define version 2.2 |
9 |
%define release 6 |
10 |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
12 |
License: GPL |
13 |
Group: Networking/Daemons |
14 |
Source: %{name}-%{version}.tar.gz |
15 |
Patch1: kronolith-2.3.patch |
16 |
Patch2: kronolith-2.3.sql.patch |
17 |
Patch3: smeserver-kronolith_reminders_agendas.patch |
18 |
Patch4: kronolith-2.3.2.patch |
19 |
Patch5: kronolith-2.3.3.patch |
20 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
21 |
BuildArchitectures: noarch |
22 |
Requires: imp-h3 >= 4.2 |
23 |
Requires: e-smith-base >= 4.15.1 |
24 |
Requires: e-smith-apache >= 1.1.0-18 |
25 |
Requires: e-smith-lib >= 1.15.1-16 |
26 |
Requires: e-smith-base >= 4.18.1-5 |
27 |
Requires: e-smith-ldap >= 4.12.0-9 |
28 |
Requires: kronolith-h3 >= 2.2 |
29 |
Requires: php-pear-HTTP-Request >= 1.4.0 |
30 |
Requires: php-pear-Net-Socket >= 1.0.6 |
31 |
Requires: php-pear-Net-URL >= 1.0.14 |
32 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
33 |
AutoReqProv: no |
34 |
Obsoletes: e-smith-kronolith = 0.8.0-02db |
35 |
Obsoletes: pear-http_request >= 1.4.0 |
36 |
Obsoletes: pear-net_socket >= 1.0.6 |
37 |
Obsoletes: pear-net_url >= 1.0.14 |
38 |
|
39 |
|
40 |
%changelog |
41 |
* Mon Dec 28 2009 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-6 |
42 |
- Updated templates to reflect Kronolith 2.3.3 |
43 |
|
44 |
* Fri Oct 9 2009 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-5 |
45 |
- Updated templates to reflect Kronolith 2.3.2 |
46 |
|
47 |
* Sun Dec 14 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-4 |
48 |
- Patch to add more functionality to Kronolith for calendar reminders and daily agenda email |
49 |
- config setprop horde reminders enabled - default is enabled and this is set to run every 5 minutes. |
50 |
- The above sends calendar email alarms/reminders. |
51 |
- config setprop horde remindertime x - will change the frequency, value in minutes. |
52 |
- config setprop horde agendas enabled - default is disabled set to run everyday at 5 am when enabled. |
53 |
- The above sends daily calendar agenda emails. |
54 |
- config setprop horde agenda time x - will change the frequency, value needs to be 0 - 24. |
55 |
|
56 |
* Fri Dec 05 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-3 |
57 |
- Patch to add forgotten changes from kronolith upgrade sql script |
58 |
|
59 |
* Fri Dec 05 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-2 |
60 |
- Updated templates to reflect Kronolith 2.3 |
61 |
|
62 |
* Sun Jun 22 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-1 |
63 |
- Initial production build |
64 |
- Jump in package name to reflect new version of kronolith |
65 |
|
66 |
* Tue Jun 3 2008 John H. Bennett III <bennettj@johnbennettservices.com> 0.1-1 |
67 |
- Initial build |
68 |
- Jump in package name to reflect new version of kronolith |
69 |
|
70 |
%description |
71 |
This package adds necessary templates and configuration items |
72 |
so that Kronolith will work properly on SME Server |
73 |
|
74 |
%prep |
75 |
%setup |
76 |
|
77 |
%patch1 -p1 |
78 |
%patch2 -p1 |
79 |
%patch3 -p1 |
80 |
%patch4 -p1 |
81 |
%patch5 -p1 |
82 |
|
83 |
%build |
84 |
perl createlinks |
85 |
|
86 |
%install |
87 |
rm -rf $RPM_BUILD_ROOT |
88 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
89 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
90 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
91 |
|
92 |
%clean |
93 |
rm -rf $RPM_BUILD_ROOT |
94 |
|
95 |
%files -f %{name}-%{version}-filelist |
96 |
%defattr(-,root,root) |