--- rpms/smeserver-roundcube/contribs8/smeserver-roundcube.spec 2013/10/27 17:48:17 1.1 +++ rpms/smeserver-roundcube/contribs8/smeserver-roundcube.spec 2013/11/05 22:59:42 1.2 @@ -1,6 +1,6 @@ %define name smeserver-roundcube %define version 0.9 -%define release 15 +%define release 16 Summary: smserver rpm to setup roundcube, an IMAP mail client Name: %{name} @@ -12,6 +12,7 @@ Patch1: smeserver-roundcube-0.9-tmp_fold Patch2: smeserver-roundcube-0.9-LdapAdressbooks.patch Patch3: smeserver-roundcube-0.9-calendar-junk-contextmenu.patch Patch4: smeserver-roundcube-0.9-force-https.patch +Patch5: smeserver-roundcube-0.9-patch1.patch License: GNU GPL version 2 URL: http://www.dungog.net/sme Group: SMEserver/addon @@ -27,6 +28,10 @@ AutoReqProv: no smserver rpm to setup the roundcube IMAP mail client. %changelog +* Thu Nov 5 2013 JP Pialasse 0.9-16.sme +- corrected bug [SME: 7981] +- moved out spec file sql init and other event and actions + * Sat Oct 26 2013 stephane de labrusse 0.9.15 - Change the version of roundcubemail-plugins-kolab to 3.02 : http://git.kolab.org/roundcubemail-plugins-kolab/ @@ -85,9 +90,11 @@ smserver rpm to setup the roundcube IMAP %patch2 -p1 %patch3 -p1 %patch4 -p1 +%patch5 -p1 %build -#perl createlinks +perl createlinks +# leaved here for the moment but should be in a patch, sources or createlinks mkdir -p root/etc/e-smith/db/accounts/defaults/roundcube echo "reserved" > root/etc/e-smith/db/accounts/defaults/roundcube/type @@ -113,23 +120,7 @@ rm -rf %{name}-%{version} %preun %post -/etc/e-smith/events/actions/initialize-default-databases -/sbin/e-smith/expand-template /etc/e-smith/sql/init/80roundcube -/etc/rc.d/init.d/mysql.init start -/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf -/sbin/e-smith/expand-template /opt/roundcube/config/db.inc.php -/sbin/e-smith/expand-template /opt/roundcube/config/main.inc.php -/usr/local/bin/svc -h /service/httpd-e-smith -#load the mysql Table of plugins -/usr/bin/mysql roundcube < /opt/roundcube/plugins/carddav/dbinit/mysql.sql -/usr/bin/mysql roundcube < /opt/roundcube/plugins/calendar/drivers/database/sql/mysql.sql -/usr/bin/mysql roundcube < /opt/roundcube/plugins/calendar/drivers/kolab/SQL/mysql.sql - -#show the "config show roundcube" -echo "" -echo "see http://wiki.contribs.org/RoundCube" -echo "current settings 'config show roundcube'..." -/sbin/e-smith/config show roundcube + %postun #uninstall