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