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