# $Id$ # Authority: mrjhb3 # Name: John H. Bennett III Summary: SME Server specific Mimp configuration and templates. %define name smeserver-mimp Name: %{name} %define version 1.0 %define release 11 Version: %{version} Release: %{release}%{?dist} License: GPL Group: Networking/Daemons 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 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch Requires: imp-h3 >= 4.1 Requires: e-smith-base >= 4.15.1 Requires: e-smith-apache >= 1.1.0-18 Requires: e-smith-lib >= 1.15.1-16 Requires: mimp-h3 >= 1.0 BuildRequires: e-smith-devtools >= 1.13.1-03 AutoReqProv: no %changelog * Sun Apr 29 2007 Shad L. Lords - Clean up spec so package can be built by koji/plague * Thu Oct 12 2006 John H. Bennett III 1.0-11 - Added code to 115AppRegistryMimp that will check whether the status of mimp is disabled or enabled. If it is disabled, then the status will be set to inavtive. If it is enabled, then the status will be set to hidden which makes the module active, but hidden on the webmail interface. * Thu Sep 28 2006 John H. Bennett III 1.0-10 - Removed the mimp configuration logic from here and moved it to the e-smith-horde RPM beginning with horde 3.1.x. * Tue Aug 22 2006 John H. Bennett III 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 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 1.0-7 - Removed mimp templates-custom fragment and moved it to the templates directory * Wed Jul 19 2006 John H. Bennett III 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 1.0-5 - Removed 1.0-3 patch and fixed in source * Sat Jun 10 2006 John H. Bennett III 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 1.0-3 - Removed deprecated calls to esmith:db and esmith:config * Sun May 28 2006 John H. Bennett III 1.0-2 - preps.php template changes to match changes in mimp-1.0-RC2 * Sat Mar 18 2006 John H. Bennett III 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 1.0-0 - Initial build using Mimp 1.0-RC1 %description This package adds necessary templates and configuration items so that Mimp will work properly. %prep %setup %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p1 %patch8 -p1 %build perl createlinks %install rm -rf $RPM_BUILD_ROOT (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist echo "%doc COPYING" >> %{name}-%{version}-filelist %clean rm -rf $RPM_BUILD_ROOT %pre %preun %post %postun %files -f %{name}-%{version}-filelist %defattr(-,root,root)