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