1 |
mrjhb3 |
1.17 |
# $Id: e-smith-horde.spec,v 1.16 2009/10/14 02:19:12 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.17 |
%define release 9 |
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 |
mrjhb3 |
1.15 |
Patch4: e-smith-horde_3.3.4-upgrade.patch |
17 |
mrjhb3 |
1.17 |
Patch5: e-smith-horde_3.3.5-upgrade.patch |
18 |
slords |
1.1 |
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 |
slords |
1.6 |
Requires: horde >= 3.2 |
29 |
slords |
1.1 |
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 |
mrjhb3 |
1.12 |
Obsoletes: smeserver-trean < 0.1-8 |
47 |
slords |
1.1 |
|
48 |
|
|
%changelog |
49 |
mrjhb3 |
1.17 |
* Tue Oct 13 2009 John H. Bennett III <bennettj@johnbennettservices.com> 4.2.0-9 |
50 |
|
|
- Really apply patch from previous attempt |
51 |
|
|
|
52 |
mrjhb3 |
1.16 |
* 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 |
mrjhb3 |
1.15 |
* 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 |
mrjhb3 |
1.13 |
* 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 |
mrjhb3 |
1.12 |
* 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 |
mrjhb3 |
1.11 |
- 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 |
mrjhb3 |
1.12 |
* Sat Dec 06 2008 John H. Bennett III <bennettj@johnbennettservices.com> 4.2.0-3 |
70 |
mrjhb3 |
1.11 |
- Upgrade to horde templates to reflect changes in Horde 3.3.2 |
71 |
|
|
|
72 |
mrjhb3 |
1.10 |
* 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 |
slords |
1.9 |
* 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 |
slords |
1.6 |
* Tue Jun 24 2008 John H. Bennett III <bennettj@johnbennettservices.com> 3.2-2 |
79 |
bytegw |
1.8 |
- Upgrade patch for Horde 3.2.1 [SME: 4532] |
80 |
slords |
1.4 |
|
81 |
slords |
1.6 |
* 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 |
slords |
1.1 |
|
85 |
|
|
%description |
86 |
slords |
1.6 |
This package adds necessary templates and configuration items |
87 |
|
|
so that Horde will work properly on SME Server |
88 |
slords |
1.1 |
|
89 |
|
|
%prep |
90 |
|
|
%setup |
91 |
|
|
|
92 |
mrjhb3 |
1.10 |
%patch1 -p1 |
93 |
mrjhb3 |
1.11 |
%patch2 -p1 |
94 |
|
|
%patch3 -p1 |
95 |
mrjhb3 |
1.15 |
%patch4 -p1 |
96 |
mrjhb3 |
1.17 |
%patch5 -p1 |
97 |
mrjhb3 |
1.10 |
|
98 |
slords |
1.1 |
%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) |