1 |
snetram |
1.26 |
# $Id: e-smith-horde.spec,v 1.25 2011/07/04 17:23:16 charliebrady 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 |
snetram |
1.26 |
%define release 17 |
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 |
slords |
1.1 |
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 |
slords |
1.6 |
Requires: horde >= 3.2 |
35 |
slords |
1.1 |
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 |
mrjhb3 |
1.12 |
Obsoletes: smeserver-trean < 0.1-8 |
52 |
slords |
1.1 |
|
53 |
|
|
%changelog |
54 |
snetram |
1.26 |
* Fri Dec 23 2011 Jonathan Martens <smeserver-conbtribs@snetram.nl> 4.2.0-17 |
55 |
|
|
- Remove original file that is also templated [SME: 6666] |
56 |
|
|
|
57 |
charliebrady |
1.25 |
* Mon Jul 04 2011 Charlie Brady <charlie_brady@mitel.com> 4.2.0-16 |
58 |
|
|
- Remove php-pecl(Fileinfo) dependency. [SME: 6436] |
59 |
|
|
|
60 |
mrjhb3 |
1.24 |
* Sun Jan 2 2011 John H. Bennett III <bennettj@johnbennettservices.com> 4.2.0-15 |
61 |
|
|
- Add option to verify from address in webmail if setting up additional identities [SME:6469] |
62 |
|
|
|
63 |
mrjhb3 |
1.23 |
* Sun Nov 07 2010 John H. Bennett III <bennettj@johnbennettservices.com> 4.2.0-14 |
64 |
|
|
- Upgrade horde templates to reflect changes in Horde 3.3.10 [SME:6348] |
65 |
|
|
|
66 |
mrjhb3 |
1.22 |
* Mon May 10 2010 John H. Bennett III <bennettj@johnbennettservices.com> 4.2.0-13 |
67 |
|
|
- Upgrade horde templates to reflect changes in Horde 3.3.8 [SME: 5938] |
68 |
|
|
|
69 |
mrjhb3 |
1.21 |
* Sun Feb 14 2010 John H. Bennett III <bennettj@johnbennettservices.com> 4.2.0-12 |
70 |
|
|
- Patch to change horde's templated mime_drivers.php file so some additional |
71 |
|
|
settings can be customized [SME: 5224] |
72 |
|
|
- config setprop horde inlineMSWord true|false <-- default is false |
73 |
|
|
- config setprop horde inlineMSExcel true|false <-- default is false |
74 |
|
|
- config setprop horde inlineMSPowerpoint true|false <-- default is false |
75 |
|
|
- config setprop horde inlineWordperfect true|false <-- default is false |
76 |
|
|
- config setprop horde inlineAudio true|false <-- default is true |
77 |
|
|
|
78 |
mrjhb3 |
1.20 |
* Sat Feb 13 2010 John H. Bennett III <bennettj@johnbennettservices.com> 4.2.0-11 |
79 |
|
|
- Patch to make sure username is always saved in lowercase to horde db's [SME:5775] |
80 |
|
|
|
81 |
|
|
* Sat Feb 13 2010 John H. Bennett III <bennettj@johnbennettservices.com> 4.2.0-10 |
82 |
mrjhb3 |
1.19 |
- Upgrade horde templates to reflect changes in Horde 3.3.6 [SME: 5774] |
83 |
|
|
|
84 |
mrjhb3 |
1.17 |
* Tue Oct 13 2009 John H. Bennett III <bennettj@johnbennettservices.com> 4.2.0-9 |
85 |
dungog |
1.18 |
- Really apply patch from previous attempt [SME: 5509] |
86 |
mrjhb3 |
1.17 |
|
87 |
mrjhb3 |
1.16 |
* Tue Oct 13 2009 John H. Bennett III <bennettj@johnbennettservices.com> 4.2.0-8 |
88 |
|
|
- Upgrade horde templates to reflect changes in Horde 3.3.5 [SME: 5509] |
89 |
|
|
|
90 |
mrjhb3 |
1.15 |
* Sat Jun 20 2009 John H. Bennett III <bennettj@johnbennettservices.com> 4.2.0-7 |
91 |
|
|
- Upgrade to horde templates to reflect changes in Horde 3.3.4 [SME: 5372] |
92 |
|
|
|
93 |
mrjhb3 |
1.13 |
* Thu Dec 24 2008 John H. Bennett III <bennettj@johnbennettservices.com> 4.2.0-6 |
94 |
|
|
- Updated spec file to remove requires and obsoletes of php-pear-HTTP-Request |
95 |
|
|
information moved to e-smith-imp for both sme7 and sme8 [SME: 4821] |
96 |
|
|
|
97 |
mrjhb3 |
1.12 |
* Sun Dec 21 2008 John H. Bennett III <bennettj@johnbennettservices.com> 4.2.0-5 |
98 |
|
|
- Update to Spec file to obsolete smeserver-trean < 0.1-8 [SME: 4860] |
99 |
|
|
|
100 |
|
|
* Sat Dec 20 2008 John H. Bennett III <bennettj@johnbennettservices.com> 4.2.0-4 |
101 |
mrjhb3 |
1.11 |
- Patch to conf.php template to set a blank cookie domain so that FQDN and non-FQDN |
102 |
|
|
- access to webmail will work. Remove klutz template from registry.php [SME: 4787] |
103 |
|
|
|
104 |
mrjhb3 |
1.12 |
* Sat Dec 06 2008 John H. Bennett III <bennettj@johnbennettservices.com> 4.2.0-3 |
105 |
mrjhb3 |
1.11 |
- Upgrade to horde templates to reflect changes in Horde 3.3.2 |
106 |
|
|
|
107 |
mrjhb3 |
1.10 |
* Sat Dec 06 2008 John H. Bennett III <bennettj@johnbennettservices.com> 4.2.0-2 |
108 |
|
|
- Upgrade to horde templates to reflect changes in Horde 3.3 [SME: 4831] |
109 |
|
|
|
110 |
slords |
1.9 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 4.2.0-1.sme |
111 |
|
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
112 |
|
|
|
113 |
slords |
1.6 |
* Tue Jun 24 2008 John H. Bennett III <bennettj@johnbennettservices.com> 3.2-2 |
114 |
bytegw |
1.8 |
- Upgrade patch for Horde 3.2.1 [SME: 4532] |
115 |
slords |
1.4 |
|
116 |
slords |
1.6 |
* Mon Jun 2 2008 John H. Bennett III <bennettj@johnbennettservices.com> 3.2-1 |
117 |
|
|
- Initial production build |
118 |
|
|
- Jump in package name to reflect new version of horde |
119 |
slords |
1.1 |
|
120 |
|
|
%description |
121 |
slords |
1.6 |
This package adds necessary templates and configuration items |
122 |
|
|
so that Horde will work properly on SME Server |
123 |
slords |
1.1 |
|
124 |
|
|
%prep |
125 |
|
|
%setup |
126 |
snetram |
1.26 |
rm -f root/home/httpd/html/horde/smeserver/mysql_set_horde_password.sql |
127 |
slords |
1.1 |
|
128 |
mrjhb3 |
1.10 |
%patch1 -p1 |
129 |
mrjhb3 |
1.11 |
%patch2 -p1 |
130 |
|
|
%patch3 -p1 |
131 |
mrjhb3 |
1.15 |
%patch4 -p1 |
132 |
mrjhb3 |
1.17 |
%patch5 -p1 |
133 |
mrjhb3 |
1.19 |
%patch6 -p1 |
134 |
mrjhb3 |
1.20 |
%patch7 -p1 |
135 |
mrjhb3 |
1.21 |
%patch8 -p1 |
136 |
mrjhb3 |
1.22 |
%patch9 -p1 |
137 |
mrjhb3 |
1.23 |
%patch10 -p1 |
138 |
mrjhb3 |
1.24 |
%patch11 -p1 |
139 |
mrjhb3 |
1.10 |
|
140 |
slords |
1.1 |
%build |
141 |
|
|
for i in post-install post-upgrade |
142 |
|
|
do |
143 |
|
|
mkdir -p root/etc/e-smith/events/$i |
144 |
|
|
done |
145 |
|
|
perl createlinks |
146 |
|
|
|
147 |
|
|
%install |
148 |
|
|
rm -rf $RPM_BUILD_ROOT |
149 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
150 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
151 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-filelist |
152 |
|
|
|
153 |
|
|
%clean |
154 |
|
|
rm -rf $RPM_BUILD_ROOT |
155 |
|
|
|
156 |
|
|
%pre |
157 |
|
|
%preun |
158 |
|
|
%post |
159 |
|
|
%postun |
160 |
|
|
|
161 |
|
|
%files -f %{name}-%{version}-filelist |
162 |
|
|
%defattr(-,root,root) |