--- rpms/smeserver-roundcube/contribs10/smeserver-roundcube.spec 2021/04/01 15:32:03 1.1 +++ rpms/smeserver-roundcube/contribs10/smeserver-roundcube.spec 2022/12/10 07:47:10 1.13 @@ -1,12 +1,13 @@ %define name smeserver-roundcube %define version 1.2 -%define release 9 +%define release 17 Summary: smserver rpm to setup roundcube, an IMAP mail client Name: %{name} Version: %{version} Release: %{release}%{?dist} Source: %{name}-%{version}.tar.gz +Source1: composer.phar License: GNU GPL version 2 URL: http://www.contribs.org Group: SMEserver/addon @@ -14,19 +15,46 @@ BuildRoot: %{_tmppath}/%{name}-buildroot Prefix: %{_prefix} BuildArchitectures: noarch BuildRequires: e-smith-devtools -Requires: e-smith-release >= 9.0 -Requires: roundcubemail >= 1.1.3 +Requires: e-smith-release >= 10.0 +Requires: e-smith-apache >= 2.6.0-19 +Requires: roundcubemail >= 1.5.3 Requires: git Requires: smeserver-dovecot-extras -Requires: roundcubemail_plugins +Requires: jq +Requires: php-kolab-net-ldap3 +#Requires: roundcubemail_plugins Obsoletes: roundcube AutoReqProv: no Patch0: smeserver-roundcube-1.2.RemoveCalendar_Tasklist.patch +Patch1: smeserver-roundcube-1.2-Add-update-event-in-createlinks-and-fix-smtp-port-in-config.patch +Patch2: smeserver-roundcube-1.2-bz12059-24syntax.patch +Patch3: smeserver-roundcube-1.2-bz11430-login.patch +Patch4: smeserver-roundcube-1.2-bz11430-plugins.patch %description smserver rpm to setup the roundcube IMAP mail client. %changelog +* Sat Dec 10 2022 Jean-Philippe Pialasse 1.2-17.sme +- remove sieverules [SME: 11430] + change skin on availability for 1.6 + +* Wed Dec 07 2022 Jean-Philippe Pialasse 1.2-14.sme +- fix list of plugins and add composer [SME: 11430] + do not load in conf plugins without an actual folder. + +* Mon Aug 01 2022 Jean-Philippe Pialasse 1.2-12.sme +- update to httpd 2.4 access syntax [SME: 12059] + thanks to Vasarhelyi Zsolt +- accept self signed certificates for imap and smtp [SME: 11430] +- Use of undefined constant, quote around module names [SME: 11430] + +* Mon Apr 05 2021 Brian Read 1.2-11.sme +- Update spec file to take out plugin rpm [SME: 11430 ] + +* Sun Apr 04 2021 Brian Read 1.2-10.sme +- Add-update-event-in-createlinks-and-fix-smtp-port-in-config [SME: 11430] + * Thu Mar 17 2016 stephane de Labrusse 1.2-9.sme - Bump the version to force the composer update @@ -76,7 +104,8 @@ smserver rpm to setup the roundcube IMAP * Sat May 10 2014 stephane de labrusse 1.1-1 - removed openbasedir and uploadtmpdir for roundcube compatibility -* Wed Apr 14 2014 stephane de labrusse 1.0-7 +* Mon Apr 14 2014 stephane de labrusse 1.0-7 + Wed Apr 14 2014 --> Wed Apr 09 2014 or Mon Apr 14 2014 or Wed Apr 16 2014 or .... - removed the copymessage plugin activated * Wed Apr 02 2014 stephane de labrusse 1.0-6 @@ -92,7 +121,8 @@ smserver rpm to setup the roundcube IMAP * Wed Nov 6 2013 JP Pialasse 0.9-17.sme - corrected bug: typo in patch1 [SME: 7981] -* Thu Nov 5 2013 JP Pialasse 0.9-16.sme +* Tue Nov 05 2013 JP Pialasse 0.9-16.sme + Thu Nov 05 2013 --> Thu Oct 31 2013 or Tue Nov 05 2013 or Thu Nov 07 2013 or .... - corrected bug [SME: 7981] - moved out spec file sql init and other event and actions @@ -102,7 +132,8 @@ smserver rpm to setup the roundcube IMAP * Sun Oct 20 2013 stephane de labrusse 0.9.14 - Change the original https_only -* Sat Oct 13 2013 stephane de labrusse 0.9.13 +* Sun Oct 13 2013 stephane de labrusse 0.9.13 + Sat Oct 13 2013 --> Sat Oct 12 2013 or Sun Oct 13 2013 or Sat Oct 19 2013 or .... - Add the Kolab calendar plugin : http://git.kolab.org/roundcubemail-plugins-kolab/tree/plugins/calendar - Add the context menu for right click, very useful : http://www.tehinterweb.co.uk/roundcube/#picontextmenu - Add the "Mark as Junk 2" to kick spam to junkmail : http://www.tehinterweb.co.uk/roundcube/#pimarkasjunk2 @@ -150,7 +181,13 @@ smserver rpm to setup the roundcube IMAP %prep %setup %patch0 -p1 - +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 +rm -rf root/etc/e-smith/templates/usr/share/roundcubemail/plugins/sieverules +mkdir -p root/usr/local/bin/ +cp %{SOURCE1} root/usr/local/bin/composer %build perl createlinks @@ -159,7 +196,9 @@ perl createlinks rm -rf $RPM_BUILD_ROOT (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) rm -f %{name}-%{version}-filelist -/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist +/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ + --file /usr/local/bin/composer 'attr(0755,root,www)' \ + > %{name}-%{version}-filelist echo "%doc COPYING" >> %{name}-%{version}-filelist %clean