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