1 |
# $Id: smeserver-kronolith.spec,v 1.6 2008/06/26 18:09:38 slords Exp $ |
# $Id: smeserver-kronolith.spec,v 1.12 2010/01/22 03:08:33 mrjhb3 Exp $ |
2 |
# Authority: mrjhb3 |
# Authority: mrjhb3 |
3 |
# Name: John H. Bennett III |
# Name: John H. Bennett III |
4 |
|
|
6 |
%define name smeserver-kronolith |
%define name smeserver-kronolith |
7 |
Name: %{name} |
Name: %{name} |
8 |
%define version 2.2 |
%define version 2.2 |
9 |
%define release 1 |
%define release 10 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
13 |
Group: Networking/Daemons |
Group: Networking/Daemons |
14 |
Source: %{name}-%{version}.tar.gz |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
25 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
26 |
Requires: imp-h3 >= 4.2 |
Requires: imp-h3 >= 4.3.7 |
27 |
Requires: e-smith-base >= 4.15.1 |
Requires: e-smith-base >= 4.15.1 |
28 |
Requires: e-smith-apache >= 1.1.0-18 |
Requires: e-smith-apache >= 1.1.0-18 |
29 |
Requires: e-smith-lib >= 1.15.1-16 |
Requires: e-smith-lib >= 1.15.1-16 |
42 |
|
|
43 |
|
|
44 |
%changelog |
%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 |
* Sun Jun 22 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-1 |
80 |
- Initial production build |
- Initial production build |
81 |
- Jump in package name to reflect new version of kronolith |
- Jump in package name to reflect new version of kronolith |
91 |
%prep |
%prep |
92 |
%setup |
%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 |
%build |
105 |
perl createlinks |
perl createlinks |
106 |
|
|
113 |
%clean |
%clean |
114 |
rm -rf $RPM_BUILD_ROOT |
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 |
%files -f %{name}-%{version}-filelist |
134 |
%defattr(-,root,root) |
%defattr(-,root,root) |