1 |
# $Id: e-smith-horde.spec,v 1.24 2011/01/03 02:47:02 mrjhb3 Exp $ |
2 |
|
3 |
Summary: e-smith specific Horde configuration and templates. |
4 |
%define name e-smith-horde |
5 |
Name: %{name} |
6 |
%define version 4.2.0 |
7 |
%define release 16 |
8 |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
10 |
License: GPL |
11 |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.gz |
13 |
Patch1: e-smith-horde_3.3-upgrade.patch |
14 |
Patch2: e-smith-horde_3.3.2-upgrade.patch |
15 |
Patch3: e-smith-horde_cookie_domain.patch |
16 |
Patch4: e-smith-horde_3.3.4-upgrade.patch |
17 |
Patch5: e-smith-horde_3.3.5-upgrade.patch |
18 |
Patch6: e-smith-horde_3.3.6.patch |
19 |
Patch7: e-smith-horde_username.hook.patch |
20 |
Patch8: e-smith-horde_mime_drivers.php.patch |
21 |
Patch9: e-smith-horde_3.3.8.patch |
22 |
Patch10: e-smith-horde_3.3.10.patch |
23 |
Patch11: e-smith-horde_verify_from_address.patch |
24 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
25 |
BuildArchitectures: noarch |
26 |
Requires: e-smith-base >= 4.9.44, horde >= 2.0, mysql |
27 |
Requires: e-smith-lib >= 1.15.1-16 |
28 |
Requires: enscript |
29 |
Requires: php-domxml |
30 |
Requires: php-gd |
31 |
Requires: php-mbstring |
32 |
Requires: wv |
33 |
Requires: xlhtml |
34 |
Requires: horde >= 3.2 |
35 |
Requires: php-pear |
36 |
Obsoletes: pear-date |
37 |
Obsoletes: pear-db |
38 |
Obsoletes: pear-file |
39 |
Obsoletes: pear-log |
40 |
Obsoletes: pear-mail |
41 |
Obsoletes: pear-mail_mime |
42 |
Requires: php-pear(Date) |
43 |
Requires: php-pear(File) |
44 |
Requires: php-pear(HTTP) |
45 |
Requires: php-pear(Log) |
46 |
Requires: php-pear(Services_Weather) |
47 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
48 |
AutoReqProv: no |
49 |
Obsoletes: dcb-e-smith-horde |
50 |
Obsoletes: smeserver-horde-menuarray |
51 |
Obsoletes: smeserver-trean < 0.1-8 |
52 |
|
53 |
%changelog |
54 |
* Mon Jul 04 2011 Charlie Brady <charlie_brady@mitel.com> 4.2.0-16 |
55 |
- Remove php-pecl(Fileinfo) dependency. [SME: 6436] |
56 |
|
57 |
* Sun Jan 2 2011 John H. Bennett III <bennettj@johnbennettservices.com> 4.2.0-15 |
58 |
- Add option to verify from address in webmail if setting up additional identities [SME:6469] |
59 |
|
60 |
* Sun Nov 07 2010 John H. Bennett III <bennettj@johnbennettservices.com> 4.2.0-14 |
61 |
- Upgrade horde templates to reflect changes in Horde 3.3.10 [SME:6348] |
62 |
|
63 |
* Mon May 10 2010 John H. Bennett III <bennettj@johnbennettservices.com> 4.2.0-13 |
64 |
- Upgrade horde templates to reflect changes in Horde 3.3.8 [SME: 5938] |
65 |
|
66 |
* Sun Feb 14 2010 John H. Bennett III <bennettj@johnbennettservices.com> 4.2.0-12 |
67 |
- Patch to change horde's templated mime_drivers.php file so some additional |
68 |
settings can be customized [SME: 5224] |
69 |
- config setprop horde inlineMSWord true|false <-- default is false |
70 |
- config setprop horde inlineMSExcel true|false <-- default is false |
71 |
- config setprop horde inlineMSPowerpoint true|false <-- default is false |
72 |
- config setprop horde inlineWordperfect true|false <-- default is false |
73 |
- config setprop horde inlineAudio true|false <-- default is true |
74 |
|
75 |
* Sat Feb 13 2010 John H. Bennett III <bennettj@johnbennettservices.com> 4.2.0-11 |
76 |
- Patch to make sure username is always saved in lowercase to horde db's [SME:5775] |
77 |
|
78 |
* Sat Feb 13 2010 John H. Bennett III <bennettj@johnbennettservices.com> 4.2.0-10 |
79 |
- Upgrade horde templates to reflect changes in Horde 3.3.6 [SME: 5774] |
80 |
|
81 |
* Tue Oct 13 2009 John H. Bennett III <bennettj@johnbennettservices.com> 4.2.0-9 |
82 |
- Really apply patch from previous attempt [SME: 5509] |
83 |
|
84 |
* Tue Oct 13 2009 John H. Bennett III <bennettj@johnbennettservices.com> 4.2.0-8 |
85 |
- Upgrade horde templates to reflect changes in Horde 3.3.5 [SME: 5509] |
86 |
|
87 |
* Sat Jun 20 2009 John H. Bennett III <bennettj@johnbennettservices.com> 4.2.0-7 |
88 |
- Upgrade to horde templates to reflect changes in Horde 3.3.4 [SME: 5372] |
89 |
|
90 |
* Thu Dec 24 2008 John H. Bennett III <bennettj@johnbennettservices.com> 4.2.0-6 |
91 |
- Updated spec file to remove requires and obsoletes of php-pear-HTTP-Request |
92 |
information moved to e-smith-imp for both sme7 and sme8 [SME: 4821] |
93 |
|
94 |
* Sun Dec 21 2008 John H. Bennett III <bennettj@johnbennettservices.com> 4.2.0-5 |
95 |
- Update to Spec file to obsolete smeserver-trean < 0.1-8 [SME: 4860] |
96 |
|
97 |
* Sat Dec 20 2008 John H. Bennett III <bennettj@johnbennettservices.com> 4.2.0-4 |
98 |
- Patch to conf.php template to set a blank cookie domain so that FQDN and non-FQDN |
99 |
- access to webmail will work. Remove klutz template from registry.php [SME: 4787] |
100 |
|
101 |
* Sat Dec 06 2008 John H. Bennett III <bennettj@johnbennettservices.com> 4.2.0-3 |
102 |
- Upgrade to horde templates to reflect changes in Horde 3.3.2 |
103 |
|
104 |
* Sat Dec 06 2008 John H. Bennett III <bennettj@johnbennettservices.com> 4.2.0-2 |
105 |
- Upgrade to horde templates to reflect changes in Horde 3.3 [SME: 4831] |
106 |
|
107 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 4.2.0-1.sme |
108 |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
109 |
|
110 |
* Tue Jun 24 2008 John H. Bennett III <bennettj@johnbennettservices.com> 3.2-2 |
111 |
- Upgrade patch for Horde 3.2.1 [SME: 4532] |
112 |
|
113 |
* Mon Jun 2 2008 John H. Bennett III <bennettj@johnbennettservices.com> 3.2-1 |
114 |
- Initial production build |
115 |
- Jump in package name to reflect new version of horde |
116 |
|
117 |
%description |
118 |
This package adds necessary templates and configuration items |
119 |
so that Horde will work properly on SME Server |
120 |
|
121 |
%prep |
122 |
%setup |
123 |
|
124 |
%patch1 -p1 |
125 |
%patch2 -p1 |
126 |
%patch3 -p1 |
127 |
%patch4 -p1 |
128 |
%patch5 -p1 |
129 |
%patch6 -p1 |
130 |
%patch7 -p1 |
131 |
%patch8 -p1 |
132 |
%patch9 -p1 |
133 |
%patch10 -p1 |
134 |
%patch11 -p1 |
135 |
|
136 |
%build |
137 |
for i in post-install post-upgrade |
138 |
do |
139 |
mkdir -p root/etc/e-smith/events/$i |
140 |
done |
141 |
perl createlinks |
142 |
|
143 |
%install |
144 |
rm -rf $RPM_BUILD_ROOT |
145 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
146 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
147 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
148 |
|
149 |
%clean |
150 |
rm -rf $RPM_BUILD_ROOT |
151 |
|
152 |
%pre |
153 |
%preun |
154 |
%post |
155 |
%postun |
156 |
|
157 |
%files -f %{name}-%{version}-filelist |
158 |
%defattr(-,root,root) |