1 |
# $Id: e-smith-imp.spec,v 1.11 2010/02/13 09:52:34 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.2.0 |
7 |
%define release 8 |
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 |
Patch4: e-smith-imp-4.3.6.patch |
17 |
Patch5: e-smith-imp_mime_drivers.php.patch |
18 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
19 |
BuildArchitectures: noarch |
20 |
Requires: imp-h3 >= 4.3 |
21 |
Requires: e-smith-base >= 4.15.1 |
22 |
Requires: e-smith-apache >= 1.1.0-18 |
23 |
Requires: e-smith-lib >= 1.15.1-16 |
24 |
Requires: e-smith-ingo |
25 |
Requires: php |
26 |
Requires: php-ldap |
27 |
Requires: php-mysql |
28 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
29 |
AutoReqProv: no |
30 |
Obsoletes: dcb-e-smith-imp |
31 |
Obsoletes: smeserver-imp-menuarray |
32 |
Requires: php-pear(HTTP_Request) |
33 |
|
34 |
%changelog |
35 |
* Sun Feb 14 2010 John H. Bennett III <bennettj@johnbennettservices.com> 5.2.0-8 |
36 |
- Patch to template imp's mime_drivers.php file so some settings can be customized [SME: 5224] |
37 |
- config setprop horde Limitinlinesize <--default is 1048576 |
38 |
- config setprop horde inlineHTML true|false <--default is true |
39 |
- config setprop horde inlineImages true|false <--default is true |
40 |
|
41 |
|
42 |
* Sat Feb 13 2010 John H. Bennett III <bennettj@johnbennettservices.com> 5.2.0-7 |
43 |
- Updated templates to reflect changes in imp 4.3.6 [SME: 5776] |
44 |
|
45 |
* Tue Oct 13 2009 John H. Bennett III <bennettj@johnbennettservices.com> 5.2.0-6 |
46 |
- Updated templates to reflect changes in imp 4.3.5 [SME: 5510] |
47 |
|
48 |
* Sat Jun 20 2009 John H. Bennett III <bennettj@johnbennettservices.com> 5.2.0-5 |
49 |
- Updated templates to reflect changes in imp 4.3.4 [SME: 5371] |
50 |
|
51 |
* Wed Jan 07 2009 Gavin Weight <gweight@gmail.com> 5.2.0-4 |
52 |
- Updated spec file to require php-pear(HTTP_Request) and remove obsolete |
53 |
php-pear-HTTP-Request line. [SME: 4928] |
54 |
|
55 |
* Wed Dec 24 2008 John H. Bennett III <bennettj@johnbennettservices.com> 5.2.0-3 |
56 |
- Updated spec file to require php-pear-HTTP-Request to accomodate HTML composition [SME: 4821] |
57 |
|
58 |
* Sat Dec 06 2008 John H. Bennett III <bennettj@johnbennettservices.com> 5.2.0-2 |
59 |
- Updated templates to reflect changes in imp 4.3 [SME: 4832] |
60 |
|
61 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 5.2.0-1.sme |
62 |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
63 |
|
64 |
* Mon Jun 23 2008 John H. Bennett III <bennettj@johnbennettservices.com> 4.2-1 |
65 |
- Initial build |
66 |
- Jump in package name to reflect new version of imp |
67 |
|
68 |
%description |
69 |
This package adds necessary templates and configuration items |
70 |
so that IMP will work properly on SME Server |
71 |
|
72 |
%prep |
73 |
%setup |
74 |
|
75 |
%patch1 -p1 |
76 |
%patch2 -p1 |
77 |
%patch3 -p1 |
78 |
%patch4 -p1 |
79 |
%patch5 -p1 |
80 |
|
81 |
%build |
82 |
mkdir -p root/home/httpd/html/horde/imp/SSLonly |
83 |
|
84 |
perl createlinks |
85 |
|
86 |
%install |
87 |
rm -rf $RPM_BUILD_ROOT |
88 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
89 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
90 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
91 |
|
92 |
%clean |
93 |
rm -rf $RPM_BUILD_ROOT |
94 |
|
95 |
%files -f %{name}-%{version}-filelist |
96 |
%defattr(-,root,root) |