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