1 |
# $Id: e-smith-imp.spec,v 1.9 2009/06/22 01:44:16 mrjhb3 Exp $ |
2 |
|
3 |
Summary: e-smith specific IMP configuration and templates. |
4 |
%define name e-smith-imp |
5 |
Name: %{name} |
6 |
%define version 5.0.0 |
7 |
%define release 6 |
8 |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
10 |
License: GPL |
11 |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.gz |
13 |
Patch1: e-smith-imp_imp-4.3.patch |
14 |
Patch2: e-smith-imp_imp-4.3.4.patch |
15 |
Patch3: e-smith-imp-4.3.5.patch |
16 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
17 |
BuildArchitectures: noarch |
18 |
Requires: imp-h3 >= 4.3 |
19 |
Requires: e-smith-base >= 4.15.1 |
20 |
Requires: e-smith-apache >= 1.1.0-18 |
21 |
Requires: e-smith-lib >= 1.15.1-16 |
22 |
Requires: e-smith-ingo |
23 |
Requires: php |
24 |
Requires: php-ldap |
25 |
Requires: php-mysql |
26 |
Requires: php-pear-HTTP-Request |
27 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
28 |
AutoReqProv: no |
29 |
Obsoletes: dcb-e-smith-imp |
30 |
Obsoletes: smeserver-imp-menuarray |
31 |
|
32 |
%changelog |
33 |
* Tue Oct 13 2009 John H. Bennett III <bennettj@johnbennettservices.com> 5.0.0-6 |
34 |
- Updated templates to reflect changes in imp 4.3.5 [SME: 5510] |
35 |
|
36 |
* Sat Jun 20 2009 John H. Bennett III <bennettj@johnbennettservices.com> 5.0.0-5 |
37 |
- Updated templates to reflect changes in imp 4.3.4 [SME: 5371] |
38 |
|
39 |
* Sun Dec 28 2008 Gavin Weight <gweight@gmail.com> 5.0.0-4 |
40 |
- Bump version to accept previous requires entry. [SME: 4821] |
41 |
|
42 |
* Sun Dec 21 2008 John H. Bennett III <bennettj@johnbennettservices.com> 5.0.0-3 |
43 |
- Updated spec file to require php-pear-HTTP-Request to accomodate HTML composition [SME: 4821] |
44 |
|
45 |
* Sat Dec 06 2008 John H. Bennett III <bennettj@johnbennettservices.com> 5.0.0-2 |
46 |
- Updated templates to reflect changes in imp 4.3 [SME: 4832] |
47 |
|
48 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 5.0.0-1.sme |
49 |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
50 |
|
51 |
* Mon Jun 23 2008 John H. Bennett III <bennettj@johnbennettservices.com> 4.2-1 |
52 |
- Initial build |
53 |
- Jump in package name to reflect new version of imp |
54 |
|
55 |
%description |
56 |
This package adds necessary templates and configuration items |
57 |
so that IMP will work properly on SME Server |
58 |
|
59 |
%prep |
60 |
%setup |
61 |
|
62 |
%patch1 -p1 |
63 |
%patch2 -p1 |
64 |
%patch3 -p1 |
65 |
|
66 |
%build |
67 |
mkdir -p root/home/httpd/html/horde/imp/SSLonly |
68 |
|
69 |
perl createlinks |
70 |
|
71 |
%install |
72 |
rm -rf $RPM_BUILD_ROOT |
73 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
74 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
75 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
76 |
|
77 |
%clean |
78 |
rm -rf $RPM_BUILD_ROOT |
79 |
|
80 |
%files -f %{name}-%{version}-filelist |
81 |
%defattr(-,root,root) |