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