1 |
mrjhb3 |
1.10 |
# $Id: e-smith-horde.spec,v 1.9 2008/12/06 21:22:46 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.8 |
%define version 4.0.0 |
7 |
mrjhb3 |
1.10 |
%define release 4 |
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.9 |
Patch1: e-smith-horde_3.3-upgrade.patch |
14 |
mrjhb3 |
1.10 |
Patch2: e-smith-horde_3.3.2-upgrade.patch |
15 |
|
|
Patch3: e-smith-horde_cookie_domain.patch |
16 |
slords |
1.1 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
17 |
|
|
BuildArchitectures: noarch |
18 |
|
|
Requires: e-smith-base >= 4.9.44, horde >= 2.0, mysql |
19 |
|
|
Requires: e-smith-lib >= 1.15.1-16 |
20 |
|
|
Requires: enscript |
21 |
|
|
Requires: php-domxml |
22 |
|
|
Requires: php-gd |
23 |
|
|
Requires: php-mbstring |
24 |
|
|
Requires: wv |
25 |
|
|
Requires: xlhtml |
26 |
slords |
1.6 |
Requires: horde >= 3.2 |
27 |
slords |
1.1 |
Requires: php-pear |
28 |
|
|
Requires: pear-date |
29 |
|
|
Requires: pear-db |
30 |
|
|
Requires: pear-file |
31 |
|
|
Requires: pear-log |
32 |
|
|
Requires: pear-mail |
33 |
|
|
Requires: pear-mail_mime |
34 |
|
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
35 |
|
|
AutoReqProv: no |
36 |
|
|
Obsoletes: dcb-e-smith-horde |
37 |
|
|
Obsoletes: smeserver-horde-menuarray |
38 |
|
|
|
39 |
|
|
%changelog |
40 |
mrjhb3 |
1.10 |
* Sat Dec 20 2008 John H. Bennett III <bennettj@johnbennettservices.com> 4.0.0-4 |
41 |
|
|
- Patch to conf.php template to set a blank cookie domain so that FQDN and non-FQDN |
42 |
|
|
- access to webmail will work. Remove klutz template from registry.php [SME: 4787] |
43 |
|
|
|
44 |
|
|
* Sat Dec 06 2008 John H. Bennett III <bennettj@johnbennettservices.com> 4.0.0-3 |
45 |
|
|
- Upgrade to horde templates to reflect changes in Horde 3.3.2 |
46 |
|
|
|
47 |
mrjhb3 |
1.9 |
* Sat Dec 06 2008 John H. Bennett III <bennettj@johnbennettservices.com> 4.0.0-2 |
48 |
|
|
- Upgrade to horde templates to reflect changes in Horde 3.3 [SME: 4831] |
49 |
|
|
|
50 |
slords |
1.8 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 4.0.0-1.sme |
51 |
|
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
52 |
|
|
|
53 |
slords |
1.6 |
* Tue Jun 24 2008 John H. Bennett III <bennettj@johnbennettservices.com> 3.2-2 |
54 |
bytegw |
1.7 |
- Upgrade patch for Horde 3.2.1 [SME: 4532] |
55 |
mrjhb3 |
1.4 |
|
56 |
slords |
1.6 |
* Mon Jun 2 2008 John H. Bennett III <bennettj@johnbennettservices.com> 3.2-1 |
57 |
|
|
- Initial production build |
58 |
|
|
- Jump in package name to reflect new version of horde |
59 |
slords |
1.1 |
|
60 |
|
|
%description |
61 |
slords |
1.6 |
This package adds necessary templates and configuration items |
62 |
|
|
so that Horde will work properly on SME Server |
63 |
slords |
1.1 |
|
64 |
|
|
%prep |
65 |
|
|
%setup |
66 |
|
|
|
67 |
mrjhb3 |
1.9 |
%patch1 -p1 |
68 |
mrjhb3 |
1.10 |
%patch2 -p1 |
69 |
|
|
%patch3 -p1 |
70 |
mrjhb3 |
1.9 |
|
71 |
slords |
1.1 |
%build |
72 |
|
|
for i in post-install post-upgrade |
73 |
|
|
do |
74 |
|
|
mkdir -p root/etc/e-smith/events/$i |
75 |
|
|
done |
76 |
|
|
perl createlinks |
77 |
|
|
|
78 |
|
|
%install |
79 |
|
|
rm -rf $RPM_BUILD_ROOT |
80 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
81 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
82 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-filelist |
83 |
|
|
|
84 |
|
|
%clean |
85 |
|
|
rm -rf $RPM_BUILD_ROOT |
86 |
|
|
|
87 |
|
|
%pre |
88 |
|
|
%preun |
89 |
|
|
%post |
90 |
|
|
%postun |
91 |
|
|
|
92 |
|
|
%files -f %{name}-%{version}-filelist |
93 |
|
|
%defattr(-,root,root) |