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