1 |
# $Id: smeserver-kronolith.spec,v 1.12 2010/01/22 03:08:33 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 10 |
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 |
Patch6: smeserver-kronolith_reminders_agendas_owner.patch |
21 |
Patch7: smeserver-kronolith_fburl.patch |
22 |
Patch8: smeserver-kronolith_remove_freebusy_db.patch |
23 |
Patch9: smeserver-kronolith_remove_calFBURL.patch |
24 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
25 |
BuildArchitectures: noarch |
26 |
Requires: imp-h3 >= 4.3.7 |
27 |
Requires: e-smith-base >= 4.15.1 |
28 |
Requires: e-smith-apache >= 1.1.0-18 |
29 |
Requires: e-smith-lib >= 1.15.1-16 |
30 |
Requires: e-smith-base >= 4.18.1-5 |
31 |
Requires: e-smith-ldap >= 4.12.0-9 |
32 |
Requires: kronolith-h3 >= 2.2 |
33 |
Requires: php-pear-HTTP-Request >= 1.4.0 |
34 |
Requires: php-pear-Net-Socket >= 1.0.6 |
35 |
Requires: php-pear-Net-URL >= 1.0.14 |
36 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
37 |
AutoReqProv: no |
38 |
Obsoletes: e-smith-kronolith = 0.8.0-02db |
39 |
Obsoletes: pear-http_request >= 1.4.0 |
40 |
Obsoletes: pear-net_socket >= 1.0.6 |
41 |
Obsoletes: pear-net_url >= 1.0.14 |
42 |
|
43 |
|
44 |
%changelog |
45 |
* Thu Apr 22 2010 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-10 |
46 |
- Added removal of user's calFBURL from LDAP smeserver-kronolith is uninstalled |
47 |
|
48 |
* Thu Apr 22 2010 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-9 |
49 |
- Added migrate fragment to remove FreeBusy db entry from accounts since this |
50 |
information is now saved directly to LDAP on SME8. |
51 |
|
52 |
* Thu Apr 22 2010 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-8 |
53 |
- Added saving of user's calFBURL to LDAP for use with SME8. [SME: 5708] |
54 |
|
55 |
* Sun Jan 24 2010 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-7 |
56 |
- Update to change owner of alarm and reminder cron jobs from root to www [SME: 4851] |
57 |
|
58 |
* Mon Dec 28 2009 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-6 |
59 |
- Updated templates to reflect Kronolith 2.3.3 |
60 |
|
61 |
* Fri Oct 9 2009 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-5 |
62 |
- Updated templates to reflect Kronolith 2.3.2 |
63 |
|
64 |
* Sun Dec 14 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-4 |
65 |
- Patch to add more functionality to Kronolith for calendar reminders and daily agenda email |
66 |
- config setprop horde reminders enabled - default is enabled and this is set to run every 5 minutes. |
67 |
- The above sends calendar email alarms/reminders. |
68 |
- config setprop horde remindertime x - will change the frequency, value in minutes. |
69 |
- config setprop horde agendas enabled - default is disabled set to run everyday at 5 am when enabled. |
70 |
- The above sends daily calendar agenda emails. |
71 |
- config setprop horde agenda time x - will change the frequency, value needs to be 0 - 24. |
72 |
|
73 |
* Fri Dec 05 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-3 |
74 |
- Patch to add forgotten changes from kronolith upgrade sql script |
75 |
|
76 |
* Fri Dec 05 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-2 |
77 |
- Updated templates to reflect Kronolith 2.3 |
78 |
|
79 |
* Sun Jun 22 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-1 |
80 |
- Initial production build |
81 |
- Jump in package name to reflect new version of kronolith |
82 |
|
83 |
* Tue Jun 3 2008 John H. Bennett III <bennettj@johnbennettservices.com> 0.1-1 |
84 |
- Initial build |
85 |
- Jump in package name to reflect new version of kronolith |
86 |
|
87 |
%description |
88 |
This package adds necessary templates and configuration items |
89 |
so that Kronolith will work properly on SME Server |
90 |
|
91 |
%prep |
92 |
%setup |
93 |
|
94 |
%patch1 -p1 |
95 |
%patch2 -p1 |
96 |
%patch3 -p1 |
97 |
%patch4 -p1 |
98 |
%patch5 -p1 |
99 |
%patch6 -p1 |
100 |
%patch7 -p1 |
101 |
%patch8 -p1 |
102 |
%patch9 -p1 |
103 |
|
104 |
%build |
105 |
perl createlinks |
106 |
|
107 |
%install |
108 |
rm -rf $RPM_BUILD_ROOT |
109 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
110 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
111 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
112 |
|
113 |
%clean |
114 |
rm -rf $RPM_BUILD_ROOT |
115 |
|
116 |
%preun |
117 |
if [ $1 = 0 ] ; then |
118 |
/etc/e-smith/events/actions/ldap-delete-fburl ldap-update |
119 |
fi |
120 |
|
121 |
%post |
122 |
/sbin/e-smith/expand-template /etc/openldap/slapd.conf |
123 |
/etc/rc7.d/S80ldap restart |
124 |
sleep 5 |
125 |
/etc/e-smith/events/actions/ldap-add-fburl ldap-update |
126 |
|
127 |
%postun |
128 |
if [ $1 = 0 ] ; then |
129 |
/sbin/e-smith/expand-template /etc/openldap/slapd.conf |
130 |
/etc/rc7.d/S80ldap restart |
131 |
fi |
132 |
|
133 |
%files -f %{name}-%{version}-filelist |
134 |
%defattr(-,root,root) |