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