1 |
# $Id$ |
2 |
# Authority: mrjhb3 |
3 |
# Name: John H. Bennett III |
4 |
|
5 |
Summary: SME Server specific Mimp configuration and templates. |
6 |
%define name smeserver-mimp |
7 |
Name: %{name} |
8 |
%define version 1.0 |
9 |
%define release 11 |
10 |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
12 |
License: GPL |
13 |
Group: Networking/Daemons |
14 |
Source: %{name}-%{version}.tar.gz |
15 |
Patch0: smeserver-mimp-1.0-1.templates-custom.patch |
16 |
Patch1: smeserver-mimp-1.0-2.mimp_rc2.patch |
17 |
Patch2: smeserver-mimp-1.0-4.servers.php.patch |
18 |
Patch3: smeserver-mimp-1.0-6.mimp-template.patch |
19 |
Patch4: smeserver-mimp-1.0-7.templates-custom-remove.patch |
20 |
Patch5: smeserver-mimp-1.0-8.mimp_composite_driver.patch |
21 |
Patch6: smeserver-mimp-1.0-9.mime_drivers.php.patch |
22 |
Patch7: smeserver-mimp-1.0-10.remove_mimp_config.patch |
23 |
Patch8: smeserver-mimp-1.0-11.mimp-db_check.patch |
24 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
25 |
BuildArchitectures: noarch |
26 |
Requires: imp-h3 >= 4.1 |
27 |
Requires: e-smith-base >= 4.15.1 |
28 |
Requires: e-smith-apache >= 1.1.0-18 |
29 |
Requires: e-smith-lib >= 1.15.1-16 |
30 |
Requires: mimp-h3 >= 1.0 |
31 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
32 |
AutoReqProv: no |
33 |
|
34 |
%changelog |
35 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
36 |
- Clean up spec so package can be built by koji/plague |
37 |
|
38 |
* Thu Oct 12 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-11 |
39 |
- Added code to 115AppRegistryMimp that will check whether the status of mimp is |
40 |
disabled or enabled. If it is disabled, then the status will be set to inavtive. |
41 |
If it is enabled, then the status will be set to hidden which makes the module |
42 |
active, but hidden on the webmail interface. |
43 |
|
44 |
* Thu Sep 28 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-10 |
45 |
- Removed the mimp configuration logic from here and moved it to the e-smith-horde |
46 |
RPM beginning with horde 3.1.x. |
47 |
|
48 |
* Tue Aug 22 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-9 |
49 |
- Fixed missing characters in mime_drivers.php that prevented composing of a message |
50 |
with mimp. |
51 |
|
52 |
* Tue Aug 22 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-8 |
53 |
- Added code that will use the composite driver if mimp is installed and status set |
54 |
to enabled. Composite driver is needed so horde can login to either imp or mimp. |
55 |
- This is set as a templates-custom fragment. |
56 |
|
57 |
* Thu Jul 20 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-7 |
58 |
- Removed mimp templates-custom fragment and moved it to the templates directory |
59 |
|
60 |
* Wed Jul 19 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-6 |
61 |
- Added 999mimp template to horde/config/conf.php that will check if mimp is configured as a |
62 |
service and enabled. If so, then the composite authentication driver needs to be used, |
63 |
for mimp and imp to coexist. Otherwise imp will be used for authentication. |
64 |
The composite driver information appears below the footer like the example from |
65 |
http://wiki.horde.org/MIMPHowTo?referrer=AuthCompositeHowTo |
66 |
To activate - config set mimp service status enabled|disabled. Disabled by default. |
67 |
signal-event email-update |
68 |
|
69 |
* Tue Jun 22 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-5 |
70 |
- Removed 1.0-3 patch and fixed in source |
71 |
|
72 |
* Sat Jun 10 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-4 |
73 |
- Modified servers.php to match settings in mimp 1.0. Smtp port remarked. |
74 |
May have to do more work here based on smtpproxy being enabled or not. |
75 |
|
76 |
* Sat Jun 10 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-3 |
77 |
- Removed deprecated calls to esmith:db and esmith:config |
78 |
|
79 |
* Sun May 28 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-2 |
80 |
- preps.php template changes to match changes in mimp-1.0-RC2 |
81 |
|
82 |
* Sat Mar 18 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-1 |
83 |
- Added templates-custom fragment for horde/registry.php to make mimp hidden but |
84 |
active until the master templates are re-worked in smeserver-horde or it's |
85 |
decided to make each smeserver horde add-on module include their own specific |
86 |
registry.php templates. |
87 |
|
88 |
* Tue Mar 7 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-0 |
89 |
- Initial build using Mimp 1.0-RC1 |
90 |
|
91 |
%description |
92 |
This package adds necessary templates and configuration items |
93 |
so that Mimp will work properly. |
94 |
|
95 |
%prep |
96 |
%setup |
97 |
|
98 |
%patch0 -p1 |
99 |
%patch1 -p1 |
100 |
%patch2 -p1 |
101 |
%patch3 -p1 |
102 |
%patch4 -p1 |
103 |
%patch5 -p1 |
104 |
%patch6 -p1 |
105 |
%patch7 -p1 |
106 |
%patch8 -p1 |
107 |
|
108 |
%build |
109 |
|
110 |
perl createlinks |
111 |
|
112 |
%install |
113 |
rm -rf $RPM_BUILD_ROOT |
114 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
115 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
116 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
117 |
|
118 |
%clean |
119 |
rm -rf $RPM_BUILD_ROOT |
120 |
|
121 |
%pre |
122 |
|
123 |
%preun |
124 |
|
125 |
%post |
126 |
|
127 |
%postun |
128 |
|
129 |
%files -f %{name}-%{version}-filelist |
130 |
%defattr(-,root,root) |