1 |
%define name smeserver-roundcube |
%define name smeserver-roundcube |
2 |
%define version 1.2 |
%define version 1.2 |
3 |
%define release 20 |
%define release 24 |
4 |
|
|
5 |
Summary: smserver rpm to setup roundcube, an IMAP mail client |
Summary: smserver rpm to setup roundcube, an IMAP mail client |
6 |
Name: %{name} |
Name: %{name} |
32 |
Patch4: smeserver-roundcube-1.2-bz11430-plugins.patch |
Patch4: smeserver-roundcube-1.2-bz11430-plugins.patch |
33 |
Patch5: smeserver-roundcube-1.2-Update-params-forv1_6-roundcube.patch |
Patch5: smeserver-roundcube-1.2-Update-params-forv1_6-roundcube.patch |
34 |
Patch6: smeserver-roundcube-1.2-bz12489-bz12263.patch |
Patch6: smeserver-roundcube-1.2-bz12489-bz12263.patch |
35 |
|
Patch7: smeserver-roundcube-1.2-useSSL.patch |
36 |
|
Patch8: smeserver-roundcube-1.2-rcplugin_update.patch |
37 |
|
|
38 |
%description |
%description |
39 |
smeserver rpm to setup the roundcube IMAP mail client. |
smeserver rpm to setup the roundcube IMAP mail client. |
40 |
|
|
41 |
%changelog |
%changelog |
42 |
* Sat Feb 24 2024 Jean-Philippe Pialasse <tests@pialasse.com> 1.2-20.sme |
* Mon Mar 25 2024 Jean-Philippe Pialasse <jpp@koozali.org> 1.2-24.sme |
43 |
|
- fix temp event not ending because of interactive install of plugin [SME: 12530] |
44 |
|
- stop altering php81 ini file [SME: 12529] |
45 |
|
- workaround Composer could not detect the root package [SME: 12531] |
46 |
|
- workaround roundcube/plugin-installer is also a root requirement [SME: 12532] |
47 |
|
|
48 |
|
* Fri Mar 22 2024 Jean-Philippe Pialasse <jpp@koozali.org> 1.2-23.sme |
49 |
|
- fix roundcube unable to send mail after smeserver-qpsmtpd disabling auth on port 25 |
50 |
|
|
51 |
|
* Sat Feb 24 2024 Jean-Philippe Pialasse <tests@pialasse.com> 1.2-21.sme |
52 |
- add nextcloud_attachements plugin support [SME: 12489] |
- add nextcloud_attachements plugin support [SME: 12489] |
53 |
- simplify access setting using access(private,public)/status [SME: 12263] |
- simplify access setting using access(private,public)/status [SME: 12263] |
54 |
- Requires roundcube >= 1.6 |
- Requires roundcube >= 1.6 |
216 |
rm -rf root/etc/e-smith/templates/usr/share/roundcubemail/plugins/sieverules |
rm -rf root/etc/e-smith/templates/usr/share/roundcubemail/plugins/sieverules |
217 |
mkdir -p root/usr/local/bin/ |
mkdir -p root/usr/local/bin/ |
218 |
cp %{SOURCE1} root/usr/local/bin/composer |
cp %{SOURCE1} root/usr/local/bin/composer |
219 |
|
mkdir -p root/var/lib/php/roundcube/{session,tmp,opcache} |
220 |
|
mkdir -p root/var/log/php/roundcube |
221 |
|
%patch7 -p1 |
222 |
|
%patch8 -p1 |
223 |
|
|
224 |
%build |
%build |
225 |
perl createlinks |
perl createlinks |
230 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
231 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
232 |
--file /usr/local/bin/composer 'attr(0755,root,www)' \ |
--file /usr/local/bin/composer 'attr(0755,root,www)' \ |
233 |
|
--dir /var/log/php/roundcube 'attr(0755,www,www)' \ |
234 |
|
--dir /var/lib/php/roundcube 'attr(0755,www,www)' \ |
235 |
|
--dir /var/lib/php/roundcube/tmp 'attr(0755,www,www)' \ |
236 |
|
--dir /var/lib/php/roundcube/opcache 'attr(0755,www,www)' \ |
237 |
|
--dir /var/lib/php/roundcube/session 'attr(0755,www,www)' \ |
238 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
239 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
240 |
|
|