1 |
mrjhb3 |
1.20 |
# $Id: e-smith-horde.spec,v 1.19 2010/02/13 09:09:23 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.20 |
%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.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 |
mrjhb3 |
1.19 |
Patch6: e-smith-horde_3.3.6.patch |
19 |
mrjhb3 |
1.20 |
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 |
|
|
Obsoletes: pear-date |
33 |
|
|
Obsoletes: pear-db |
34 |
|
|
Obsoletes: pear-file |
35 |
|
|
Obsoletes: pear-log |
36 |
|
|
Obsoletes: pear-mail |
37 |
|
|
Obsoletes: pear-mail_mime |
38 |
|
|
Requires: php-pear(Date) |
39 |
|
|
Requires: php-pear(File) |
40 |
|
|
Requires: php-pear(HTTP) |
41 |
|
|
Requires: php-pear(Log) |
42 |
|
|
Requires: php-pear(Services_Weather) |
43 |
|
|
Requires: php-pecl(Fileinfo) |
44 |
|
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
45 |
|
|
AutoReqProv: no |
46 |
|
|
Obsoletes: dcb-e-smith-horde |
47 |
|
|
Obsoletes: smeserver-horde-menuarray |
48 |
mrjhb3 |
1.12 |
Obsoletes: smeserver-trean < 0.1-8 |
49 |
slords |
1.1 |
|
50 |
|
|
%changelog |
51 |
mrjhb3 |
1.20 |
* Sat Feb 13 2010 John H. Bennett III <bennettj@johnbennettservices.com> 4.2.0-11 |
52 |
|
|
- Patch to make sure username is always saved in lowercase to horde db's [SME:5775] |
53 |
|
|
|
54 |
|
|
* Sat Feb 13 2010 John H. Bennett III <bennettj@johnbennettservices.com> 4.2.0-10 |
55 |
mrjhb3 |
1.19 |
- Upgrade horde templates to reflect changes in Horde 3.3.6 [SME: 5774] |
56 |
|
|
|
57 |
mrjhb3 |
1.17 |
* Tue Oct 13 2009 John H. Bennett III <bennettj@johnbennettservices.com> 4.2.0-9 |
58 |
dungog |
1.18 |
- Really apply patch from previous attempt [SME: 5509] |
59 |
mrjhb3 |
1.17 |
|
60 |
mrjhb3 |
1.16 |
* Tue Oct 13 2009 John H. Bennett III <bennettj@johnbennettservices.com> 4.2.0-8 |
61 |
|
|
- Upgrade horde templates to reflect changes in Horde 3.3.5 [SME: 5509] |
62 |
|
|
|
63 |
mrjhb3 |
1.15 |
* Sat Jun 20 2009 John H. Bennett III <bennettj@johnbennettservices.com> 4.2.0-7 |
64 |
|
|
- Upgrade to horde templates to reflect changes in Horde 3.3.4 [SME: 5372] |
65 |
|
|
|
66 |
mrjhb3 |
1.13 |
* Thu Dec 24 2008 John H. Bennett III <bennettj@johnbennettservices.com> 4.2.0-6 |
67 |
|
|
- Updated spec file to remove requires and obsoletes of php-pear-HTTP-Request |
68 |
|
|
information moved to e-smith-imp for both sme7 and sme8 [SME: 4821] |
69 |
|
|
|
70 |
mrjhb3 |
1.12 |
* Sun Dec 21 2008 John H. Bennett III <bennettj@johnbennettservices.com> 4.2.0-5 |
71 |
|
|
- Update to Spec file to obsolete smeserver-trean < 0.1-8 [SME: 4860] |
72 |
|
|
|
73 |
|
|
* Sat Dec 20 2008 John H. Bennett III <bennettj@johnbennettservices.com> 4.2.0-4 |
74 |
mrjhb3 |
1.11 |
- Patch to conf.php template to set a blank cookie domain so that FQDN and non-FQDN |
75 |
|
|
- access to webmail will work. Remove klutz template from registry.php [SME: 4787] |
76 |
|
|
|
77 |
mrjhb3 |
1.12 |
* Sat Dec 06 2008 John H. Bennett III <bennettj@johnbennettservices.com> 4.2.0-3 |
78 |
mrjhb3 |
1.11 |
- Upgrade to horde templates to reflect changes in Horde 3.3.2 |
79 |
|
|
|
80 |
mrjhb3 |
1.10 |
* Sat Dec 06 2008 John H. Bennett III <bennettj@johnbennettservices.com> 4.2.0-2 |
81 |
|
|
- Upgrade to horde templates to reflect changes in Horde 3.3 [SME: 4831] |
82 |
|
|
|
83 |
slords |
1.9 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 4.2.0-1.sme |
84 |
|
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
85 |
|
|
|
86 |
slords |
1.6 |
* Tue Jun 24 2008 John H. Bennett III <bennettj@johnbennettservices.com> 3.2-2 |
87 |
bytegw |
1.8 |
- Upgrade patch for Horde 3.2.1 [SME: 4532] |
88 |
slords |
1.4 |
|
89 |
slords |
1.6 |
* Mon Jun 2 2008 John H. Bennett III <bennettj@johnbennettservices.com> 3.2-1 |
90 |
|
|
- Initial production build |
91 |
|
|
- Jump in package name to reflect new version of horde |
92 |
slords |
1.1 |
|
93 |
|
|
%description |
94 |
slords |
1.6 |
This package adds necessary templates and configuration items |
95 |
|
|
so that Horde will work properly on SME Server |
96 |
slords |
1.1 |
|
97 |
|
|
%prep |
98 |
|
|
%setup |
99 |
|
|
|
100 |
mrjhb3 |
1.10 |
%patch1 -p1 |
101 |
mrjhb3 |
1.11 |
%patch2 -p1 |
102 |
|
|
%patch3 -p1 |
103 |
mrjhb3 |
1.15 |
%patch4 -p1 |
104 |
mrjhb3 |
1.17 |
%patch5 -p1 |
105 |
mrjhb3 |
1.19 |
%patch6 -p1 |
106 |
mrjhb3 |
1.20 |
%patch7 -p1 |
107 |
mrjhb3 |
1.10 |
|
108 |
slords |
1.1 |
%build |
109 |
|
|
for i in post-install post-upgrade |
110 |
|
|
do |
111 |
|
|
mkdir -p root/etc/e-smith/events/$i |
112 |
|
|
done |
113 |
|
|
perl createlinks |
114 |
|
|
|
115 |
|
|
%install |
116 |
|
|
rm -rf $RPM_BUILD_ROOT |
117 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
118 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
119 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-filelist |
120 |
|
|
|
121 |
|
|
%clean |
122 |
|
|
rm -rf $RPM_BUILD_ROOT |
123 |
|
|
|
124 |
|
|
%pre |
125 |
|
|
%preun |
126 |
|
|
%post |
127 |
|
|
%postun |
128 |
|
|
|
129 |
|
|
%files -f %{name}-%{version}-filelist |
130 |
|
|
%defattr(-,root,root) |