1 |
# $Id: e-smith-horde.spec,v 1.9 2008/10/07 18:23:44 slords Exp $ |
2 |
|
3 |
Summary: e-smith specific Horde configuration and templates. |
4 |
%define name e-smith-horde |
5 |
Name: %{name} |
6 |
%define version 4.2.0 |
7 |
%define release 2 |
8 |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
10 |
License: GPL |
11 |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.gz |
13 |
Patch1: e-smith-horde_3.3-upgrade.patch |
14 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
15 |
BuildArchitectures: noarch |
16 |
Requires: e-smith-base >= 4.9.44, horde >= 2.0, mysql |
17 |
Requires: e-smith-lib >= 1.15.1-16 |
18 |
Requires: enscript |
19 |
Requires: php-domxml |
20 |
Requires: php-gd |
21 |
Requires: php-mbstring |
22 |
Requires: wv |
23 |
Requires: xlhtml |
24 |
Requires: horde >= 3.2 |
25 |
Requires: php-pear |
26 |
Obsoletes: pear-date |
27 |
Obsoletes: pear-db |
28 |
Obsoletes: pear-file |
29 |
Obsoletes: pear-log |
30 |
Obsoletes: pear-mail |
31 |
Obsoletes: pear-mail_mime |
32 |
Requires: php-pear(Date) |
33 |
Requires: php-pear(File) |
34 |
Requires: php-pear(HTTP) |
35 |
Requires: php-pear(Log) |
36 |
Requires: php-pear(Services_Weather) |
37 |
Requires: php-pecl(Fileinfo) |
38 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
39 |
AutoReqProv: no |
40 |
Obsoletes: dcb-e-smith-horde |
41 |
Obsoletes: smeserver-horde-menuarray |
42 |
|
43 |
%changelog |
44 |
* Sat Dec 06 2008 John H. Bennett III <bennettj@johnbennettservices.com> 4.2.0-2 |
45 |
- Upgrade to horde templates to reflect changes in Horde 3.3 [SME: 4831] |
46 |
|
47 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 4.2.0-1.sme |
48 |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
49 |
|
50 |
* Tue Jun 24 2008 John H. Bennett III <bennettj@johnbennettservices.com> 3.2-2 |
51 |
- Upgrade patch for Horde 3.2.1 [SME: 4532] |
52 |
|
53 |
* Mon Jun 2 2008 John H. Bennett III <bennettj@johnbennettservices.com> 3.2-1 |
54 |
- Initial production build |
55 |
- Jump in package name to reflect new version of horde |
56 |
|
57 |
%description |
58 |
This package adds necessary templates and configuration items |
59 |
so that Horde will work properly on SME Server |
60 |
|
61 |
%prep |
62 |
%setup |
63 |
|
64 |
%patch1 -p1 |
65 |
|
66 |
%build |
67 |
for i in post-install post-upgrade |
68 |
do |
69 |
mkdir -p root/etc/e-smith/events/$i |
70 |
done |
71 |
perl createlinks |
72 |
|
73 |
%install |
74 |
rm -rf $RPM_BUILD_ROOT |
75 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
76 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
77 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
78 |
|
79 |
%clean |
80 |
rm -rf $RPM_BUILD_ROOT |
81 |
|
82 |
%pre |
83 |
%preun |
84 |
%post |
85 |
%postun |
86 |
|
87 |
%files -f %{name}-%{version}-filelist |
88 |
%defattr(-,root,root) |