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