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