1 |
# $Id: smeserver-kronolith.spec,v 1.12 2010/01/22 03:08:33 mrjhb3 Exp $ |
# $Id: smeserver-kronolith.spec,v 1.13 2010/05/13 03:08:37 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 10 |
%define release 11 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
18 |
Patch4: kronolith-2.3.2.patch |
Patch4: kronolith-2.3.2.patch |
19 |
Patch5: kronolith-2.3.3.patch |
Patch5: kronolith-2.3.3.patch |
20 |
Patch6: smeserver-kronolith_reminders_agendas_owner.patch |
Patch6: smeserver-kronolith_reminders_agendas_owner.patch |
|
Patch7: smeserver-kronolith_fburl.patch |
|
|
Patch8: smeserver-kronolith_remove_freebusy_db.patch |
|
|
Patch9: smeserver-kronolith_remove_calFBURL.patch |
|
21 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
22 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
|
Requires: imp-h3 >= 4.3.7 |
|
23 |
Requires: e-smith-base >= 4.15.1 |
Requires: e-smith-base >= 4.15.1 |
24 |
Requires: e-smith-apache >= 1.1.0-18 |
Requires: e-smith-apache >= 1.1.0-18 |
25 |
Requires: e-smith-lib >= 1.15.1-16 |
Requires: e-smith-lib >= 1.15.1-16 |
38 |
|
|
39 |
|
|
40 |
%changelog |
%changelog |
41 |
|
* Sun Jun 27 2010 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-11 |
42 |
|
- Remove changes for -8, -9, -10 so that rpm can be installed on SME 7.x. |
43 |
|
Will re-add appropriate patches for SME8 when it is released. [SME: 6080] |
44 |
|
|
45 |
* Thu Apr 22 2010 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-10 |
* 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 |
- Added removal of user's calFBURL from LDAP smeserver-kronolith is uninstalled |
47 |
|
|
97 |
%patch4 -p1 |
%patch4 -p1 |
98 |
%patch5 -p1 |
%patch5 -p1 |
99 |
%patch6 -p1 |
%patch6 -p1 |
|
%patch7 -p1 |
|
|
%patch8 -p1 |
|
|
%patch9 -p1 |
|
100 |
|
|
101 |
%build |
%build |
102 |
perl createlinks |
perl createlinks |
111 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
112 |
|
|
113 |
%preun |
%preun |
|
if [ $1 = 0 ] ; then |
|
|
/etc/e-smith/events/actions/ldap-delete-fburl ldap-update |
|
|
fi |
|
114 |
|
|
115 |
%post |
%post |
|
/sbin/e-smith/expand-template /etc/openldap/slapd.conf |
|
|
/etc/rc7.d/S80ldap restart |
|
|
sleep 5 |
|
|
/etc/e-smith/events/actions/ldap-add-fburl ldap-update |
|
116 |
|
|
117 |
%postun |
%postun |
|
if [ $1 = 0 ] ; then |
|
|
/sbin/e-smith/expand-template /etc/openldap/slapd.conf |
|
|
/etc/rc7.d/S80ldap restart |
|
|
fi |
|
118 |
|
|
119 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
120 |
%defattr(-,root,root) |
%defattr(-,root,root) |