1 |
mrjhb3 |
1.9 |
# $Id: e-smith-horde.spec,v 1.8 2008/10/07 18:23:44 slords 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.9 |
%define release 2 |
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 |
slords |
1.1 |
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 |
slords |
1.6 |
Requires: horde >= 3.2 |
25 |
slords |
1.1 |
Requires: php-pear |
26 |
|
|
Requires: pear-date |
27 |
|
|
Requires: pear-db |
28 |
|
|
Requires: pear-file |
29 |
|
|
Requires: pear-log |
30 |
|
|
Requires: pear-mail |
31 |
|
|
Requires: pear-mail_mime |
32 |
|
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
33 |
|
|
AutoReqProv: no |
34 |
|
|
Obsoletes: dcb-e-smith-horde |
35 |
|
|
Obsoletes: smeserver-horde-menuarray |
36 |
|
|
|
37 |
|
|
%changelog |
38 |
mrjhb3 |
1.9 |
* Sat Dec 06 2008 John H. Bennett III <bennettj@johnbennettservices.com> 4.0.0-2 |
39 |
|
|
- Upgrade to horde templates to reflect changes in Horde 3.3 [SME: 4831] |
40 |
|
|
|
41 |
slords |
1.8 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 4.0.0-1.sme |
42 |
|
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
43 |
|
|
|
44 |
slords |
1.6 |
* Tue Jun 24 2008 John H. Bennett III <bennettj@johnbennettservices.com> 3.2-2 |
45 |
bytegw |
1.7 |
- Upgrade patch for Horde 3.2.1 [SME: 4532] |
46 |
mrjhb3 |
1.4 |
|
47 |
slords |
1.6 |
* Mon Jun 2 2008 John H. Bennett III <bennettj@johnbennettservices.com> 3.2-1 |
48 |
|
|
- Initial production build |
49 |
|
|
- Jump in package name to reflect new version of horde |
50 |
slords |
1.1 |
|
51 |
|
|
%description |
52 |
slords |
1.6 |
This package adds necessary templates and configuration items |
53 |
|
|
so that Horde will work properly on SME Server |
54 |
slords |
1.1 |
|
55 |
|
|
%prep |
56 |
|
|
%setup |
57 |
|
|
|
58 |
mrjhb3 |
1.9 |
%patch1 -p1 |
59 |
|
|
|
60 |
slords |
1.1 |
%build |
61 |
|
|
for i in post-install post-upgrade |
62 |
|
|
do |
63 |
|
|
mkdir -p root/etc/e-smith/events/$i |
64 |
|
|
done |
65 |
|
|
perl createlinks |
66 |
|
|
|
67 |
|
|
%install |
68 |
|
|
rm -rf $RPM_BUILD_ROOT |
69 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
70 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
71 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-filelist |
72 |
|
|
|
73 |
|
|
%clean |
74 |
|
|
rm -rf $RPM_BUILD_ROOT |
75 |
|
|
|
76 |
|
|
%pre |
77 |
|
|
%preun |
78 |
|
|
%post |
79 |
|
|
%postun |
80 |
|
|
|
81 |
|
|
%files -f %{name}-%{version}-filelist |
82 |
|
|
%defattr(-,root,root) |