--- rpms/smeserver-roundcube/contribs10/smeserver-roundcube.spec 2024/02/24 22:44:50 1.17 +++ rpms/smeserver-roundcube/contribs10/smeserver-roundcube.spec 2024/02/25 20:29:15 1.18 @@ -1,6 +1,6 @@ %define name smeserver-roundcube %define version 1.2 -%define release 20 +%define release 21 Summary: smserver rpm to setup roundcube, an IMAP mail client Name: %{name} @@ -37,7 +37,7 @@ Patch6: smeserver-roundcube-1.2-bz12489- smeserver rpm to setup the roundcube IMAP mail client. %changelog -* Sat Feb 24 2024 Jean-Philippe Pialasse 1.2-20.sme +* Sat Feb 24 2024 Jean-Philippe Pialasse 1.2-21.sme - add nextcloud_attachements plugin support [SME: 12489] - simplify access setting using access(private,public)/status [SME: 12263] - Requires roundcube >= 1.6 @@ -205,6 +205,7 @@ smeserver rpm to setup the roundcube IMA 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 +mkdir -p root/var/lib/php/roundcube/{session,tmp,opcache} %build perl createlinks @@ -215,6 +216,11 @@ rm -rf $RPM_BUILD_ROOT rm -f %{name}-%{version}-filelist /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ --file /usr/local/bin/composer 'attr(0755,root,www)' \ + --dir /var/log/php/roundcube 'attr(0755,www,www)' \ + --dir /var/lib/php/roundcube 'attr(0755,www,www)' \ + --dir /var/lib/php/roundcube/tmp 'attr(0755,www,www)' \ + --dir /var/lib/php/roundcube/opcache 'attr(0755,www,www)' \ + --dir /var/lib/php/roundcube/session 'attr(0755,www,www)' \ > %{name}-%{version}-filelist echo "%doc COPYING" >> %{name}-%{version}-filelist