1 |
# $Id: smeserver-kronolith.spec,v 1.10 2008/12/15 00:39:46 mrjhb3 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 5 |
%define release 10 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
16 |
Patch2: kronolith-2.3.sql.patch |
Patch2: kronolith-2.3.sql.patch |
17 |
Patch3: smeserver-kronolith_reminders_agendas.patch |
Patch3: smeserver-kronolith_reminders_agendas.patch |
18 |
Patch4: kronolith-2.3.2.patch |
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 |
* Fri Oct 9 2009 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-5 |
62 |
- Updated templates to reflect Kronolith 2.3.2 |
- Updated templates to reflect Kronolith 2.3.2 |
63 |
|
|
95 |
%patch2 -p1 |
%patch2 -p1 |
96 |
%patch3 -p1 |
%patch3 -p1 |
97 |
%patch4 -p1 |
%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 |
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) |