1 |
# $Id$ |
# $Id: smeserver-mimp.spec,v 1.2 2008/04/02 15:03:57 slords Exp $ |
2 |
# Authority: mrjhb3 |
# Authority: mrjhb3 |
3 |
# Name: John H. Bennett III |
# Name: John H. Bennett III |
4 |
|
|
5 |
Summary: SME Server specific Mimp configuration and templates. |
Summary: SME Server specific Mimp configuration and templates. |
6 |
%define name smeserver-mimp |
%define name smeserver-mimp |
7 |
Name: %{name} |
Name: %{name} |
8 |
%define version 1.0 |
%define version 1.1 |
9 |
%define release 11 |
%define release 1 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
13 |
Group: Networking/Daemons |
Group: Networking/Daemons |
14 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
|
Patch0: smeserver-mimp-1.0-1.templates-custom.patch |
|
|
Patch1: smeserver-mimp-1.0-2.mimp_rc2.patch |
|
|
Patch2: smeserver-mimp-1.0-4.servers.php.patch |
|
|
Patch3: smeserver-mimp-1.0-6.mimp-template.patch |
|
|
Patch4: smeserver-mimp-1.0-7.templates-custom-remove.patch |
|
|
Patch5: smeserver-mimp-1.0-8.mimp_composite_driver.patch |
|
|
Patch6: smeserver-mimp-1.0-9.mime_drivers.php.patch |
|
|
Patch7: smeserver-mimp-1.0-10.remove_mimp_config.patch |
|
|
Patch8: smeserver-mimp-1.0-11.mimp-db_check.patch |
|
15 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
16 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
17 |
Requires: imp-h3 >= 4.1 |
Requires: imp-h3 >= 4.2 |
18 |
Requires: e-smith-base >= 4.15.1 |
Requires: e-smith-base >= 4.15.1 |
19 |
Requires: e-smith-apache >= 1.1.0-18 |
Requires: e-smith-apache >= 1.1.0-18 |
20 |
Requires: e-smith-lib >= 1.15.1-16 |
Requires: e-smith-lib >= 1.15.1-16 |
21 |
Requires: mimp-h3 >= 1.0 |
Requires: mimp-h3 >= 1.1 |
22 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
23 |
AutoReqProv: no |
AutoReqProv: no |
24 |
|
|
25 |
%changelog |
%changelog |
26 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
* Sat Jun 7 2008 John H. Bennett III <bennettj@johnbennettservices.com> 1.1-1 |
27 |
- Clean up spec so package can be built by koji/plague |
- Initial production build |
28 |
|
- Jump in package name to reflect new version of mimp |
29 |
* Thu Oct 12 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-11 |
|
30 |
- Added code to 115AppRegistryMimp that will check whether the status of mimp is |
* Sat May 24 2008 John H. Bennett III <bennettj@johnbennettservices.com> 1.1-02 |
31 |
disabled or enabled. If it is disabled, then the status will be set to inavtive. |
- Updated to include changes in Mimp 2.2 RC3 |
32 |
If it is enabled, then the status will be set to hidden which makes the module |
- Re-rolled tarball |
33 |
active, but hidden on the webmail interface. |
|
34 |
|
* Thu Apr 10 2008 John H. Bennett III <bennettj@johnbennettservices.com> 1.1-01 |
35 |
* Thu Sep 28 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-10 |
- Initial build |
36 |
- Removed the mimp configuration logic from here and moved it to the e-smith-horde |
- Jump in package name to reflect new version of mimp |
|
RPM beginning with horde 3.1.x. |
|
|
|
|
|
* Tue Aug 22 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-9 |
|
|
- Fixed missing characters in mime_drivers.php that prevented composing of a message |
|
|
with mimp. |
|
|
|
|
|
* Tue Aug 22 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-8 |
|
|
- Added code that will use the composite driver if mimp is installed and status set |
|
|
to enabled. Composite driver is needed so horde can login to either imp or mimp. |
|
|
- This is set as a templates-custom fragment. |
|
|
|
|
|
* Thu Jul 20 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-7 |
|
|
- Removed mimp templates-custom fragment and moved it to the templates directory |
|
|
|
|
|
* Wed Jul 19 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-6 |
|
|
- Added 999mimp template to horde/config/conf.php that will check if mimp is configured as a |
|
|
service and enabled. If so, then the composite authentication driver needs to be used, |
|
|
for mimp and imp to coexist. Otherwise imp will be used for authentication. |
|
|
The composite driver information appears below the footer like the example from |
|
|
http://wiki.horde.org/MIMPHowTo?referrer=AuthCompositeHowTo |
|
|
To activate - config set mimp service status enabled|disabled. Disabled by default. |
|
|
signal-event email-update |
|
|
|
|
|
* Tue Jun 22 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-5 |
|
|
- Removed 1.0-3 patch and fixed in source |
|
|
|
|
|
* Sat Jun 10 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-4 |
|
|
- Modified servers.php to match settings in mimp 1.0. Smtp port remarked. |
|
|
May have to do more work here based on smtpproxy being enabled or not. |
|
|
|
|
|
* Sat Jun 10 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-3 |
|
|
- Removed deprecated calls to esmith:db and esmith:config |
|
|
|
|
|
* Sun May 28 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-2 |
|
|
- preps.php template changes to match changes in mimp-1.0-RC2 |
|
|
|
|
|
* Sat Mar 18 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-1 |
|
|
- Added templates-custom fragment for horde/registry.php to make mimp hidden but |
|
|
active until the master templates are re-worked in smeserver-horde or it's |
|
|
decided to make each smeserver horde add-on module include their own specific |
|
|
registry.php templates. |
|
|
|
|
|
* Tue Mar 7 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-0 |
|
|
- Initial build using Mimp 1.0-RC1 |
|
37 |
|
|
38 |
%description |
%description |
39 |
This package adds necessary templates and configuration items |
This package adds necessary templates and configuration items |
40 |
so that Mimp will work properly. |
so that Mimp will work properly on SME Server |
41 |
|
|
42 |
%prep |
%prep |
43 |
%setup |
%setup |
44 |
|
|
|
%patch0 -p1 |
|
|
%patch1 -p1 |
|
|
%patch2 -p1 |
|
|
%patch3 -p1 |
|
|
%patch4 -p1 |
|
|
%patch5 -p1 |
|
|
%patch6 -p1 |
|
|
%patch7 -p1 |
|
|
%patch8 -p1 |
|
|
|
|
45 |
%build |
%build |
|
|
|
46 |
perl createlinks |
perl createlinks |
47 |
|
|
48 |
%install |
%install |
54 |
%clean |
%clean |
55 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
56 |
|
|
|
%pre |
|
|
|
|
|
%preun |
|
|
|
|
|
%post |
|
|
|
|
|
%postun |
|
|
|
|
57 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
58 |
%defattr(-,root,root) |
%defattr(-,root,root) |