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