1 |
snetram |
1.18 |
# $Id: e-smith-horde.spec,v 1.17 2011/01/03 02:48:13 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 |
snetram |
1.18 |
%define release 12 |
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 |
snetram |
1.18 |
* Fri Dec 23 2011 Jonathan Martens <smeserver-conbtribs@snetram.nl> 4.0.0-12 |
48 |
|
|
- Remove original file that is also templated [SME: 6665] |
49 |
|
|
|
50 |
mrjhb3 |
1.17 |
* Sun Jan 2 2011 John H. Bennett III <bennettj@johnbennettservices.com> 4.0.0-11 |
51 |
|
|
- Add option to verify from address in webmail if setting up additional identities [SME:6464] |
52 |
|
|
|
53 |
mrjhb3 |
1.16 |
* Fri Nov 11 2010 John H. Bennett III <bennettj@johnbennettservices.com> 4.0.0-10 |
54 |
|
|
- Upgrade horde templates to reflect changes from Horde 3.3.6 to 3.3.10 [SME: 6340] |
55 |
|
|
|
56 |
mrjhb3 |
1.15 |
* Sat Jan 23 2010 John H. Bennett III <bennettj@johnbennettservices.com> 4.0.0-9 |
57 |
|
|
- Patch to make sure username is always saved in lowercase to horde db's [SME: 5627] |
58 |
|
|
|
59 |
mrjhb3 |
1.14 |
* Sat Jan 23 2010 John H. Bennett III <bennettj@johnbennettservices.com> 4.0.0-8 |
60 |
|
|
- Upgrade horde templates to reflect changes in Horde 3.3.6 [SME: 5721] |
61 |
|
|
|
62 |
mrjhb3 |
1.13 |
* Tue Oct 13 2009 John H. Bennett III <bennettj@johnbennettservices.com> 4.0.0-7 |
63 |
|
|
- Upgrade horde templates to reflect changes in Horde 3.3.5 [SME: 5509] |
64 |
|
|
|
65 |
mrjhb3 |
1.12 |
* Sat Jun 20 2009 John H. Bennett III <bennettj@johnbennettservices.com> 4.0.0-6 |
66 |
|
|
- Upgrade to horde templates to reflect changes in Horde 3.3.4 [SME: 5372] |
67 |
|
|
|
68 |
mrjhb3 |
1.11 |
* Sun Dec 21 2008 John H. Bennett III <bennettj@johnbennettservices.com> 4.0.0-5 |
69 |
|
|
- Update to Spec file to obsolete smeserver-trean < 0.1-8 [SME: 4860] |
70 |
|
|
|
71 |
mrjhb3 |
1.10 |
* Sat Dec 20 2008 John H. Bennett III <bennettj@johnbennettservices.com> 4.0.0-4 |
72 |
|
|
- Patch to conf.php template to set a blank cookie domain so that FQDN and non-FQDN |
73 |
|
|
- access to webmail will work. Remove klutz template from registry.php [SME: 4787] |
74 |
|
|
|
75 |
|
|
* Sat Dec 06 2008 John H. Bennett III <bennettj@johnbennettservices.com> 4.0.0-3 |
76 |
|
|
- Upgrade to horde templates to reflect changes in Horde 3.3.2 |
77 |
|
|
|
78 |
mrjhb3 |
1.9 |
* Sat Dec 06 2008 John H. Bennett III <bennettj@johnbennettservices.com> 4.0.0-2 |
79 |
|
|
- Upgrade to horde templates to reflect changes in Horde 3.3 [SME: 4831] |
80 |
|
|
|
81 |
slords |
1.8 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 4.0.0-1.sme |
82 |
|
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
83 |
|
|
|
84 |
slords |
1.6 |
* Tue Jun 24 2008 John H. Bennett III <bennettj@johnbennettservices.com> 3.2-2 |
85 |
bytegw |
1.7 |
- Upgrade patch for Horde 3.2.1 [SME: 4532] |
86 |
mrjhb3 |
1.4 |
|
87 |
slords |
1.6 |
* Mon Jun 2 2008 John H. Bennett III <bennettj@johnbennettservices.com> 3.2-1 |
88 |
|
|
- Initial production build |
89 |
|
|
- Jump in package name to reflect new version of horde |
90 |
slords |
1.1 |
|
91 |
|
|
%description |
92 |
slords |
1.6 |
This package adds necessary templates and configuration items |
93 |
|
|
so that Horde will work properly on SME Server |
94 |
slords |
1.1 |
|
95 |
|
|
%prep |
96 |
|
|
%setup |
97 |
snetram |
1.18 |
rm -f root/home/httpd/html/horde/smeserver/mysql_set_horde_password.sql |
98 |
slords |
1.1 |
|
99 |
mrjhb3 |
1.9 |
%patch1 -p1 |
100 |
mrjhb3 |
1.10 |
%patch2 -p1 |
101 |
|
|
%patch3 -p1 |
102 |
mrjhb3 |
1.12 |
%patch4 -p1 |
103 |
mrjhb3 |
1.13 |
%patch5 -p1 |
104 |
mrjhb3 |
1.14 |
%patch6 -p1 |
105 |
mrjhb3 |
1.15 |
%patch7 -p1 |
106 |
mrjhb3 |
1.16 |
%patch8 -p1 |
107 |
mrjhb3 |
1.17 |
%patch9 -p1 |
108 |
mrjhb3 |
1.9 |
|
109 |
slords |
1.1 |
%build |
110 |
|
|
for i in post-install post-upgrade |
111 |
|
|
do |
112 |
|
|
mkdir -p root/etc/e-smith/events/$i |
113 |
|
|
done |
114 |
|
|
perl createlinks |
115 |
|
|
|
116 |
|
|
%install |
117 |
|
|
rm -rf $RPM_BUILD_ROOT |
118 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
119 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
120 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-filelist |
121 |
|
|
|
122 |
|
|
%clean |
123 |
|
|
rm -rf $RPM_BUILD_ROOT |
124 |
|
|
|
125 |
|
|
%pre |
126 |
|
|
%preun |
127 |
|
|
%post |
128 |
|
|
%postun |
129 |
|
|
|
130 |
|
|
%files -f %{name}-%{version}-filelist |
131 |
|
|
%defattr(-,root,root) |