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