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