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