1 |
mrjhb3 |
1.17 |
# $Id: e-smith-horde.spec,v 1.16 2010/11/06 03:45:53 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.17 |
%define release 11 |
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 |
mrjhb3 |
1.12 |
Patch4: e-smith-horde_3.3.4-upgrade.patch |
17 |
mrjhb3 |
1.13 |
Patch5: e-smith-horde_3.3.5-upgrade.patch |
18 |
mrjhb3 |
1.14 |
Patch6: e-smith-horde_3.3.6.patch |
19 |
mrjhb3 |
1.15 |
Patch7: e-smith-horde_username.hook.patch |
20 |
mrjhb3 |
1.16 |
Patch8: e-smith-horde_3.3.6-3.3.10.patch |
21 |
mrjhb3 |
1.17 |
Patch9: e-smith-horde_verify_from_address.patch |
22 |
slords |
1.1 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
23 |
|
|
BuildArchitectures: noarch |
24 |
|
|
Requires: e-smith-base >= 4.9.44, horde >= 2.0, mysql |
25 |
|
|
Requires: e-smith-lib >= 1.15.1-16 |
26 |
|
|
Requires: enscript |
27 |
|
|
Requires: php-domxml |
28 |
|
|
Requires: php-gd |
29 |
|
|
Requires: php-mbstring |
30 |
|
|
Requires: wv |
31 |
|
|
Requires: xlhtml |
32 |
slords |
1.6 |
Requires: horde >= 3.2 |
33 |
slords |
1.1 |
Requires: php-pear |
34 |
|
|
Requires: pear-date |
35 |
|
|
Requires: pear-db |
36 |
|
|
Requires: pear-file |
37 |
|
|
Requires: pear-log |
38 |
|
|
Requires: pear-mail |
39 |
|
|
Requires: pear-mail_mime |
40 |
|
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
41 |
|
|
AutoReqProv: no |
42 |
|
|
Obsoletes: dcb-e-smith-horde |
43 |
|
|
Obsoletes: smeserver-horde-menuarray |
44 |
mrjhb3 |
1.11 |
Obsoletes: smeserver-trean < 0.1-8 |
45 |
slords |
1.1 |
|
46 |
|
|
%changelog |
47 |
mrjhb3 |
1.17 |
* Sun Jan 2 2011 John H. Bennett III <bennettj@johnbennettservices.com> 4.0.0-11 |
48 |
|
|
- Add option to verify from address in webmail if setting up additional identities [SME:6464] |
49 |
|
|
|
50 |
mrjhb3 |
1.16 |
* Fri Nov 11 2010 John H. Bennett III <bennettj@johnbennettservices.com> 4.0.0-10 |
51 |
|
|
- Upgrade horde templates to reflect changes from Horde 3.3.6 to 3.3.10 [SME: 6340] |
52 |
|
|
|
53 |
mrjhb3 |
1.15 |
* Sat Jan 23 2010 John H. Bennett III <bennettj@johnbennettservices.com> 4.0.0-9 |
54 |
|
|
- Patch to make sure username is always saved in lowercase to horde db's [SME: 5627] |
55 |
|
|
|
56 |
mrjhb3 |
1.14 |
* Sat Jan 23 2010 John H. Bennett III <bennettj@johnbennettservices.com> 4.0.0-8 |
57 |
|
|
- Upgrade horde templates to reflect changes in Horde 3.3.6 [SME: 5721] |
58 |
|
|
|
59 |
mrjhb3 |
1.13 |
* Tue Oct 13 2009 John H. Bennett III <bennettj@johnbennettservices.com> 4.0.0-7 |
60 |
|
|
- Upgrade horde templates to reflect changes in Horde 3.3.5 [SME: 5509] |
61 |
|
|
|
62 |
mrjhb3 |
1.12 |
* Sat Jun 20 2009 John H. Bennett III <bennettj@johnbennettservices.com> 4.0.0-6 |
63 |
|
|
- Upgrade to horde templates to reflect changes in Horde 3.3.4 [SME: 5372] |
64 |
|
|
|
65 |
mrjhb3 |
1.11 |
* Sun Dec 21 2008 John H. Bennett III <bennettj@johnbennettservices.com> 4.0.0-5 |
66 |
|
|
- Update to Spec file to obsolete smeserver-trean < 0.1-8 [SME: 4860] |
67 |
|
|
|
68 |
mrjhb3 |
1.10 |
* Sat Dec 20 2008 John H. Bennett III <bennettj@johnbennettservices.com> 4.0.0-4 |
69 |
|
|
- Patch to conf.php template to set a blank cookie domain so that FQDN and non-FQDN |
70 |
|
|
- access to webmail will work. Remove klutz template from registry.php [SME: 4787] |
71 |
|
|
|
72 |
|
|
* Sat Dec 06 2008 John H. Bennett III <bennettj@johnbennettservices.com> 4.0.0-3 |
73 |
|
|
- Upgrade to horde templates to reflect changes in Horde 3.3.2 |
74 |
|
|
|
75 |
mrjhb3 |
1.9 |
* Sat Dec 06 2008 John H. Bennett III <bennettj@johnbennettservices.com> 4.0.0-2 |
76 |
|
|
- Upgrade to horde templates to reflect changes in Horde 3.3 [SME: 4831] |
77 |
|
|
|
78 |
slords |
1.8 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 4.0.0-1.sme |
79 |
|
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
80 |
|
|
|
81 |
slords |
1.6 |
* Tue Jun 24 2008 John H. Bennett III <bennettj@johnbennettservices.com> 3.2-2 |
82 |
bytegw |
1.7 |
- Upgrade patch for Horde 3.2.1 [SME: 4532] |
83 |
mrjhb3 |
1.4 |
|
84 |
slords |
1.6 |
* Mon Jun 2 2008 John H. Bennett III <bennettj@johnbennettservices.com> 3.2-1 |
85 |
|
|
- Initial production build |
86 |
|
|
- Jump in package name to reflect new version of horde |
87 |
slords |
1.1 |
|
88 |
|
|
%description |
89 |
slords |
1.6 |
This package adds necessary templates and configuration items |
90 |
|
|
so that Horde will work properly on SME Server |
91 |
slords |
1.1 |
|
92 |
|
|
%prep |
93 |
|
|
%setup |
94 |
|
|
|
95 |
mrjhb3 |
1.9 |
%patch1 -p1 |
96 |
mrjhb3 |
1.10 |
%patch2 -p1 |
97 |
|
|
%patch3 -p1 |
98 |
mrjhb3 |
1.12 |
%patch4 -p1 |
99 |
mrjhb3 |
1.13 |
%patch5 -p1 |
100 |
mrjhb3 |
1.14 |
%patch6 -p1 |
101 |
mrjhb3 |
1.15 |
%patch7 -p1 |
102 |
mrjhb3 |
1.16 |
%patch8 -p1 |
103 |
mrjhb3 |
1.17 |
%patch9 -p1 |
104 |
mrjhb3 |
1.9 |
|
105 |
slords |
1.1 |
%build |
106 |
|
|
for i in post-install post-upgrade |
107 |
|
|
do |
108 |
|
|
mkdir -p root/etc/e-smith/events/$i |
109 |
|
|
done |
110 |
|
|
perl createlinks |
111 |
|
|
|
112 |
|
|
%install |
113 |
|
|
rm -rf $RPM_BUILD_ROOT |
114 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
115 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
116 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-filelist |
117 |
|
|
|
118 |
|
|
%clean |
119 |
|
|
rm -rf $RPM_BUILD_ROOT |
120 |
|
|
|
121 |
|
|
%pre |
122 |
|
|
%preun |
123 |
|
|
%post |
124 |
|
|
%postun |
125 |
|
|
|
126 |
|
|
%files -f %{name}-%{version}-filelist |
127 |
|
|
%defattr(-,root,root) |