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