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